User Manual
Features Overview and ConfigurationRev 2.3-1.0.1
Mellanox Technologies
188
3.4.1.8.1 Configuring VGT+
The default operating mode is VGT:
cat /sys/class/net/eth5/vf0/vlan_set
oper:
admin:
Both states (operational and administrative) are empty.
If you set the vlan_set parameter with more the 10 VLAN IDs, the driver chooses the
first 10 VLAN IDs provided and ignores all the rest.
To enable VGT+ mode:
Step 1. Set the corresponding port/VF (in the example below port eth5 VF0) list of allowed
VLANs.
echo 0 1 2 3 4 5 6 7 8 9 > /sys/class/net/eth5/vf0/vlan_set
Where 0 specifies if untagged/priority tagged traffic is allowed.
Meaning if the below command is ran, you will not be able to send/receive untagged traf-
fic.
echo 1 2 3 4 5 6 7 8 9 10 > /sys/class/net/eth5/vf0/vlan_set
Step 2. Reboot the relevant VM for changes to take effect.
(or run:
/etc/init.d/openibd restart)
To disable VGT+ mode:
Step 1. Set the VLAN.
echo > /sys/class/net/eth5/vf0/vlan_set
Step 2. Reboot the relevant VM for changes to take effect.
(or run:
/etc/init.d/openibd restart)