summaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2021-12-09 13:09:27 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-12-22 06:08:55 +0300
commit57ca767820ade09ee3e3c53bfeb5543ba7c00ab0 (patch)
tree147af231e4adc03b35226e6c4014b346356526e1 /Documentation/networking
parent0b5705ebc355e79b71bf946058acec6820e27869 (diff)
downloadlinux-57ca767820ade09ee3e3c53bfeb5543ba7c00ab0.tar.xz
net/mlx5: Let user configure event_eq_size param
Event EQ is an EQ which received the notification of almost all the events generated by the NIC. Currently, each event EQ is taking 512KB of memory. This size is not needed in most use cases, and is critical with large scale. Hence, allow user to configure the size of the event EQ. For example to reduce event EQ size to 64, execute:: $ devlink dev param set pci/0000:00:0b.0 name event_eq_size value 64 \ cmode driverinit $ devlink dev reload pci/0000:00:0b.0 Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/devlink/mlx5.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/mlx5.rst b/Documentation/networking/devlink/mlx5.rst
index 291e7f63af73..38089f0aefcf 100644
--- a/Documentation/networking/devlink/mlx5.rst
+++ b/Documentation/networking/devlink/mlx5.rst
@@ -20,6 +20,9 @@ Parameters
* - ``io_eq_size``
- driverinit
- The range is between 64 and 4096.
+ * - ``event_eq_size``
+ - driverinit
+ - The range is between 64 and 4096.
The ``mlx5`` driver also implements the following driver-specific
parameters.