Commit c307e2a8 authored by Yelena Krivosheev's avatar Yelena Krivosheev Committed by 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: default avatarYelena Krivosheev <yelena@marvell.com>
[gregory: extract from a larger patch]
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 965cbbec
......@@ -295,10 +295,10 @@
#define MVNETA_RSS_LU_TABLE_SIZE 1
/* Max number of Rx descriptors */
#define MVNETA_MAX_RXD 128
#define MVNETA_MAX_RXD 512
/* Max number of Tx descriptors */
#define MVNETA_MAX_TXD 532
#define MVNETA_MAX_TXD 1024
/* Max number of allowed TCP segments for software TSO */
#define MVNETA_MAX_TSO_SEGS 100
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment