]> www.infradead.org Git - users/hch/misc.git/commitdiff
net: bridge: Introduce BROPT_FDB_LOCAL_VLAN_0
authorPetr Machata <petrm@nvidia.com>
Thu, 4 Sep 2025 17:07:18 +0000 (19:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 12 Sep 2025 02:02:49 +0000 (19:02 -0700)
The following patches will gradually introduce the ability of the bridge
to look up local FDB entries on VLAN 0 instead of using the VLAN indicated
by a packet.

In this patch, just introduce the option itself, with which the feature
will be linked.

Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://patch.msgid.link/ab85e33ef41ed19a3deaef0ff7da26830da30642.1757004393.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/bridge/br_private.h

index 8de0904b9627f79556f5b7a40d3b3c00154a55c8..87da287f19fe4ae9a8cef25f893e9d1132ddb73d 100644 (file)
@@ -487,6 +487,7 @@ enum net_bridge_opts {
        BROPT_MCAST_VLAN_SNOOPING_ENABLED,
        BROPT_MST_ENABLED,
        BROPT_MDB_OFFLOAD_FAIL_NOTIFICATION,
+       BROPT_FDB_LOCAL_VLAN_0,
 };
 
 struct net_bridge {