diff options
author | Hans Schultz <schultz.hans@gmail.com> | 2022-02-23 11:16:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-23 12:52:34 +0000 |
commit | a21d9a670d81103db7f788de1a4a4a6e4b891a0b (patch) | |
tree | ab75d11b76ff32537959fe60fe461627a2a9f84d /include/uapi/linux/if_link.h | |
parent | drop_monitor: remove quadratic behavior (diff) | |
download | linux-dev-a21d9a670d81103db7f788de1a4a4a6e4b891a0b.tar.xz linux-dev-a21d9a670d81103db7f788de1a4a4a6e4b891a0b.zip |
net: bridge: Add support for bridge port in locked mode
In a 802.1X scenario, clients connected to a bridge port shall not
be allowed to have traffic forwarded until fully authenticated.
A static fdb entry of the clients MAC address for the bridge port
unlocks the client and allows bidirectional communication.
This scenario is facilitated with setting the bridge port in locked
mode, which is also supported by various switchcore chipsets.
Signed-off-by: Hans Schultz <schultz.hans+netdev@gmail.com>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index e1ba2d51b717..be09d2ad4b5d 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -537,6 +537,7 @@ enum { IFLA_BRPORT_MRP_IN_OPEN, IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT, IFLA_BRPORT_MCAST_EHT_HOSTS_CNT, + IFLA_BRPORT_LOCKED, __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) |