[PATCH v4] net/iavf: add support for QinQ strip

Bruce Richardson bruce.richardson at intel.com
Tue Apr 21 17:25:21 CEST 2026


On Thu, Apr 09, 2026 at 10:19:51AM +0000, Anurag Mandal wrote:
> QinQ strip with VLAN TPID 0x88a8 & 0x8100 support was absent.
> 
> This patch adds support for QinQ strip with both Outer VLAN
> TPIDs 0x88a8 (802.1ad) & 0x8100 (802.1Q).
> VLAN Extend should be enabled for the same and Outer VLAN
> TPID should be set properly.
> 
> 1. Tested QinQ stripping with TPIDs 0x88a8 as well as 0x8100.
> 2. Tested Double VLAN stripping i.e. QinQ (802.1ad/802.1Q) &
>    VLAN (802.1Q) stripping simultaneously.
> 3. Tested Single VLAN (802.1Q) stripping.
> 
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
> ---
> V4: Addressed ai-code-review suggestions
> V3: Rebased onto next-net-intel-for-next-net
> V2: Addressed Coding Style Warnings
> 
>  doc/guides/nics/intel_vf.rst         | 31 ++++++++++++++
>  drivers/net/intel/iavf/iavf.h        |  2 +
>  drivers/net/intel/iavf/iavf_ethdev.c | 50 +++++++++++++++++++++++
>  drivers/net/intel/iavf/iavf_vchnl.c  | 61 ++++++++++++++++++++++++++--
>  4 files changed, 141 insertions(+), 3 deletions(-)
>

Recheck-request: rebase=next-net-intel, github-robot


More information about the dev mailing list