diff options
author | Brett Creeley <brett.creeley@amd.com> | 2024-02-29 22:39:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-04 12:38:13 +0300 |
commit | 386e69865311044b576ff536c99c6ee9cc98a228 (patch) | |
tree | f6e4851379276e04258a434f287072727e3240ae /drivers/net/ethernet/pensando/ionic | |
parent | 97085cda1227939f0abe07d25a8107d4182cafbe (diff) | |
download | linux-386e69865311044b576ff536c99c6ee9cc98a228.tar.xz |
ionic: Make use napi_consume_skb
Make use of napi_consume_skb so that skb recycling
can happen by way of the napi_skb_cache.
Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_txrx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c index 2837f2cc0151..3da4fd322690 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_txrx.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_txrx.c @@ -1232,7 +1232,7 @@ static void ionic_tx_clean(struct ionic_queue *q, desc_info->bytes = skb->len; stats->clean++; - dev_consume_skb_any(skb); + napi_consume_skb(skb, 1); } static bool ionic_tx_service(struct ionic_cq *cq, struct ionic_cq_info *cq_info) |