linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/3] netconsole: allow selection of egress interface via MAC address
@ 2025-02-17  7:18 Uday Shankar
  2025-02-17  7:18 ` [PATCH net-next v4 1/3] net: Add non-RCU dev_getbyhwaddr() helper Uday Shankar
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Uday Shankar @ 2025-02-17  7:18 UTC (permalink / raw)
  To: Breno Leitao, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Srinivas Kandagatla,
	Rafał Miłecki, Simon Horman, Andrew Morton,
	Johannes Berg, Jonathan Corbet
  Cc: netdev, linux-kernel, linux-wireless, linux-doc, Uday Shankar,
	kuniyu, Michal Swiatkowski

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.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
---
Changes in v4:
- Incorporate Breno Leitao's patch to add (non-RCU) dev_getbyhwaddr and
  use it (Jakub Kicinski)
- Use MAC_ADDR_STR_LEN in ieee80211_sta_debugfs_add as well (Michal
  Swiatkowski)
- Link to v3: https://lore.kernel.org/r/20250205-netconsole-v3-0-132a31f17199@purestorage.com

Changes in v3:
- Rename MAC_ADDR_LEN to MAC_ADDR_STR_LEN (Johannes Berg)
- Link to v2: https://lore.kernel.org/r/20250204-netconsole-v2-0-5ef5eb5f6056@purestorage.com

---
Breno Leitao (1):
      net: Add non-RCU dev_getbyhwaddr() helper

Uday Shankar (2):
      net, treewide: define and use MAC_ADDR_STR_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/netdevice.h               |  2 ++
 include/linux/netpoll.h                 |  6 ++++
 lib/net_utils.c                         |  4 +--
 net/core/dev.c                          | 37 ++++++++++++++++++++++--
 net/core/netpoll.c                      | 51 +++++++++++++++++++++++++--------
 net/mac80211/debugfs_sta.c              |  7 +++--
 11 files changed, 97 insertions(+), 25 deletions(-)
---
base-commit: 0784d83df3bfc977c13252a0599be924f0afa68d
change-id: 20250204-netconsole-4c610e2f871c

Best regards,
-- 
Uday Shankar <ushankar@purestorage.com>


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

end of thread, other threads:[~2025-02-17 23:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  7:18 [PATCH net-next v4 0/3] netconsole: allow selection of egress interface via MAC address Uday Shankar
2025-02-17  7:18 ` [PATCH net-next v4 1/3] net: Add non-RCU dev_getbyhwaddr() helper Uday Shankar
2025-02-17  7:18 ` [PATCH net-next v4 2/3] net, treewide: define and use MAC_ADDR_STR_LEN Uday Shankar
2025-02-17  7:18 ` [PATCH net-next v4 3/3] netconsole: allow selection of egress interface via MAC address Uday Shankar
2025-02-17 23:47 ` [PATCH net-next v4 0/3] " Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).