]> git.hungrycats.org Git - linux/commit
net: bcmgenet: fix throughtput regression
authorJaedon Shin <jaedon.shin@gmail.com>
Sat, 28 Feb 2015 02:48:26 +0000 (11:48 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:10:51 +0000 (14:10 +0100)
commit001f8cee4a23a1822bad0b3eae0d16ee3cb6834c
tree9cf538313834c196692795c5ace2b13c17bbe0b3
parent72e726749c2067cbbe7ad7ed1df2ad559aeafa6d
net: bcmgenet: fix throughtput regression

[ Upstream commit 4092e6acf5cb16f56154e2dd22d647023dc3d646 ]

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 <jaedon.shin@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h