SRIOV deployment troubleshooting
While deploying SRIOV, you may encounter some issues. The most common ones are explained in this document.
Uplink interface missing in fpp-manager
If there are no uplink interfaces present in the VPPSwitch pod, access the pod and execute:
Search for output like the following:
If the above output is present in VPP logs, enable IOMMU grouping if the node is able to use it, or configure the no-IOMMU mode for the VFIO kernel module described below.
Configuration for VFIO-no-IOMMU platform
When a worker node does not support IOMMU, you can run VPPSwitch by disabling IOMMU. Make sure that the following boot options are not set in /proc/cmdline:
In the case of a platform that does not support IOMMU, DPDK driver can pick up NIC (PF/VF) only after you enable the unsafe no-IOMMU mode:
You must apply the above setting after each node restart.
To check if the kernel supports no-IOMMU module, run:
The output confirms that the no-IOMMU module is supported:
SRIOV VF MAC conflict
When using SRIOV VF as the FPP uplink, VPP inside the container sets the MAC address generated for the DPDK interface. SRIOV driver on the NIC side sets the VF MAC address after creating the VF. Overriding it inside the container by VPP results in a warning message in dmesg:
The following kernel and driver versions are known not to work:
- kernels:
5.4.0-131-generic,5.4.0-148-generic - Intel NIC driver i40e in version
2.8.20-k
Setting different MAC addresses on a node and in VPP may sometimes result in connectivity issues.
As a workaround, set the MAC address of a node to 00:00:00:00:00:00 on the VF that would be used for the FPP uplink. Sample bash command:
Set the $NIC_LIST variable to the name of the network interface for which the VFs are created.
This action should be done by the cluster operator during the maintenance window, because setting the MAC address interrupts the network connectivity on the VF used in FPP. After you reset the MAC, FPP must be restarted.
MAC address can be set also in the NetworkAttachmentDefinition. This requires defining SRIOV NADs used for uplinks by hand on the Core Cluster, for example:
This approach enables automatic MAC reset done by SRIOV-CNI on VFs assigned by SRIOV operator to the FPP pod. It requires the FPP definition to be adjusted to use new NADs and after VPPDeployment modification, FPP pods are restarted. This approach does not affect other workloads using the VFs.