eth: fbnic: support persistent NAPI config
Subsystems (3)
Jakub Kicinski
maintainerPATCH 1/1 eth: fbnic: support persistent NAPI config
No shenanigans in this driver, AFAIU, pass the vector index to NAPI registration.
Signed-off-by Jakub Kicinski <[email protected]>
--- drivers/net/ethernet/meta/fbnic/fbnic_txrx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c +2 -1
@@ -1621,7 +1621,8 @@ static int fbnic_alloc_napi_vector(struct fbnic_dev *fbd, struct fbnic_net *fbn,/* Tie napi to netdev */ fbn->napi[fbnic_napi_idx (nv)] = nv; -netif_napi_add_locked (fbn->netdev, &nv->napi, fbnic_poll); +netif_napi_add_config_locked (fbn->netdev, &nv->napi, fbnic_poll, +fbnic_napi_idx (nv));/* Record IRQ to NAPI struct */ netif_napi_set_irq_locked(&nv->napi,
Signature · 1 line
2.51.0
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:
Quoted 7 lines · On Thu, 4 Sep 2025 19:22:54 -0700 you wrote:
No shenanigans in this driver, AFAIU, pass the vector index to NAPI registration.
Signed-off-by Jakub Kicinski <[email protected]>--- drivers/net/ethernet/meta/fbnic/fbnic_txrx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Here is the summary with links:
- [net-next] eth: fbnic: support persistent NAPI config
https://git.kernel.org/netdev/net-next/c/0574c27cbe79
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html