From: Breno Leitao <leitao@debian.org>
To: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
gustavold@gmail.com, asantostc@gmail.com,
Breno Leitao <leitao@debian.org>,
kernel-team@meta.com
Subject: [PATCH net-next 0/9] netpoll: finish untangling netconsole from netpoll
Date: Fri, 24 Jul 2026 08:04:08 -0700 [thread overview]
Message-ID: <20260724-netconsole_move_more_final-v1-0-a5f7691db81c@debian.org> (raw)
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>
next reply other threads:[~2026-07-24 15:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 15:04 Breno Leitao [this message]
2026-07-24 15:04 ` [PATCH net-next 1/9] netpoll: export carrier_timeout via netpoll_get_carrier_timeout() Breno Leitao
2026-07-27 23:24 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 2/9] netpoll: export the netpoll_setup() helpers for netconsole Breno Leitao
2026-07-27 23:25 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 3/9] netconsole: take over netpoll_setup() from netpoll Breno Leitao
2026-07-27 23:38 ` Gustavo Luiz Duarte
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-27 23:49 ` Gustavo Luiz Duarte
2026-07-29 10:23 ` Breno Leitao
2026-07-29 14:05 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 5/9] netconsole: move netpoll_take_ipv4() as netcons_take_ipv4() Breno Leitao
2026-07-29 14:06 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 6/9] netconsole: move netpoll_take_ipv6() as netcons_take_ipv6() Breno Leitao
2026-07-29 14:07 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 7/9] netconsole: move egress_dev() as netcons_egress_dev() Breno Leitao
2026-07-29 14:07 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 8/9] netconsole: move local_ip/remote_ip/ipv6 to netconsole_target Breno Leitao
2026-07-29 14:08 ` Gustavo Luiz Duarte
2026-07-24 15:04 ` [PATCH net-next 9/9] netconsole: move netpoll_wait_carrier() as netcons_wait_carrier() Breno Leitao
2026-07-29 14:09 ` Gustavo Luiz Duarte
2026-07-30 10:20 ` [PATCH net-next 0/9] netpoll: finish untangling netconsole from netpoll patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260724-netconsole_move_more_final-v1-0-a5f7691db81c@debian.org \
--to=leitao@debian.org \
--cc=andrew+netdev@lunn.ch \
--cc=asantostc@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gustavold@gmail.com \
--cc=horms@kernel.org \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®