ionic: aggregate Tx byte counting calls
authorShannon Nelson <snelson@pensando.io>
Tue, 16 Mar 2021 02:31:36 +0000 (19:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 04:27:06 +0000 (21:27 -0700)
commit633eddf120ac148c05db45fc8fd878af54f72eaa
tree5890ec36381c4c692c814e76eccbc26c04169c65
parent19fef72cb4ba4c3c25bf89f4e73fdcefb9fd7bd2
ionic: aggregate Tx byte counting calls

Gather the Tx packet and byte counts and call
netdev_tx_completed_queue() only once per clean cycle.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_dev.h
drivers/net/ethernet/pensando/ionic/ionic_txrx.c