SR-IOV interfaces cannot pass more than 5 vlans
book
Article ID: 404336
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
- Limitation of scaling VLANS in SR-IOV VF with intel icen/i40en drivers.
- VMnics enabled with SRIOV could not pass more than 5 vlans.
Cause
The issue is caused because the trust_all_vfs feature on the vmnics is not enabled.
Resolution
- Get the 'World ID' of the running VM using the command:
esxcli vm process list
- Get NIC SR-IOV port name using the command:
esxcli network nic list
- Get NIC SR-IOV port name and VF ID associated with the VM using the command. VM can be identified by checking the world ID of the vm from the step 1.
esxcli network sriovnic vf list -n <vmnic name>
- To enable VF trust mode, use the following command:
esxcli intnet sriovnic vf set -t true -v <vf number> -n <vmnic name>
Where,
<vmnic name> is the SR-IOV port to which the VM is associated.
<vf number> is the VF ID assigned to the VM instance.
<array of int> , 0 = disable (default), 1 = enable
- Reboot the VMware ESXi host server.
To verify the VF is configured as trusted. use the following command.
esxcli intnet sriovnic vf get -v <vf number> -n <vmnic name>
Feedback
thumb_up
Yes
thumb_down
No