linux/Documentation/networking/devlink
William Tu 6f83b62283 Documentation: mlx5.rst: Add note for eswitch MD
Add a note when using esw_port_metadata. The parameter has runtime
mode but setting it does not take effect immediately. Setting it must
happen in legacy mode, and the port metadata takes effects when the
switchdev mode is enabled.

Disable eswitch port metadata::
  $ devlink dev param set pci/0000:06:00.0 name esw_port_metadata value \
    false cmode runtime
Change eswitch mode to switchdev mode where after choosing the metadata value::
  $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev

Note that other mlx5 devlink runtime parameters, esw_multiport and
flow_steering_mode, do not have this limitation.

Signed-off-by: William Tu <witu@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-01-27 14:29:20 +00: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: introduce flash update overwrite mask 2020-09-25 17:20:57 -07:00
devlink-health.rst devlink: Update devlink health documentation 2023-02-15 19:15:44 -08:00
devlink-info.rst net: devlink: add DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER 2022-12-12 11:39:13 +01:00
devlink-linecard.rst Revert "Merge branch 'mlxsw-line-card-model'" 2022-05-05 15:47:23 -07:00
devlink-params.rst devlink: Clarifies max_macs generic devlink param 2021-12-21 19:08:55 -08:00
devlink-port.rst Documentation work keeps chugging along; stuff for 6.6 includes: 2023-08-30 20:05:42 -07:00
devlink-region.rst devlink: support directly reading from region memory 2022-11-30 20:54:30 -08:00
devlink-reload.rst Documentation: devlink: extend reload-reinit description 2023-11-30 12:31:23 +01:00
devlink-resource.rst mlxsw: Register physical ports as a devlink resource 2021-01-22 20:42:13 -08:00
devlink-selftests.rst devlink: introduce framework for selftests 2022-07-28 21:56:53 -07:00
devlink-trap.rst devlink: Add packet traps for 802.1X operation 2022-11-09 19:06:14 -08:00
etas_es58x.rst Documentation: devlink: add devlink documentation for the etas_es58x driver 2022-12-12 11:39:13 +01:00
hns3.rst devlink: add documentation for hns3 driver 2021-07-26 12:16:03 +01:00
i40e.rst i40e: Align devlink info versions with ice driver and add docs 2023-10-19 09:03:56 -07:00
ice.rst ice: add CGU info to devlink info callback 2023-12-05 11:40:12 +01:00
index.rst i40e: Align devlink info versions with ice driver and add docs 2023-10-19 09:03:56 -07: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
mlx4.rst devlink: add a file documenting devlink regions 2020-01-10 17:07:00 -08:00
mlx5.rst Documentation: mlx5.rst: Add note for eswitch MD 2024-01-27 14:29:20 +00: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 Documentation: networking: correct spelling 2023-01-31 13:00:47 +01:00
nfp.rst devlink: document info versions for each driver 2020-01-10 17:06:59 -08:00
octeontx2.rst devlink: add documentation for octeontx2 driver 2021-10-28 14:35:34 +01: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: add devlink info support for ef100 2023-02-16 12:03:12 +01:00
ti-cpsw-switch.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00