diff options
author | William Tu <witu@nvidia.com> | 2024-01-24 20:00:41 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-27 14:29:20 +0000 |
commit | 6f83b62283edc295be1cfa18dd49d4f278575118 (patch) | |
tree | e6bd33a5fcfec11b74b1bfad0fbacc80264e2c68 /fs/pnode.h | |
parent | 599b75a3b753ad06444a4e9667cb0b7545c297c3 (diff) | |
download | linux-6f83b62283edc295be1cfa18dd49d4f278575118.tar.gz linux-6f83b62283edc295be1cfa18dd49d4f278575118.tar.bz2 linux-6f83b62283edc295be1cfa18dd49d4f278575118.zip |
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>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions