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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue