numam-dpdk/lib/librte_pmd_bond
Declan Doherty 7b00a204bb bond: fix vlan flag interpretation
This patch contains a fix for link bonding handling of vlan tagged packets in mode 3 and 5.
Currently xmit_slave_hash function misinterprets the PKT_RX_VLAN_PKT flag to mean that
there is a vlan tag within the packet when in actually means that there is a valid entry
in the vlan_tci field in the mbuf.

- Fixed VLAN tag support in hashing functions.
- Adds support for TCP in layer 4 header hashing.
- Splits transmit hashing function into separate functions for each policy to
  reduce branching and to make the code clearer.
- Fixed incorrect flag set in test application packet generator.

Test report: http://dpdk.org/ml/archives/dev/2015-January/010792.html

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Tested-by: SunX Jiajia <sunx.jiajia@intel.com>
2015-01-15 13:41:39 +01:00
..
Makefile bond: add mode 4 2014-11-27 21:20:58 +01:00
rte_eth_bond_8023ad_private.h bond: add mode 4 2014-11-27 21:20:58 +01:00
rte_eth_bond_8023ad.c bond: add mode 4 2014-11-27 21:20:58 +01:00
rte_eth_bond_8023ad.h bond: add mode 4 2014-11-27 21:20:58 +01:00
rte_eth_bond_api.c bond: fix vlan flag interpretation 2015-01-15 13:41:39 +01:00
rte_eth_bond_args.c cmdline: fix overflow on bsd 2014-12-05 16:54:53 +01:00
rte_eth_bond_pmd.c bond: fix vlan flag interpretation 2015-01-15 13:41:39 +01:00
rte_eth_bond_private.h bond: fix vlan flag interpretation 2015-01-15 13:41:39 +01:00
rte_eth_bond.h bond: add mode 5 2014-11-27 21:38:57 +01:00