Skip to content

Commit 2d19c3f

Browse files
robhancockseddavem330
authored andcommitted
net: axienet: increase default TX ring size to 128
With previous changes to make the driver handle the TX ring size more correctly, the default TX ring size of 64 appears to significantly bottleneck TX performance to around 600 Mbps on a 1 Gbps link on ZynqMP. Increasing this to 128 seems to bring performance up to near line rate and shouldn't cause excess bufferbloat (this driver doesn't yet support modern byte-based queue management). Fixes: 8a3b7a2 ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver") Signed-off-by: Robert Hancock <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bb193e3 commit 2d19c3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/xilinx/xilinx_axienet_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#include "xilinx_axienet.h"
4242

4343
/* Descriptors defines for Tx and Rx DMA */
44-
#define TX_BD_NUM_DEFAULT 64
44+
#define TX_BD_NUM_DEFAULT 128
4545
#define RX_BD_NUM_DEFAULT 1024
4646
#define TX_BD_NUM_MIN (MAX_SKB_FRAGS + 1)
4747
#define TX_BD_NUM_MAX 4096

0 commit comments

Comments
 (0)