mbox series

[iproute2-next,0/1] Add support for locked bridge ports (for 802.1X)

Message ID 20220225114457.2386149-1-schultz.hans+netdev@gmail.com (mailing list archive)
Headers show
Series Add support for locked bridge ports (for 802.1X) | expand

Message

Hans S Feb. 25, 2022, 11:44 a.m. UTC
This patch set is to complement the kernel locked port patches, such
that iproute2 can be used to lock/unlock a port and check if a port
is locked or not. To lock or unlock a port use the command:

bridge link set dev DEV locked {on | off}


To show the detailed setting of a port, including if the locked flag is
enabled for the port(s), use the command:

bridge -d link show [dev DEV]


Hans Schultz (1):
  bridge: link: Add command to set port in locked mode

 bridge/link.c                | 13 +++++++++++++
 include/uapi/linux/if_link.h |  1 +
 2 files changed, 14 insertions(+)