]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: correctly use dev_consume/free_skb_irq
authorLijun Pan <lijunp213@gmail.com>
Tue, 13 Apr 2021 08:33:25 +0000 (03:33 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2021 21:49:30 +0000 (14:49 -0700)
commit3d24a35e2166d0b618d132dbfe675b4806b07773
tree85aa36b590287ba1ea051550077daccb53becddc
parent473ae46cce294956839bed097950fca05fa13853
ibmvnic: correctly use dev_consume/free_skb_irq

It is more correct to use dev_kfree_skb_irq when packets are dropped,
and to use dev_consume_skb_irq when packets are consumed.

Fixes: b99127e786eb ("ibmvnic: Introduce xmit_more support using batched subCRQ hcalls")
Suggested-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: Lijun Pan <lijunp213@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c