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)
commit9dda51101a77abb05ae49612164523bb91bf92f0
tree38fa3b50b86f06ed46eea03648d1625e7b795c03
parente9d572d94e1bb1336ab2045da9563edc921ba437
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: b14e4e95f9ec ("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