Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

eth: fbnic: support persistent NAPI config

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

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250905022254.2635707-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

authored by

Jakub Kicinski and committed by
Paolo Abeni
0574c27c aeb8d48e

+2 -1
+2 -1
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
··· 1621 1621 1622 1622 /* Tie napi to netdev */ 1623 1623 fbn->napi[fbnic_napi_idx(nv)] = nv; 1624 - netif_napi_add_locked(fbn->netdev, &nv->napi, fbnic_poll); 1624 + netif_napi_add_config_locked(fbn->netdev, &nv->napi, fbnic_poll, 1625 + fbnic_napi_idx(nv)); 1625 1626 1626 1627 /* Record IRQ to NAPI struct */ 1627 1628 netif_napi_set_irq_locked(&nv->napi,