eth: bnxt: make use of napi_consume_skb()
Jakub Kicinski
maintainerPATCH 1/1 eth: bnxt: make use of napi_consume_skb()
As those following recent changes from Eric know very well using NAPI skb cache is crucial to achieve good perf, at least on recent AMD platforms. Make sure bnxt feeds the skb cache with Tx skbs.
---
CC: [email protected]
CC: [email protected]
--- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/bnxt/bnxt.c +1 -1
@@ -877,7 +877,7 @@ static bool __bnxt_tx_int(struct bnxt *bp, struct bnxt_tx_ring_info *txr, next_tx_int: cons =NEXT_TX (cons); -dev_consume_skb_any (skb); +napi_consume_skb (skb, budget); }WRITE_ONCE (txr->tx_cons, cons);
Signature · 1 line
2.51.1
Quoted 7 lines · Jakub Kicinski
As those following recent changes from Eric know very well using NAPI skb cache is crucial to achieve good perf, at least on recent AMD platforms. Make sure bnxt feeds the skb cache with Tx skbs.
Signed-off-by Jakub Kicinski <[email protected]>
Thanks.
Eric Dumazet
Reviewed-byQuoted 8 lines · Michael Chan
Quoted 6 lines · Jakub Kicinski
As those following recent changes from Eric know very well using NAPI skb cache is crucial to achieve good perf, at least on recent AMD platforms. Make sure bnxt feeds the skb cache with Tx skbs.
Quoted 4 lines
Quoted 1 line
Signed-off-by Jakub Kicinski <[email protected]>Thanks.
Reviewed-by Michael Chan <[email protected]>
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Tue, 25 Nov 2025 19:48:19 -0800 you wrote:
As those following recent changes from Eric know very well using NAPI skb cache is crucial to achieve good perf, at least on recent AMD platforms. Make sure bnxt feeds the skb cache with Tx skbs.
Signed-off-by Jakub Kicinski <[email protected]>[...]
Here is the summary with links:
- [net-next] eth: bnxt: make use of napi_consume_skb()
https://git.kernel.org/netdev/net-next/c/362a161b2582
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html