ftgmac100: Set default ring sizes to 128 entries
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 12 Apr 2017 03:27:10 +0000 (13:27 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2017 14:17:02 +0000 (10:17 -0400)
I haven't seen any improvement above that size on the machines
I've tested with.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c

index 259790b7126e3b7863b300aa8900e083c0dce0ce..2153c5bbdd1267416f399e5742e509b8fd0b12cd 100644 (file)
@@ -47,8 +47,8 @@
 #define MIN_TX_QUEUE_ENTRIES   32
 
 /* Defaults */
-#define DEF_RX_QUEUE_ENTRIES   256
-#define DEF_TX_QUEUE_ENTRIES   512
+#define DEF_RX_QUEUE_ENTRIES   128
+#define DEF_TX_QUEUE_ENTRIES   128
 
 #define MAX_PKT_SIZE           1536
 #define RX_BUF_SIZE            MAX_PKT_SIZE    /* must be smaller than 0x3fff */