Use this section to attach the SR-IOV virtual function interface in VMware ESXi 6.7 and above versions.
Driver and Firmware Versions
Note |
---|
Ensure the ESXi version is 6.7 or above, before proceeding. |
Driver Versions
Note |
---|
Ensure the driver versions for each card are exactly as mentioned. The SBC is not compatible with newer versions or older versions of the drivers. |
Caption |
---|
0 | Table |
---|
1 | Compatible driver versions for SBC Core versions 0910.02.04 and newer:01.01 or onwards |
---|
|
Driver | Version |
---|
X710 i40en | 1.10.9 or above | X540 ixgben | 1.7.20 |
|
Caption |
---|
0 | Table |
---|
1 | Compatible driver versions for SBC 0910.0201.00, 09.02.01, and 09.02.03 |
---|
|
Driver | Version |
---|
X710 i40en | 1.8.6 | X540 ixgben | 1.7.20 |
|
Firmware Version
Use the latest firmware for the specific NIC corresponding to the hardware platform.
Attaching the SR-IOV
Use the following steps to attach the SR-IOV:
- The 10G card (X540 or X710) contains two ports named as vmnic in VMware. Go to Networking > Physical NICs to view the list of VM NICs.
Caption |
---|
0 | Figure |
---|
1 | List of Physical NICs |
---|
|
![SRIOV1.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Select the VM NICs to enable the SRIOV and use as PKT0 or PKT1.
Caption |
---|
|
![SRIOV2.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Anchor |
---|
| PCI Device Address |
---|
| PCI Device Address |
---|
|
Click the selected VM NICs to obtain their PCI addresses. Caption |
---|
0 | Figure |
---|
1 | PCI Address of NICs |
---|
|
![SRIOV3.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
![SRIOV4.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
- Go to Host > Manage > Hardware > PCI Devices. Select the PCI devices obtained in the above step, one after the other. Enable the SRIOV with the number of virtual functions required.
- Select the PCI device and click Configure SR-IOV.
Caption |
---|
0 | Figure |
---|
1 | Select PCI Device > Configure SRIOV |
---|
|
![SRIOV5.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
- Enter the number of virtual functions required depending on the number of VMs to create using the VM NIC.
Caption |
---|
0 | Figure |
---|
1 | Number of Virtual Functions |
---|
|
![SRIOV6.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
- Save and repeat steps Attach SR-IOV Interface in VMware ESXi 6.7 and Above and Attach SR-IOV Interface in VMware ESXi 6.7 and Above for the VM NICs that require SRIOV enabling.
Click Reboot Host to enable SRIOV on the VM NICs. After the Host reboots the virtual functions are created for the PCI devices
Caption |
---|
|
![SRIOV7.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Caption |
---|
0 | Figure |
---|
1 | Virtual Functions Active |
---|
|
![SRIOV8.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Go to Networking > Virtual switches and click Add standard virtual switch.
Caption |
---|
0 | Figure |
---|
1 | Add Virtual Standard Switch |
---|
|
![SRIOV9.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Give a name to the switch and select the VM NIC in Uplink 1 for which SRIOV is enabled. Click Add.
Anchor |
---|
| Virtual Switch |
---|
| Virtual Switch |
---|
|
Repeat if there are other VM NICs. Caption |
---|
0 | Figure |
---|
1 | Add Standard Virtual Machine |
---|
|
![SRIOV10.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Go to Networking > Port Groups. Click Add port group.
Caption |
---|
|
![SRIOV11.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Anchor |
---|
| Add Port Group |
---|
| Add Port Group |
---|
|
To add the Port Group, enter the following details and click Add.When creating or loading the SBC, enter the Network Adapter Details as shown below:
Click Add network adapter. Do this twice; once for PKT0 and once for PKT1.
In the New Network Adapter drop down menu, for the PKT0 select the Port group created in the previous step.
In the Adapter Type drop down menu, select SR-IOV passthrough.
In the Physical function drop down menu, select the PCI device the Port group belongs to (the PCI device obtained before).
Retain the default values for the other options.
Caption |
---|
0 | Figure |
---|
1 | Network Adapter Details - PKT0 |
---|
|
![SRIOV13.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
Caption |
---|
0 | Figure |
---|
1 | Network Adapter Details - PKT1 |
---|
|
![SRIOV14.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
- Enter the other required values to start up the SBC in the VMware.
- Click Save or Finish.
Readjust SR-IOV Network Adapter Addition Sequence
Sometimes, with the ESXi 6.7U3, the order of the SR-IOV network adapters are not in same sequence as they were added after saving the SR-IOV network adapters. This behavior is not consistent and the order varies on different setups.
If the sequence shown after saving does not match the sequence in which the SR-IOV network adapters were added, detach the SR-IOV network adapters from the VM and readjust the sequence in which the SR-IOV network adapters were added, so that after saving, the VM has access to the correct sequence as expected by the SBC.
Caption |
---|
0 | Table |
---|
1 | SR-IOV Adapter Sequence |
---|
|
Sequence | Description |
---|
MGT0, HA, PKT0, PKT1 | For setup with two packet port | MGT0, HA, PKT0, PKT1, MGT1 | For setup with two packet port and extra management interface | MGT0, HA, PKT0_P, PKT1_P, PKT0_S, PKT1_S | For port redundancy setup with 4 packet port | MGT0, HA, PKT0_P, PKT1_P, PKT0_S, PKT1_S, MGT1 | For port redundancy setup with 4 packet port and extra management interface |
|
Example SR-IOV Network Adapters Order
When the PKT0 and PKT1 SR-IOV adapters are added in sequence, after saving the networks, the order of SR-IOV network adapters is shown below (example only).
Caption |
---|
0 | Figure |
---|
1 | Order of SR-IOV Network Adapters |
---|
|
![SRIOV15.png](/plugins/servlet/confluence/placeholder/unknown-attachment?locale=en_GB&version=2)
|
For the example shown, delete the SR-IOV networks and attach the SR-IOV network adapters such that the order is PKT1 and then PKT0.
Power on the VM to create or start up the SBC.