linux/Documentation/networking/devlink
Nikolay Aleksandrov 38c35fdd80 net/mlx5: implement max_sfs parameter
Implement max_sfs generic parameter to allow users to control the total
light-weight NIC subfunctions that can be created using devlink instead
of external vendor tools. A value of 0 will effectively disable creation
of new subfunction devices. A warning is sent to user-space via extack
(returning extack without error code is interpreted as a warning by
user-space tools). The maximum value is capped at U16_MAX.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260806073037.3001886-3-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-08-11 18:06:30 -07: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: Add devlink support for ENABLE_ROCE nvm parameter 2025-03-18 10:25:22 +01:00
devlink-dpipe.rst devlink: fix typo in documentation 2021-03-13 18:11:24 -08:00
devlink-eswitch-attr.rst devlink: Introduce switchdev_inactive eswitch mode 2025-11-11 13:17:53 +01:00
devlink-flash.rst devlink: introduce flash update overwrite mask 2020-09-25 17:20:57 -07:00
devlink-health.rst docs: net: fix minor issues with devlink docs 2026-06-15 15:42:53 -07:00
devlink-info.rst ixgbe: add .info_get extension specific for E610 devices 2025-04-15 07:36:32 -07:00
devlink-linecard.rst Revert "Merge branch 'mlxsw-line-card-model'" 2022-05-05 15:47:23 -07:00
devlink-params.rst devlink: add generic device max_sfs parameter 2026-08-11 18:06:30 -07:00
devlink-port.rst devlink: print controller prefix for non-zero controller 2026-07-08 11:23:49 +02:00
devlink-region.rst docs: networking: devlink: capitalise length value 2024-07-08 13:39:07 +01:00
devlink-reload.rst Documentation: devlink: extend reload-reinit description 2023-11-30 12:31:23 +01:00
devlink-resource.rst devlink: Document resource scope filtering 2026-04-08 19:55:39 -07:00
devlink-selftests.rst devlink: introduce framework for selftests 2022-07-28 21:56:53 -07:00
devlink-shared.rst documentation: networking: add shared devlink documentation 2026-03-14 13:08:50 -07:00
devlink-trap.rst docs: net: fix minor issues with devlink docs 2026-06-15 15:42:53 -07:00
etas_es58x.rst Documentation: devlink: add devlink documentation for the etas_es58x driver 2022-12-12 11:39:13 +01:00
hns3.rst net: hns3: add support to query scc version by devlink info 2024-04-12 18:58:46 -07:00
i40e.rst i40e: support generic devlink param "max_mac_per_vf" 2025-11-06 12:57:31 -08:00
ice.rst ice: devlink PF MSI-X max and min parameter 2025-02-05 09:02:44 -08:00
index.rst devlink: Update nested instance locking comment 2026-07-07 11:31:26 +02:00
ionic.rst devlink: add documentation for ionic device driver 2020-01-10 17:07:00 -08:00
iosm.rst net: wwan: iosm: correct devlink extra params 2021-10-02 16:05:20 +01:00
ixgbe.rst ixgbe: devlink: add devlink region support for E610 2025-04-29 15:13:44 -07:00
kvaser_pciefd.rst Documentation: devlink: add devlink documentation for the kvaser_pciefd driver 2025-07-25 17:55:46 +02:00
kvaser_usb.rst Documentation: devlink: add devlink documentation for the kvaser_usb driver 2025-07-25 18:01:22 +02:00
mlx4.rst devlink: add a file documenting devlink regions 2020-01-10 17:07:00 -08:00
mlx5.rst net/mlx5: implement max_sfs parameter 2026-08-11 18:06:30 -07:00
mlxsw.rst mlxsw: core_linecards: Expose device PSID over device info 2022-07-26 13:56:36 -07:00
mv88e6xxx.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00
netdevsim.rst docs: netdevsim: fixe typo in netdevsim documentation 2025-07-01 17:38:50 -07:00
nfp.rst nfp: update devlink device info output 2024-04-12 11:40:09 +01:00
octeontx2.rst devlink: Add documentation for OcteonTx2 AF 2024-11-11 14:15:58 -08:00
prestera.rst Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
qed.rst devlink: fix typos in qed documentation 2020-01-15 23:14:31 +01:00
sfc.rst sfc: document devlink flash support 2025-02-11 17:12:17 -08:00
stmmac.rst Documentation: networking: devlink: stmmac: fix typo in phc_coarse_adj 2026-05-14 17:12:40 -07:00
ti-cpsw-switch.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00
zl3073x.rst dpll: zl3073x: Implement devlink flash callback 2025-09-15 08:08:39 -07:00