public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/1] Add support for locked bridge ports (for 802.1X)
@ 2022-02-25 11:44 Hans Schultz
  2022-02-25 11:44 ` [PATCH iproute2-next 1/1] bridge: link: Add command to set port in locked mode Hans Schultz
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Schultz @ 2022-02-25 11:44 UTC (permalink / raw)
  To: davem, kuba; +Cc: netdev, Hans Schultz, linux-kernel

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(+)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-25 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-25 11:44 [PATCH iproute2-next 0/1] Add support for locked bridge ports (for 802.1X) Hans Schultz
2022-02-25 11:44 ` [PATCH iproute2-next 1/1] bridge: link: Add command to set port in locked mode Hans Schultz
2022-02-25 14:03   ` Nikolay Aleksandrov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox