netpoll: finish untangling netconsole from netpoll
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected] change-id 20260721-netconsole_move_more_final-6ebdc01ecc19Versions newest first
Patches in v1 All 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | netpoll: export carrier_timeout via netpoll_get_carrier_timeout()include/ net/ | +15 | 1 reply | Applied |
| 2/9 | netpoll: export the netpoll_setup() helpers for netconsoleinclude/ net/ | +15 | 1 reply | Applied |
| 3/9 | netconsole: take over netpoll_setup() from netpolldrivers/ include/ net/ | +83 | 1 reply | Applied |
| 4/9 | netconsole: move netpoll_local_ip_unset() as netcons_local_ip_unset()drivers/ include/ net/ | +18 | 3 replies | Applied |
| 5/9 | netconsole: move netpoll_take_ipv4() as netcons_take_ipv4()drivers/ include/ net/ | +31 | 1 reply | Applied |
| 6/9 | netconsole: move netpoll_take_ipv6() as netcons_take_ipv6()drivers/ include/ net/ | +43 | 1 reply | Applied |
| 7/9 | netconsole: move egress_dev() as netcons_egress_dev()drivers/ include/ net/ | +23 | 1 reply | Applied |
| 8/9 | netconsole: move local_ip/remote_ip/ipv6 to netconsole_targetdrivers/ include/ | +76 | 1 reply | Applied |
| 9/9 | netconsole: move netpoll_wait_carrier() as netcons_wait_carrier()drivers/ include/ net/ | +16 | 1 reply | Applied |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Gustavo Luiz Duarte |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/9] netpoll: finish untangling netconsole from netpoll
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)
---
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,
Signature · 1 line
Breno Leitao <[email protected]>