Commit 386e6986 authored by Brett Creeley's avatar Brett Creeley Committed by David S. Miller
Browse files

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: default avatarBrett Creeley <brett.creeley@amd.com>
Signed-off-by: default avatarShannon Nelson <shannon.nelson@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97085cda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)