Date: Thu, 16 Jan 2014 14:08:44 -0800 From: Adrian Chadd <adrian@freebsd.org> To: "Alexander V. Chernikov" <melifaro@freebsd.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: ECMP hash keys? Message-ID: <CAJ-Vmom7ui1_vKZnp3PLfmEdF62Eheph2Nj2t38_mUA%2B2WMEZA@mail.gmail.com> In-Reply-To: <52D84DB0.4050607@FreeBSD.org> References: <52D5138B.8050100@fsn.hu> <CA%2BP_MZFQU4%2B05Pk5cZ4NMZujD9vXDrV=mehN7_vz1OZ6r2-f1Q@mail.gmail.com> <52D6525D.50102@FreeBSD.org> <CAJ-VmomP-JaVopS0aneeV82OFtM1Pvb=qKn__mn=ooDXOdgmQw@mail.gmail.com> <52D84DB0.4050607@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
The reason you need to make sure that you end up with hashes for both src,dst and dst,src being equivalent is to ensure that when you create an outbound socket, you know up front which path the receive path is going to come back on. Right now we don't mark new connections - inbound or outbound - with a flowid until we've received some data on it. It's also going to be eventually useful for the pcbgroup stuff, as vijay has said. -a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmom7ui1_vKZnp3PLfmEdF62Eheph2Nj2t38_mUA%2B2WMEZA>