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

Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+1 -1
+1 -1
drivers/net/ethernet/broadcom/bnxt/bnxt.c
··· 877 877 next_tx_int: 878 878 cons = NEXT_TX(cons); 879 879 880 - dev_consume_skb_any(skb); 880 + napi_consume_skb(skb, budget); 881 881 } 882 882 883 883 WRITE_ONCE(txr->tx_cons, cons);