aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/devlink/mlx5.rst
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2021-12-09 12:09:27 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-12-21 19:08:55 -0800
commit57ca767820ade09ee3e3c53bfeb5543ba7c00ab0 (patch)
tree147af231e4adc03b35226e6c4014b346356526e1 /Documentation/networking/devlink/mlx5.rst
parentdevlink: Add new "event_eq_size" generic device param (diff)
downloadlinux-dev-57ca767820ade09ee3e3c53bfeb5543ba7c00ab0.tar.xz
linux-dev-57ca767820ade09ee3e3c53bfeb5543ba7c00ab0.zip
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 '')
-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.