> -----Original Message----- > From: Feifei Wang <[email protected]> > Sent: Wednesday, November 18, 2020 18:49 > To: Jerin Jacob <[email protected]>; Ruifeng Wang <[email protected]>; > Guo, Jia > <[email protected]>; Wang, Haiyue <[email protected]> > Cc: [email protected]; [email protected]; Feifei Wang <[email protected]> > 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 <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> > --- > drivers/net/ixgbe/ixgbe_rxtx_vec_neon.c | 36 ++++++++++++++++--------- > 1 file changed, 23 insertions(+), 13 deletions(-) >
Acked-by: Haiyue Wang <[email protected]> > -- > 2.17.1

