> -----Original Message----- > From: Feifei Wang <feifei.wa...@arm.com> > Sent: Wednesday, November 18, 2020 18:49 > To: Jerin Jacob <jer...@marvell.com>; Ruifeng Wang <ruifeng.w...@arm.com>; > Guo, Jia > <jia....@intel.com>; Wang, Haiyue <haiyue.w...@intel.com> > Cc: dev@dpdk.org; n...@arm.com; Feifei Wang <feifei.wa...@arm.com> > Subject: [PATCH v2 1/4] net/ixgbe: add new flag of stripped VLAN for NEON > vector > > For NEON vector of IXGBE PMD, introduce new flag PKT_RX_VLAN_STRIPPED to > show the case that the VLAN is stripped from the VLAN tagged packet. > > This is because that the old flag PKT_RX_VLAN_PKT only indicates that the > packet is VLAN tagged, but cannot show whether VLAN is in m->vlan_tci or > in the packet at present. So add new flag to show the vlan has been > stripped by the hardware and its tci is saved in m->vlan_tci when vlan > stripping is enabled in the RX configuration of the IXGBE PMD. > > Signed-off-by: Feifei Wang <feifei.wa...@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > --- > drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 36 ++++++++++++++++--------- > 1 file changed, 23 insertions(+), 13 deletions(-) >
Acked-by: Haiyue Wang <haiyue.w...@intel.com> > -- > 2.17.1