1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell
Ezequiel Garcia 8eef5f9723 net: mvneta: Limit the TSO segments and adjust stop/wake thresholds
Currently small MSS values may require too many TSO descriptors for
the default queue size. This commit prevents this situation by fixing
the maximum supported TSO number of segments to 100 and by setting a
minimum Tx queue size. The minimum Tx queue size is set so that at
least 2 worst-case skb can be accommodated.

In addition, the queue stop and wake thresholds values are adjusted
accordingly. The queue is stopped when there's room for only 1 worst-case
skb and waked when the number of descriptors is half that value.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-02 16:16:05 -07:00
..
Kconfig net: ethernet: update dependency and help text of mvneta 2014-02-18 18:09:02 -05:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: Simplify mv643xx_eth_adjust_link() 2014-05-23 15:31:48 -04:00
mvmdio.c net: mvmdio: Use devm_* API to simplify the code 2014-05-23 15:31:49 -04:00
mvneta.c net: mvneta: Limit the TSO segments and adjust stop/wake thresholds 2014-06-02 16:16:05 -07:00
pxa168_eth.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
skge.c skge: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:05 -07:00
skge.h skge/sky2/mv643xx/pxa168: Move the Marvell Ethernet drivers 2011-08-12 00:21:51 -07:00
sky2.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00