diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-02-07 17:21:05 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-07 17:21:06 -0800 |
commit | acdefab0dcbc3833b5a734ab80d792bb778517a0 (patch) | |
tree | 173c9371158b93ff7588f9bc2000299abda2a83d /drivers/net/netconsole.c | |
parent | 6a0ca73e5144a5d1c1f84cbfd96f4bc656c2ae6c (diff) | |
parent | 285b3f78eabd951e59e98f01f86abaaa6c76cd44 (diff) |
Merge branch 'net-improve-core-queue-api-handling-while-device-is-down'
Jakub Kicinski says:
====================
net: improve core queue API handling while device is down
The core netdev_rx_queue_restart() doesn't currently take into account
that the device may be down. The current and proposed queue API
implementations deal with this by rejecting queue API calls while
the device is down. We can do better, in theory we can still allow
devmem binding when the device is down - we shouldn't stop and start
the queues just try to allocate the memory. The reason we allocate
the memory is that memory provider binding checks if any compatible
page pool has been created (page_pool_check_memory_provider()).
Alternatively we could reject installing MP while the device is down
but the MP assignment survives ifdown (so presumably MP doesn't cease
to exist while down), and in general we allow configuration while down.
Previously I thought we need this as a fix, but gve rejects page pool
calls while down, and so did Saeed in the patches he posted. So this
series just makes the core act more sensibly but practically should
be a noop for now.
v1: https://lore.kernel.org/20250205190131.564456-1-kuba@kernel.org
====================
Link: https://patch.msgid.link/20250206225638.1387810-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions