dpaa2-eth: Use napi_consume_skb()
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Mon, 4 Feb 2019 17:00:35 +0000 (17:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2019 18:49:55 +0000 (10:49 -0800)
commit0723a3aec0ade2d4223800ad26323a9c5369c0a0
treec59f366030601ee9356f4077166db8424dfdd851
parent27c874867c4e92278cc78f3c27574fb92d7f1578
dpaa2-eth: Use napi_consume_skb()

While in NAPI context, free skbs by calling napi_consume_skb()
instead of dev_kfree_skb(), to take advantage of the bulk freeing
mechanism.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c