Commit bd3e4fde authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by David S. Miller

ftgmac100: Set default ring sizes to 128 entries

I haven't seen any improvement above that size on the machines
I've tested with.
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52d9138f
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
#define MIN_TX_QUEUE_ENTRIES 32 #define MIN_TX_QUEUE_ENTRIES 32
/* Defaults */ /* Defaults */
#define DEF_RX_QUEUE_ENTRIES 256 #define DEF_RX_QUEUE_ENTRIES 128
#define DEF_TX_QUEUE_ENTRIES 512 #define DEF_TX_QUEUE_ENTRIES 128
#define MAX_PKT_SIZE 1536 #define MAX_PKT_SIZE 1536
#define RX_BUF_SIZE MAX_PKT_SIZE /* must be smaller than 0x3fff */ #define RX_BUF_SIZE MAX_PKT_SIZE /* must be smaller than 0x3fff */
......
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