Re: [PATCH v5 net-next 13/14] bridge: Introduce DEV_PATH_BR_VLAN_KEEP_HW for bridge-fastpath

From: Nikolay Aleksandrov
Date: Thu Feb 06 2025 - 09:22:37 EST


On 2/4/25 21:49, Eric Woudstra wrote:
> This patch introduces DEV_PATH_BR_VLAN_KEEP_HW. It is needed in the
> bridge fastpath for switchdevs supporting SWITCHDEV_OBJ_ID_PORT_VLAN.
>
> It is similar to DEV_PATH_BR_VLAN_TAG, with the correcponding bit in
> ingress_vlans set.
>
> In the forward fastpath it is not needed.
>
> Signed-off-by: Eric Woudstra <ericwouds@xxxxxxxxx>
> ---
> include/linux/netdevice.h | 1 +
> net/bridge/br_device.c | 4 ++++
> net/bridge/br_vlan.c | 18 +++++++++++-------
> net/netfilter/nft_flow_offload.c | 3 +++
> 4 files changed, 19 insertions(+), 7 deletions(-)
>

Acked-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>