User Manual

Rev 2.2-1.0.1
Mellanox Technologies
65
Other fields available for regular eth interfaces in the ifcfg-ethX files may also be used.
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 4.3.3.1,
“mlx4_vnic_info”, on page 68
.
When using BXADDR/bx field, all vNics BX address configuration should be consis-
tent: either all of them use GUID format, or name format.
The MAC and VLAN values are set using the configuration files only, other tools such
as (vconfig) for VLAN modification, or (ifconfig) for MAC modification, are not sup-
ported.
4.3.2.2 EoIB Network Administered vNic
In network administered mode, the configuration of the vNic is done by the BridgeX®. If a vNic
is configured for a specific host, it will appear on that host once a connection is established
between the BridgeX and the mlx4_vnic module.
This connection between the mlx4_vnic mod-
ules and all available BridgeX boxes is established automatically when the mlx4_vnic module is
loaded. If the BridgeX is configured to remove the vNic, or if the connection between the host
and BridgeX is lost, the vNic interface will disappear (running ifconfig will not display the inter-
face). Similar to host administered vNics, a network administered, vNic resides on a specific
vHub.
For further information on how to configure a network administered vNic, please refer to
BridgeX documentation.
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 speci-
fied. 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 out-
put 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 4.3.3.5, “Discovery Partitions Configuration”, on page 69
Table 4 - Red Hat Linux mlx4_vnic.conf file format
Field Description