mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 12:25:08 +07:00
net/mlx5e: Support smaller RX/TX ring sizes
We un-intentionally limited the minimum rings size too much. TX minimum ring size reduced from 128 to 64. RX minimum ring size reduced from 128 to 2. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2d75b2bc8a
commit
e842b1001d
@ -42,11 +42,11 @@
|
|||||||
|
|
||||||
#define MLX5E_MAX_NUM_TC 8
|
#define MLX5E_MAX_NUM_TC 8
|
||||||
|
|
||||||
#define MLX5E_PARAMS_MINIMUM_LOG_SQ_SIZE 0x7
|
#define MLX5E_PARAMS_MINIMUM_LOG_SQ_SIZE 0x6
|
||||||
#define MLX5E_PARAMS_DEFAULT_LOG_SQ_SIZE 0xa
|
#define MLX5E_PARAMS_DEFAULT_LOG_SQ_SIZE 0xa
|
||||||
#define MLX5E_PARAMS_MAXIMUM_LOG_SQ_SIZE 0xd
|
#define MLX5E_PARAMS_MAXIMUM_LOG_SQ_SIZE 0xd
|
||||||
|
|
||||||
#define MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE 0x7
|
#define MLX5E_PARAMS_MINIMUM_LOG_RQ_SIZE 0x1
|
||||||
#define MLX5E_PARAMS_DEFAULT_LOG_RQ_SIZE 0xa
|
#define MLX5E_PARAMS_DEFAULT_LOG_RQ_SIZE 0xa
|
||||||
#define MLX5E_PARAMS_MAXIMUM_LOG_RQ_SIZE 0xd
|
#define MLX5E_PARAMS_MAXIMUM_LOG_RQ_SIZE 0xd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user