diff options
author | Shay Drory <shayd@nvidia.com> | 2021-12-09 13:09:27 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-12-22 06:08:55 +0300 |
commit | 57ca767820ade09ee3e3c53bfeb5543ba7c00ab0 (patch) | |
tree | 147af231e4adc03b35226e6c4014b346356526e1 /mm/swap.c | |
parent | 0b5705ebc355e79b71bf946058acec6820e27869 (diff) | |
download | linux-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 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions