提交 c307e2a8 编写于 作者: Y Yelena Krivosheev 提交者: David S. Miller

net: mvneta: increase number of buffers in RX and TX queue

The initial values were too small leading to poor performance when using
the software buffer management.
Signed-off-by: NYelena Krivosheev <yelena@marvell.com>
[gregory: extract from a larger patch]
Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 965cbbec
...@@ -295,10 +295,10 @@ ...@@ -295,10 +295,10 @@
#define MVNETA_RSS_LU_TABLE_SIZE 1 #define MVNETA_RSS_LU_TABLE_SIZE 1
/* Max number of Rx descriptors */ /* Max number of Rx descriptors */
#define MVNETA_MAX_RXD 128 #define MVNETA_MAX_RXD 512
/* Max number of Tx descriptors */ /* Max number of Tx descriptors */
#define MVNETA_MAX_TXD 532 #define MVNETA_MAX_TXD 1024
/* Max number of allowed TCP segments for software TSO */ /* Max number of allowed TCP segments for software TSO */
#define MVNETA_MAX_TSO_SEGS 100 #define MVNETA_MAX_TSO_SEGS 100
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册