umber-kernel/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 net: ti: am65-cpsw-nuss: Add devlink support 2021-02-11 17:52:13 -08:00
bnxt.rst bnxt_en: Update bnxt.rst devlink documentation 2021-10-29 12:13:05 +01:00
devlink-dpipe.rst devlink: fix typo in documentation 2021-03-13 18:11:24 -08:00
devlink-flash.rst
devlink-health.rst docs: net: add missing devlink health cmd - trigger 2021-03-13 18:12:43 -08:00
devlink-info.rst
devlink-params.rst devlink: Clarifies max_macs generic devlink param 2021-12-21 19:08:55 -08:00
devlink-port.rst Documentation: devlink rate objects 2021-06-02 14:08:37 -07:00
devlink-region.rst devlink: report maximum number of snapshots with regions 2021-10-01 14:28:55 +01:00
devlink-reload.rst
devlink-resource.rst mlxsw: Register physical ports as a devlink resource 2021-01-22 20:42:13 -08:00
devlink-trap.rst Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
hns3.rst devlink: add documentation for hns3 driver 2021-07-26 12:16:03 +01:00
ice.rst ice: support immediate firmware activation via devlink reload 2021-12-15 08:40:38 -08:00
index.rst devlink: add documentation for octeontx2 driver 2021-10-28 14:35:34 +01:00
ionic.rst
iosm.rst net: wwan: iosm: correct devlink extra params 2021-10-02 16:05:20 +01:00
mlx4.rst
mlx5.rst net/mlx5: Let user configure max_macs generic param 2021-12-21 19:08:55 -08:00
mlxsw.rst
mv88e6xxx.rst
netdevsim.rst Documentation: devlink rate objects 2021-06-02 14:08:37 -07:00
nfp.rst
octeontx2.rst devlink: add documentation for octeontx2 driver 2021-10-28 14:35:34 +01:00
prestera.rst documentation: networking: devlink: fix prestera.rst formatting that causes build warnings 2021-06-17 11:22:46 -07:00
qed.rst
ti-cpsw-switch.rst