Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/9] netpoll: finish untangling netconsole from netpoll
@ 2026-07-24 15:04 Breno Leitao
  2026-07-24 15:04 ` [PATCH net-next 1/9] netpoll: export carrier_timeout via netpoll_get_carrier_timeout() Breno Leitao
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Breno Leitao @ 2026-07-24 15:04 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Simon Horman, Andrew Lunn
  Cc: netdev, linux-kernel, gustavold, asantostc, Breno Leitao,
	kernel-team

This is the final series moving the netconsole-specific functions out of
netpoll and into netconsole.

There is nothing else left except struct netpoll ->name and ->dev_mac
fields, which are netconsole-specific fields, but they are still in
netpoll structure (no other netpoll user uses these two fields).

netpoll is now left simpler and with a clearer role: an API that takes
an skb and transmits it. The device setup and the local/remote address
handling that only netconsole needs no longer sit in the generic netpoll
code, but in netconsole (which was the only user).

struct netpoll gets leaner too. The netconsole-only fields are gone, so
the other netpoll users (bonding, team, bridge, vlan, macvlan, dsa) no
longer carry fields they never touch. (except ->name and ->dev_mac)

Signed-off-by: Breno Leitao <leitao@debian.org>
---
Breno Leitao (9):
      netpoll: export carrier_timeout via netpoll_get_carrier_timeout()
      netpoll: export the netpoll_setup() helpers for netconsole
      netconsole: take over netpoll_setup() from netpoll
      netconsole: move netpoll_local_ip_unset() as netcons_local_ip_unset()
      netconsole: move netpoll_take_ipv4() as netcons_take_ipv4()
      netconsole: move netpoll_take_ipv6() as netcons_take_ipv6()
      netconsole: move egress_dev() as netcons_egress_dev()
      netconsole: move local_ip/remote_ip/ipv6 to netconsole_target
      netconsole: move netpoll_wait_carrier() as netcons_wait_carrier()

 drivers/net/netconsole.c | 301 +++++++++++++++++++++++++++++++++++++++--------
 include/linux/netpoll.h  |   5 +-
 net/core/netpoll.c       | 210 ++-------------------------------
 3 files changed, 267 insertions(+), 249 deletions(-)
---
base-commit: 9eebf259d5352b87080d67758f483583d9e763d7
change-id: 20260721-netconsole_move_more_final-6ebdc01ecc19

Best regards,
--  
Breno Leitao <leitao@debian.org>


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

end of thread, other threads:[~2026-07-24 15:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-24 15:04 [PATCH net-next 0/9] netpoll: finish untangling netconsole from netpoll Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 1/9] netpoll: export carrier_timeout via netpoll_get_carrier_timeout() Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 2/9] netpoll: export the netpoll_setup() helpers for netconsole Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 3/9] netconsole: take over netpoll_setup() from netpoll Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 4/9] netconsole: move netpoll_local_ip_unset() as netcons_local_ip_unset() Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 5/9] netconsole: move netpoll_take_ipv4() as netcons_take_ipv4() Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 6/9] netconsole: move netpoll_take_ipv6() as netcons_take_ipv6() Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 7/9] netconsole: move egress_dev() as netcons_egress_dev() Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 8/9] netconsole: move local_ip/remote_ip/ipv6 to netconsole_target Breno Leitao
2026-07-24 15:04 ` [PATCH net-next 9/9] netconsole: move netpoll_wait_carrier() as netcons_wait_carrier() Breno Leitao

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