Re: [PATCH iproute2 v2] bond: support xmit_hash_policy=vlan+srcmac

2021-01-23 Thread David Ahern
On 1/15/21 12:21 PM, Jarod Wilson wrote: > There's a new transmit hash policy being added to the bonding driver that > is a simple XOR of vlan ID and source MAC, xmit_hash_policy vlan+srcmac. > This trivial patch makes it configurable and queryable via iproute2. > > $ sudo modprobe bonding mode=2

[PATCH iproute2 v2] bond: support xmit_hash_policy=vlan+srcmac

2021-01-15 Thread Jarod Wilson
There's a new transmit hash policy being added to the bonding driver that is a simple XOR of vlan ID and source MAC, xmit_hash_policy vlan+srcmac. This trivial patch makes it configurable and queryable via iproute2. $ sudo modprobe bonding mode=2 max_bonds=1 xmit_hash_policy=0 $ sudo ip link set