From: Stephen Hemminger <stephen@networkplumber.org>
To: "Dimon" <dimon.zhao@nebula-matrix.com>
Cc: "dev" <dev@dpdk.org>, "Kyo Liu" <kyo.liu@nebula-matrix.com>,
"Leon" <leon.yu@nebula-matrix.com>,
"Sam" <sam.chen@nebula-matrix.com>,
techboard@dpdk.org
Subject: Re: 回复:回复:[PATCH v1 1/1] net/nbl: add VLAN offload set interface
Date: Wed, 26 Nov 2025 14:16:25 -0800 [thread overview]
Message-ID: <20251126141625.55be6cea@phoenix.local> (raw)
In-Reply-To: <2f658961-3fc4-48c9-9d46-99de9fabe9a7.dimon.zhao@nebula-matrix.com>
On Wed, 26 Nov 2025 09:52:19 +0800
"Dimon" <dimon.zhao@nebula-matrix.com> wrote:
> Hi Stephen,
> Thank you for your feedback.
> We understand your technical concern regarding the VLAN offload implementation.
> Our implementation choice is driven by practical customer requirements.
> In real-world deployment scenarios, there is a strong expectation that basic VLAN offload capabilities are available and functional by default.
> Numerous customer applications, automation scripts, and network configurations rely on these standard VLAN operations "just working,"
> irrespective of whether the underlying mechanism is hardware-accelerated or software-based.
> Our current approach ensures that:
> Compatibility is maintained: Existing deployment tools and scripts function without any required modifications.
> Customer expectations are met: The fundamental VLAN functionality is present and operational.
> The alternative—returning -ENOTSUP—would indeed break a significant number of existing customer deployments that
> operate under the reasonable assumption that basic VLAN features are available.
> Thank you.
> ------------------------------------------------------------------
Never mind, I got confused.
The NBL device does report VLAN_STRIP in rx_offload_capa but since
it is doing it purely in software didn't notice that.
The other drivers doing VLAN all in software is virtio and dpaa2.
Your right the mask doesn't matter since the driver is directly looking
at rxmode.offloads to determine what to do.
Since you are running on ARM could see wrong value because the rxmode.offloads
is being updated in one thread and receive logic is running in another thread.
Looks like atomic operations might be necessary here (and virtio and dpaa2)
to be safe.
I will go ahead and recheck this and merge to next-net.
next prev parent reply other threads:[~2025-11-26 22:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 7:34 [PATCH v1 0/4] NBL add new features Dimon Zhao
2025-11-07 7:34 ` [PATCH v1 1/4] net/nbl: change default Rx extension header size to 12 bytes Dimon Zhao
2025-11-11 14:32 ` Stephen Hemminger
2025-11-07 7:34 ` [PATCH v1 2/4] net/nbl: add support for Tx and Rx VLAN offload Dimon Zhao
2025-11-07 16:10 ` Stephen Hemminger
2025-11-10 8:17 ` 回复:[PATCH " Dimon
2025-11-07 7:34 ` [PATCH v1 3/4] net/nbl: add support for imissed stats Dimon Zhao
2025-11-07 16:05 ` Stephen Hemminger
2025-11-07 7:34 ` [PATCH v1 4/4] net/nbl: update documentation and maintainers Dimon Zhao
2025-11-09 20:16 ` Stephen Hemminger
2025-11-10 8:56 ` 回复:[PATCH " Dimon
2025-11-11 11:31 ` [PATCH v2 0/4] NBL add new features Dimon Zhao
2025-11-11 11:31 ` [PATCH v2 1/4] net/nbl: change default Rx extension header size to 12 bytes Dimon Zhao
2025-11-11 11:31 ` [PATCH v2 2/4] net/nbl: add support for Tx and Rx VLAN offload Dimon Zhao
2025-11-11 11:31 ` [PATCH v2 3/4] net/nbl: add support for imissed stats Dimon Zhao
2025-11-11 11:31 ` [PATCH v2 4/4] net/nbl: add IOVA mode check in Coexistence Dimon Zhao
2025-11-11 21:19 ` Thomas Monjalon
2025-11-24 3:40 ` [PATCH v1 0/1] fix NBL Rx VLAN issues in DPDK 25.11-rc3 Dimon Zhao
2025-11-24 3:40 ` [PATCH v1 1/1] net/nbl: add VLAN offload set interface Dimon Zhao
2025-11-24 23:35 ` Stephen Hemminger
2025-11-25 2:28 ` 回复:[PATCH " Dimon
2025-11-25 15:27 ` Stephen Hemminger
2025-11-26 1:52 ` 回复:回复:[PATCH " Dimon
2025-11-26 22:16 ` Stephen Hemminger [this message]
2025-11-24 15:44 ` [PATCH v1 0/1] fix NBL Rx VLAN issues in DPDK 25.11-rc3 Patrick Robb
2025-11-27 0:37 ` [PATCH v2] net/nbl: add VLAN offload set interface Stephen Hemminger
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=20251126141625.55be6cea@phoenix.local \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=dimon.zhao@nebula-matrix.com \
--cc=kyo.liu@nebula-matrix.com \
--cc=leon.yu@nebula-matrix.com \
--cc=sam.chen@nebula-matrix.com \
--cc=techboard@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).