bonding: user configurable hashing policy
NOTE: THIS IS A TEST MR, NOT A REAL ONE, PLEASE IGNORE IT
Bugzilla: http://bugzilla.redhat.com/1724795
As it turns out, a pure source-mac only tx hash has a place for some VM setups. The previously added vlan+srcmac hash doesn't work as well for a VM with a single MAC and multiple vlans -- these types of setups path traffic more efficiently if the load is split by source mac alone.
Rather than adding yet another specific tx hashing function, add a flow dissector based hashing function that takes a bitmask of components to include in the hash, including srcmac, dstmac, vlan_id, protocol, etc.
Signed-off-by: Jarod Wilson jarod@redhat.com
Signed-off-by: Jonathan Toppins jtoppins@redhat.com
Edited by Jarod Wilson