From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] bond: vlan flags misinterpreted in xmit_slave_hash function Date: Thu, 15 Jan 2015 14:40:12 +0100 Message-ID: <1777245.1puKfUUkev@xps13> References: <1418728549-31244-1-git-send-email-declan.doherty@intel.com> <1418733910-18253-1-git-send-email-declan.doherty@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Declan Doherty Return-path: In-Reply-To: <1418733910-18253-1-git-send-email-declan.doherty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > 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 Acked-by: Pawel Wodkowski Tested-by: SunX Jiajia Applied Thanks -- Thomas