Skip to content

Commit 386e698

Browse files
brettcreeleydavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 97085cd commit 386e698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/pensando/ionic/ionic_txrx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ static void ionic_tx_clean(struct ionic_queue *q,
12321232
desc_info->bytes = skb->len;
12331233
stats->clean++;
12341234

1235-
dev_consume_skb_any(skb);
1235+
napi_consume_skb(skb, 1);
12361236
}
12371237

12381238
static bool ionic_tx_service(struct ionic_cq *cq, struct ionic_cq_info *cq_info)

0 commit comments

Comments
 (0)