linux-kernelorg-stable/Documentation/networking/devlink
Shay Drory 8680a60fc1 net/mlx5: Let user configure max_macs generic param
Currently, max_macs is taking 70Kbytes of memory per function. This
size is not needed in all use cases, and is critical with large scale.
Hence, allow user to configure the number of max_macs.

For example, to reduce the number of max_macs to 1, execute::
$ devlink dev param set pci/0000:00:0b.0 name max_macs value 1 \
              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>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2021-12-21 19:08:55 -08:00
..
am65-nuss-cpsw-switch.rst
bnxt.rst
devlink-dpipe.rst
devlink-flash.rst
devlink-health.rst
devlink-info.rst
devlink-params.rst
devlink-port.rst
devlink-region.rst
devlink-reload.rst
devlink-resource.rst
devlink-trap.rst
hns3.rst
ice.rst
index.rst
ionic.rst
iosm.rst
mlx4.rst
mlx5.rst
mlxsw.rst
mv88e6xxx.rst
netdevsim.rst
nfp.rst
octeontx2.rst
prestera.rst
qed.rst
ti-cpsw-switch.rst