To set nmlx5_core parameters:
esxcli system module parameters set -m nmlx5_core -p <parameter>=<value>
To show the values of the parameters:
esxcli system module parameters list -m <module name>
For the changes to take effect, reboot the host.
nmlx5_core Module Parameters
Name | Description | Values |
---|---|---|
DRSS | Number of hardware queues for Default Queue (DEFQ) RSS. Note: This parameter replaces the previously used “drss” parameter which is now obsolete. |
When this value is != 0, DEFQ RSS is enabled with 1 RSS Uplink queue that manages the 'drss' hardware queues. Notes:
|
ecn | Enables the ECN feature |
|
enable_nmlx_debug | Enables debug prints for the core module. |
|
max_vfs | max_vfs is an array of comma separated integer values, that represent the amount of VFs to open from each port. For example: max_vfs = 1,1,2,2, will open a single VF per port on the first NIC and 2 VFs per port on second NIC. The order of the NICs is determined by pci SBDF number. Note: VFs creation based on the system resources limitations. |
N number of VF to allocate over each port Note: The amount of values provided in the max_vfs array should not exceed the supported_num_ports module parameter value. |
mst_recovery | Enables recovery mode (only NMST module is loaded). |
|
pfcrx | Priority based Flow Control policy on RX. |
It is an 8 bits bit mask, where each bit indicates a priority [0-7]. Bit values:
Note: The pfcrx and pfctx values must be identical. |
pfctx | Priority based Flow Control policy on TX. |
It is an 8 bits bit mask, where each bit indicates a priority [0-7]. Bit values:
Note: The pfcrx and pfctx values must be identical. |
rss | Number of hardware queues for NetQ RSS. Note: This parameter replaces the previously used “rss” parameter which is now obsolete. |
When this value is != 0, NetQ RSS is enabled with 1 RSS uplink queue that manages the 'rss' hardware queues. Notes:
|
supported_num_ports | Sets the maximum supported ports. | 1-8 Default 1 Note: Before installing new cards, you must modify the maximum number of the supported ports to include the additional new ports. |
dropless_rq | Enable dropless RQ When this feature is enabled, packets that are received while the software ring is full will not be immediately dropped. The firmware will wait a certain period of time assuming the software will post new WQEs, otherwise the packets will be dropped. |
|