aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorWei Fang <[email protected]>2023-08-16 09:02:42 +0000
committerJakub Kicinski <[email protected]>2023-08-18 22:17:27 +0000
commit91a10efc89dc510edf57cb1d3a7ad480ef5160b8 (patch)
tree91d269d2765403479abe9363d620b561dc5d56ea /drivers/net/ethernet/intel/ice/ice_main.c
parentsfc: Remove unneeded semicolon (diff)
downloadkernel-91a10efc89dc510edf57cb1d3a7ad480ef5160b8.tar.gz
kernel-91a10efc89dc510edf57cb1d3a7ad480ef5160b8.zip
net: fec: use napi_consume_skb() in fec_enet_tx_queue()
Now that the "budget" is passed into fec_enet_tx_queue(), one optimization we can do is to use napi_consume_skb() to instead of dev_kfree_skb_any(). Signed-off-by: Wei Fang <[email protected]> Suggested-by: Alexander H Duyck <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions