]> 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)
commit19c9bef30d30ce6525be5fe1889036f13e52fccc
tree38fa3b50b86f06ed46eea03648d1625e7b795c03
parent136068f674e31565092b5d36dc66313389f7fdde
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: d62108868428 ("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