]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: fix txrx work accounting
authorShannon Nelson <snelson@pensando.io>
Thu, 27 Aug 2020 23:44:22 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2020 19:19:57 +0000 (12:19 -0700)
commit985bec083c4b4d1094ff28458f338b82f3edbcc3
tree38fa3b50b86f06ed46eea03648d1625e7b795c03
parent30b026a8fe053bca8375c62a29324ea163344e00
ionic: fix txrx work accounting

Take the tx accounting out of the work_done calculation to
prevent a possible duplicate napi_schedule call when under
high Tx stress but low Rx traffic.

Fixes: 182c4f244858 ("ionic: tx separate servicing")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c