mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
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>
This commit is contained in:
parent
97085cda12
commit
386e698653
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user