User Manual

A gateway that is configured to work in ALL VLAN mode cannot accept login
requests from
vNics that do not support this mode
host admin vNics that were not configured to work in ALL VLAN mode, by set-
ting the vlan-id value to a 'all' as as described in
Section , “Creating vNICs that
Support ALL VLAN Mode”, on page 71
.
Rev 2.2-1.0.1
Mellanox Technologies
71
Creating vNICs that Support ALL VLAN Mode
VLANs are created on a vNIC that supports ALL VLAN mode using "vconfig".
net-admin vNics
The net-admin vNic supports ALL VLAN mode once it is created on a gateway configured with All-
VLAN mode.
host-admin vNics
To create an ALL VLAN vnic, set the VLAN's ID to 'all'.
A gateway that is configured to work in ALL VLAN mode, can only accept login requests from hosts that
are also working in a VLAN mode. e.g. the VLAN ID must be set to 'all'.
This is an example of how to create an ALL VLAN vNic using the mlx4_vnic.conf file:
name=eth44 mac=00:25:8B:27:14:78 ib_port=mlx4_0:1 vid=all vnic_id=5
bx=00:00:00:00:00:00:04:B2 eport=A10
To create an All-VLAN vNic using a specific configuration file, add the following line to the con-
figuration file:
VNICVLAN=all
For further information on how to create host-admin vNics, please see Section 4.3.2.1, “EoIB
Host Administered vNic”, on page 63 EoIB Host Administered vNic.
Checking the Configuration
To verify the gateway / vNic is configured with the All-VLAN mode, use the mlx4_vnic_info
script.
Gateway Support
To verify the gateway is configured to All-VLAN mode. Run:
mlx4_vnic_info -g <GW-NAME>
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