Re: [dpdk-dev] [PATCH v2] net/i40e: solve vf vlan strip

2021-08-30 Thread Qiming Chen
, August 30, 2021 10:10 AM To: dev@dpdk.org Cc: Xing, Beilei ; Qiming Chen Subject: [dpdk-dev] [PATCH v2] net/i40e: solve vf vlan strip Kernel PF+DPDK VF mode, after vf adds vlan, the test result shows that the vlan received from vf has been stripped. The patch solves the problem that the kernel

Re: [dpdk-dev] [PATCH v2] net/i40e: solve vf vlan strip

2021-08-29 Thread Xing, Beilei
> -Original Message- > From: dev On Behalf Of Qiming Chen > Sent: Monday, August 30, 2021 10:10 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Qiming Chen > > Subject: [dpdk-dev] [PATCH v2] net/i40e: solve vf vlan strip > > Kernel PF+DPDK VF mode, after vf

[dpdk-dev] [PATCH v2] net/i40e: solve vf vlan strip

2021-08-29 Thread Qiming Chen
Kernel PF+DPDK VF mode, after vf adds vlan, the test result shows that the vlan received from vf has been stripped. The patch solves the problem that the kernel i40e.ko driver strips the vlan by default after vf adds vlan. Determine whether to strip vlan through the DEV_RX_OFFLOAD_VLAN_STRIP mask