User Manual

Features Overview and ConfigurationRev 2.3-1.0.1
Mellanox Technologies
146
Example:
# mlx4_vnic_info -g A2
IOA_PORT mlx4_0:1
BX_NAME bridge-119c64
BX_GUID 00:02:c9:03:00:11:61:67
EPORT_NAME A2
EPORT_ID 63
STATE connected
GW_TYPE LEGACY
PKEY 0xffff
ALL_VLAN yes
vNic Support
To verify the vNIC is configured to All-VLAN mode. Run:
mlx4_vnic_info -i <interface>
Example:
# mlx4_vnic_info -i eth204
NETDEV_NAME eth204
NETDEV_LINK up
NETDEV_OPEN yes
GW_TYPE LEGACY
ALL_VLAN yes
For further information on mlx4_vnic_info script, please see Section 3.2.5.3.3.1,
“mlx4_vnic_info”, on page 142.
3.2.5.3.4 Advanced EoIB Settings
3.2.5.3.4.1 Module Parameters
The mlx4_vnic driver supports the following module parameters. These parameters are intended
to enable more specific configuration of the mlx4_vnic driver to customer needs. The mlx4_vnic
is also effected by module parameters of other modules such as set_4k_mtu of mlx4_core. This
modules are not addressed in this section.
The available module parameters include:
tx_rings_num: Number of TX rings, use 0 for #cpus [default 0, max 32]
tx_rings_len: Length of TX rings, must be power of two [default 1024, max 8K]
rx_rings_num: Number of RX rings, use 0 for #cpus [default 0, max 32]
rx_rings_len: Length of RX rings, must be power of two [default 2048, max 8K]
vnic_net_admin: Network administration enabled [default 1]
lro_num: Number of LRO sessions per ring, use 0 to disable LRO [default 32, max 32]
eport_state_enforce: Bring vNic up only when corresponding External Port is up [default
0]
discovery_pkeys: Vector of up to 24 PKEYs to be used for discovery [default 0xFFFF]
(array of int)
For all module parameters list and description, run:
mlx4_vnic_info -I