diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-04-12 13:27:10 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-12 10:17:02 -0400 |
commit | bd3e4fde2f596e2b5393d154d2766e39b217cd63 (patch) | |
tree | a8e2e4339eb2feb8c7a2706fcd785ecf358ea4fe /drivers/net/ethernet/faraday | |
parent | 52d9138fb31ac2dadfbf8e51abf04130ee25f4ee (diff) | |
download | linux-bd3e4fde2f596e2b5393d154d2766e39b217cd63.tar.gz linux-bd3e4fde2f596e2b5393d154d2766e39b217cd63.tar.bz2 linux-bd3e4fde2f596e2b5393d154d2766e39b217cd63.zip |
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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday')
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 259790b7126e..2153c5bbdd12 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -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 */ |