[PATCH v2 0/2] netconsole: allow selection of egress interface via MAC address

From: Uday Shankar
Date: Tue Feb 04 2025 - 16:44:55 EST


This series adds support for selecting a netconsole egress interface by
specifying the MAC address (in place of the interface name) in the
boot/module parameter.

Changes since v1 (https://lore.kernel.org/netdev/20241211021851.1442842-1-ushankar@xxxxxxxxxxxxxxx/):
- Add a patch to define and use MAC_ADDR_LEN (Simon Horman)
- Remove ability to use MAC address to select egress interface via
configfs (Breno Leitao)
- Misc style fixes (Simon Horman, Breno Leitao)

Signed-off-by: Uday Shankar <ushankar@xxxxxxxxxxxxxxx>
---
Uday Shankar (2):
net, treewide: define and use MAC_ADDR_LEN
netconsole: allow selection of egress interface via MAC address

Documentation/networking/netconsole.rst | 6 +++-
drivers/net/netconsole.c | 2 +-
drivers/nvmem/brcm_nvram.c | 2 +-
drivers/nvmem/layouts/u-boot-env.c | 2 +-
include/linux/if_ether.h | 3 ++
include/linux/netpoll.h | 6 ++++
lib/net_utils.c | 4 +--
net/core/netpoll.c | 51 +++++++++++++++++++++++++--------
net/mac80211/debugfs_sta.c | 5 ++--
9 files changed, 60 insertions(+), 21 deletions(-)
---
base-commit: c2933b2befe25309f4c5cfbea0ca80909735fd76
change-id: 20250204-netconsole-4c610e2f871c

Best regards,
--
Uday Shankar <ushankar@xxxxxxxxxxxxxxx>