]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69dae26acfbbc9a1b1646acd34945c159dbc79d4
tree5890ec36381c4c692c814e76eccbc26c04169c65
parent0a03c8dee45f830dd4b610eab891740d77f7ad76
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