diff options
author | Jianhua Xie <[email protected]> | 2014-07-17 14:16:25 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-17 16:03:27 -0700 |
commit | ce04d63502ca7ec30ef07336a0fd6f1165fd486b (patch) | |
tree | e8c2535833ba5467c2b2a872323d6e33f81f0e56 /tools/perf/scripts/python/netdev-times.py | |
parent | c2659479f7865fb538493089bce3dd3d2abf90b0 (diff) |
bonding: enhance L2 hash helper with packet type
Current L2 hash helper calculates destination eth addr and
source ether addr as L2 hash factors. This patch is adding
packet type ID field into L2 hash factors. While one of
BOND_XMIT_POLICY_LAYER2 or BOND_XMIT_POLICY_{LAYER|ENCAP}23
is applied, for the 2nd level hash, enhanced hash method can
help to distribute different types of packets like IPv4/IPv6
packets to different slave devices.
CC: Jay Vosburgh <[email protected]>
CC: Veaceslav Falico <[email protected]>
CC: Andy Gospodarek <[email protected]>
CC: David S. Miller <[email protected]>
CC: Pan Jiafei <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: Jianhua Xie <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions