[PATCH v2] net/nbl: add VLAN offload set interface

Stephen Hemminger stephen at networkplumber.org
Thu Nov 27 18:56:43 CET 2025


On Wed, 26 Nov 2025 16:37:14 -0800
Stephen Hemminger <stephen at networkplumber.org> wrote:

> From: Dimon Zhao <dimon.zhao at nebula-matrix.com>
> 
> Implement the vlan_offload_set device operation to allow
> enabling or disabling VLAN offloads through the API.
> 
> rte_eth_dev_set_vlan_offload() calls the driver to update the hardware
> configuration. Because this driver performs VLAN stripping entirely in
> software, only a dummy implementation is needed to avoid returning an
> error.
> 
> Validation of unsupported or invalid flags is already handled in ethdev.
> 
> Fixes: 9d7757dce874 ("net/nbl: simulate VLAN offload")
> 
> Signed-off-by: Dimon Zhao <dimon.zhao at nebula-matrix.com>
> Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

Queued to next-net


More information about the dev mailing list