On 2014/12/12 10:48, Sebastian Benoit wrote: > Stuart Henderson([email protected]) on 2014.12.11 23:52:44 +0000: > > I'm wondering what reception this will get. It feeds TCP/UDP port > > numbers into the hash for trunk(4) load balancing, so connections > > between a single pair of hosts will get distributed across NICs. > > Taken from FreeBSD r232629, they also added SIOC[CS]LAGGHASH ioctls > > so that the hash type can be configured in ifconfig (l2/l3/l4), > > I haven't done that but could if there's no general objection to > > this. > > i like this, and i think it might be good to have it optional in case it > causes problems with other equipment.
Revisiting this I'm wondering about the best way to make it optional. We're not using IFF_LINK0 in trunk, would it be reasonable to use that for this purpose, or would people foresee wanting more than just a choice of L3/L4?
