[dpdk-users] VLAN tags always stripped on i40evf [VMware SR-IOV]

Iain Barker iain.barker at oracle.com
Fri Oct 27 15:05:35 CEST 2017


Original message from Iain Barker:
>
> --- drivers/net/i40e/i40e_rxtx.c.orig      2016-11-30 04:28:48.000000000 -0500
> +++ drivers/net/i40e/i40e_rxtx.c   2017-10-10 15:07:10.851398087 -0400
> @@ -93,6 +93,8 @@
>                         rte_le_to_cpu_16(rxdp->wb.qword0.lo_dword.l2tag1);
>                 PMD_RX_LOG(DEBUG, "Descriptor l2tag1: %u",
>                            rte_le_to_cpu_16(rxdp->wb.qword0.lo_dword.l2tag1));
> +               // vlan got stripped. Re-inject vlan from tci
> +               rte_vlan_insert(&mb);
>         } else {
>                 mb->vlan_tci = 0;
>         }
> 

From: Xing, Beilei [mailto:beilei.xing at intel.com] :
>
>NACK this patch as it will impact performance.
>
>VLAN strip is supported by latest i40e kernel driver, it works well in kernel PF +
>DPDK VF mode with i40e kernel driver 2.1.26 and DPDK 17.08. Please refer to
>Latest kernel driver.
>
>Beilei


Thanks Beilei.

I wasn't proposing to submit the patch.  I was just using it as a demonstration of the problem.
i.e. that the TCI has the required data, but it was stripped before the frame arrives at the app.

This is not Linux kernel as the host for PF, it is VMware ESXi.  
The latest Intel PF driver I see for i40e is version 2.0.6.   Will that work?


More information about the users mailing list