From: Stephen Hemminger <stephen@networkplumber.org>
To: Ivan Malov <ivan.malov@arknetworks.am>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [PATCH 1/1] net: fix L2 ptype for VLAN-tagged packets
Date: Mon, 14 Sep 2026 10:00:08 -0700 [thread overview]
Message-ID: <20260914100008.3e36f56a@phoenix.local> (raw)
In-Reply-To: <20260913233655.21866-1-ivan.malov@arknetworks.am>
On Mon, 14 Sep 2026 03:36:55 +0400
Ivan Malov <ivan.malov@arknetworks.am> wrote:
> When a tag is discovered, the code does not remove 'RTE_PTYPE_L2_ETHER'
> set on function entry. For single-tagged packets, 'RTE_PTYPE_L2_ETHER'
> and 'RTE_PTYPE_L2_ETHER_VLAN' give 'RTE_PTYPE_L2_ETHER_QINQ' when
> OR-ed together. Clear previously set L2 type when handling VLANs.
>
> Also, since 'RTE_PTYPE_L2_ETHER_VLAN' requires that the EtherType field
> in the Ethernet header be set to 0x8100 and 'RTE_PTYPE_L2_ETHER_QINQ'
> requires that it be set to 0x88a8, it is the outermost (first) tag
> that determines what the software L2 ptype should be. Clarify that.
>
> Fixes: 1f250674085a ("net: fix packet type for stacked VLAN")
> Cc: stable@dpdk.org
>
> Signed-off-by: Ivan Malov <ivan.malov@arknetworks.am>
> ---
Applied to next-net
prev parent reply other threads:[~2026-09-14 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 23:36 [PATCH 1/1] net: fix L2 ptype for VLAN-tagged packets Ivan Malov
2026-09-14 17:00 ` Stephen Hemminger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260914100008.3e36f56a@phoenix.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=ivan.malov@arknetworks.am \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.