mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
cc9defcbb8
Register "enable_roce" param, default value is RoCE enabled. Current configuration is stored on mlx5_core_dev and exposed to user through the cmode runtime devlink param. Changing configuration requires changing the cmode driverinit devlink param and calling devlink reload. Signed-off-by: Michael Guralnik <michaelgur@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
18 lines
645 B
Plaintext
18 lines
645 B
Plaintext
flow_steering_mode [DEVICE, DRIVER-SPECIFIC]
|
|
Controls the flow steering mode of the driver.
|
|
Two modes are supported:
|
|
1. 'dmfs' - Device managed flow steering.
|
|
2. 'smfs - Software/Driver managed flow steering.
|
|
In DMFS mode, the HW steering entities are created and
|
|
managed through the Firmware.
|
|
In SMFS mode, the HW steering entities are created and
|
|
managed though by the driver directly into Hardware
|
|
without firmware intervention.
|
|
Type: String
|
|
Configuration mode: runtime
|
|
|
|
enable_roce [DEVICE, GENERIC]
|
|
Enable handling of RoCE traffic in the device.
|
|
Defaultly enabled.
|
|
Configuration mode: driverinit
|