# Re: \[PATCH v5 net-next 13/14\] bridge: Introduce DEV\_PATH\_BR\_VLAN\_KEEP\_HW for bridge-fastpath

- From: Nikolay Aleksandrov \<razor@blackwall.org\>
- Date: 2025-02-06 14:22:17 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/02/2914657
- Thread: https://ratatoskr.run/netdev/2025/02/2911789/t.md

```text
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 <redacted>
> ---
>  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@blackwall.org>

```
