Setting and Viewing Driver Parameter Values
A comprehensive guide is available at https://knowledge.broadcom.com/external/article/310348/configuring-advanced-driver-module-param.html
Set Parameters
Parameter settings are persistent across reboots.
esxcfg-module -s "param1=value1 param2=value2" nmlx5_core
esxcfg-module -s "param1=value1" nmlx5_rdma
Set Array Parameters
esxcfg-module -s "max_vfs=8,8" nmlx5_core
View Currently Configured Parameters
esxcfg-module -g nmlx5_core
esxcfg-module -g nmlx5_rdma
List Available Parameters and Descriptions
esxcli system module parameters list -m nmlx5_core
esxcli system module parameters list -m nmlx5_rdma
Parameters
nmlx5_core
|
Parameter |
Description |
Type |
Default |
Range |
Notes |
|---|---|---|---|---|---|
|
|
Number of PCI VFs to initialize per PF/port |
uint[] |
|
|
Array is one value per port/PF |
|
|
Max PCI VFs to initialize as DVX devices |
uint[] |
|
|
Must align with |
|
|
Add X MB to the VF mempool size |
int |
|
|
Ignored if |
|
|
Enable debug prints |
int |
|
|
Deprecated; driver forces |
|
|
Datapath control options bitmask |
ulong |
|
|
|
|
|
Enable recovery mode (only NMST module loaded) |
int |
|
|
|
|
|
Total number of ports to reserve memory for |
uint |
|
|
|
|
|
Port policy for switch priority and packet color from incoming packets |
int |
|
|
|
|
|
Enable TRUST_DSCP and map all priorities to the same class |
uint |
|
|
|
|
|
UPT datapath provider mode |
uint |
|
|
|
nmlx5_rdma
|
Parameter |
Description |
Type |
Default |
Range |
Notes |
|---|---|---|---|---|---|
|
|
Enable debug prints |
int |
|
|
Deprecated; driver forces |
|
|
PCP value to force on outgoing RoCE traffic |
int |
|
|
Cannot be active when |
|
|
DSCP value to force on outgoing RoCE traffic |
int |
|
|
|
|
|
Map the three MSBs of DSCP to PCP on outgoing RoCE traffic |
int |
|
|
Cannot be enabled when |
|
|
RoCE versions enable option |
int |
|
|
Not in inbox builds (VMKAPI ≥ 2.10) |
Last updated: