net: bcmgenet: fix throughtput regression
authorJaedon Shin <[email protected]>
Sat, 28 Feb 2015 02:48:26 +0000 (11:48 +0900)
committerDavid S. Miller <[email protected]>
Sun, 1 Mar 2015 04:58:33 +0000 (23:58 -0500)
commit4092e6acf5cb16f56154e2dd22d647023dc3d646
tree7d65853c721e935244f09c68abb28fd92ba319ee
parent2f1d8b9e8afa5a833d96afcd23abcb8cdf8d83ab
net: bcmgenet: fix throughtput regression

This patch adds bcmgenet_tx_poll for the tx_rings. This can reduce the
interrupt load and send xmit in network stack on time. This also
separated for the completion of tx_ring16 from bcmgenet_poll.

The bcmgenet_tx_reclaim of tx_ring[{0,1,2,3}] operative by an interrupt
is to be not more than a certain number TxBDs. It is caused by too
slowly reclaiming the transmitted skb. Therefore, performance
degradation of xmit after 605ad7f ("tcp: refine TSO autosizing").

Signed-off-by: Jaedon Shin <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h