[dpdk-dev] [PATCH v2] bond: vlan flags misinterpreted in xmit_slave_hash function

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jan 15 14:40:12 CET 2015


> 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.
> 
> -v2:
> doxygen comments for rte_ip.h
> 
> - 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.
> 
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>
Acked-by: Pawel Wodkowski <pawelx.wodkowski at intel.com>
Tested-by: SunX Jiajia <sunx.jiajia at intel.com>

Applied

Thanks
-- 
Thomas


More information about the dev mailing list