mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
52d9138fb3
commit
bd3e4fde2f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue