mlx5 devlink support¶
This document describes the devlink features implemented by the mlx5
device driver.
Parameters¶
Name |
Mode |
Validation |
|
driverinit |
Type: Boolean |
|
driverinit |
The range is between 64 and 4096. |
|
driverinit |
The range is between 64 and 4096. |
|
driverinit |
The range is between 1 and 2^31. Only power of 2 values are supported. |
The mlx5
driver also implements the following driver-specific
parameters.
Name |
Type |
Mode |
Description |
|
string |
runtime |
Controls the flow steering mode of the driver
|
|
u32 |
driverinit |
Control the number of large groups (size > 1) in the FDB table.
|
|
Boolean |
runtime |
Control MultiPort E-Switch shared fdb mode. An experimental mode where a single E-Switch is used and all the vports and physical ports on the NIC are connected to it. An example is to send traffic from a VF that is created on PF0 to an uplink that is natively associated with the uplink of PF1 Note: Future devices, ConnectX-8 and onward, will eventually have this as the default to allow forwarding between all NIC ports in a single E-switch environment and the dual E-switch mode will likely get deprecated. Default: disabled |
|
u32 |
driverinit |
We refer to a TC NIC rule that involves forwarding as "hairpin". Hairpin queues are mlx5 hardware specific implementation for hardware forwarding of such packets. Control the number of hairpin queues. |
|
u32 |
driverinit |
Control the size (in packets) of the hairpin queues. |
The mlx5
driver supports reloading via DEVLINK_CMD_RELOAD
Info versions¶
The mlx5
driver reports the following versions
Name |
Type |
Description |
|
fixed |
Used to represent the board id of the device. |
|
stored, running |
Three digit major.minor.subminor firmware version number. |