diff options
author | Shay Drory <shayd@nvidia.com> | 2021-08-12 10:53:34 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-25 22:51:20 +0200 |
commit | 46ae40b94d8826591472798114a723cc7feac7a7 (patch) | |
tree | c9dc430d714cd00a245ce4a5e81bfd87a2aa62dd /include | |
parent | net/mlx5: Bridge, support replacing existing FDB entry (diff) | |
download | linux-46ae40b94d8826591472798114a723cc7feac7a7.tar.xz linux-46ae40b94d8826591472798114a723cc7feac7a7.zip |
net/mlx5: Let user configure io_eq_size param
Currently, each I/O EQ is taking 128KB of memory. This size
is not needed in all use cases, and is critical with large scale.
Hence, allow user to configure the size of I/O EQs.
For example, to reduce I/O EQ size to 64, execute:
$ devlink resource set pci/0000:00:0b.0 path /io_eq_size/ size 64
$ devlink dev reload pci/0000:00:0b.0
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/driver.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index f617dfbcd9fd..47c07f95bbe1 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -798,10 +798,6 @@ struct mlx5_db { }; enum { - MLX5_COMP_EQ_SIZE = 1024, -}; - -enum { MLX5_PTYS_IB = 1 << 0, MLX5_PTYS_EN = 1 << 2, }; |