Skip to contentSkip to conversation

eth: fbnic: support persistent NAPI config

PATCH Applied Jakub Kicinski 2 participants 2 messages Sep 5, 2025 – Sep 9, 2025

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 eth: fbnic: support persistent NAPI config

No shenanigans in this driver, AFAIU, pass the vector index to NAPI registration.

---
 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
index 493f7f4df013..ac555e045e34 100644
@@ -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
#1 lore raw
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.

---
 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