Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c307e2a8 authored by Yelena Krivosheev's avatar Yelena Krivosheev Committed by David S. Miller
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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