User Manual

BXADDR=BX001
BXEPORT=A10
VNICIBPORT=mlx4_0:1
VNICVLAN=3 (Optional field)
GW_PKEY=0xfff1
Rev 2.3-1.0.1
Mellanox Technologies
139
The fields used in the file for vNic configuration have the following meaning:
Table 6 - Red Hat Linux mlx4_vnic.conf file format
Field Description
DEVICE An optional field. The name of the interface that is displayed when
running ifconfig. If it is not present, the trailer of the configuration
file name (e.g. ifcfg-eth47 => "eth47") is used instead.
HWADDR The mac address to assign the vNic.
BXADDR The BridgeX box system GUID or system name string.
BXEPORT The string describing the eport name.
VNICVLAN [Optional field] If it exists, the vNic will be assigned the VLAN ID
specified. This value must be between 0 and 4095 or 'all' for ALL-
VLAN feature.
VNICIBPORT The device name and port number in the form [device name]:[port
number].
The device name can be retrieved by running ibv_devinfo
and using the output of hca_id field. The port number can have a
value of 1 or 2.
GW_PKEY [Optional field] If discovery_pkey module parameter is set, this value
will control on what partition would be used to discover the gateways.
For more information about discovery_pkeys please refer to
Section 3.2.5.3.3.5, “Discovery Partitions Configuration”, on
page 144
Other fields available for regular eth interfaces in the ifcfg-ethX files may also be used.
3.2.5.3.2.4 mlx4_vnic_confd
Once the configuration files are updated, the host administered vNics can be created. To manage
the host administrated vNics, run the following script:
Usage: /etc/init.d/mlx4_vnic_confd {start|stop|restart|reload|status}
This script manages host administrated vNics only, to retrieve general information about the
vNics on the system including network administrated vNics, refer to Section 3.2.5.3.3.1,
“mlx4_vnic_info”, on page 142
.
When using BXADDR/bx field, all vNics BX address configuration should be consis-
tent: either all of them use GUID format, or name format.