Skip to content
Commit 91a10efc authored by Wei Fang's avatar Wei Fang Committed by Jakub Kicinski
Browse files

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: default avatarWei Fang <wei.fang@nxp.com>
Suggested-by: default avatarAlexander H Duyck <alexander.duyck@gmail.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20230816090242.463822-1-wei.fang@nxp.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5cce7814
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment