Requirements
Your Core Cluster needs to be properly configured to support VPP deployments. Before you proceed with the deployment, make sure your Core Cluster meets the following requirements:
- Hugepages enabled
- Uplink connectivity
- cert-manager installedOpens in a new tab
- CNI v1.1.1+ with the static pluginOpens in a new tab
Depending on the chosen deployment composition, additional requirements apply:
Caution
Starting with Cennso 2.11.1, Whereabouts is no longer enabled by default in Core Clusters. If you use the fpp-af-xdp composition, you must enable Whereabouts explicitly before deploying FPP. See Enable Whereabouts for instructions.
AF_XDP requirements
The AF_XDP driver requires Linux kernel version 6.x or later. On Ubuntu 22.04, install the HWE kernel to meet this requirement:
After installation, reboot the node to use the new kernel. Verify the kernel version:
Expected output:
Caution
CAUTION: When you use AF_XDP, Generic Receive Offload (GRO) must be turned off on the host interface used for the uplink. With GRO enabled, the kernel coalesces incoming packets, which creates packets that can be too large and dropped by VPP. Disable GRO on the master interface (for example, eth0):
Verify that GRO is off:
Expected output:
IOMMU
Input–output memory management unit (IOMMU) needs to be enabled. It is required for the DPDK driver to use the isolation of IOMMU groups - for processor-based (northbridge) PCI root ports and controller hub-based (southbridge) PCI root ports. This is called Access Control Service (ACS) capabilities. This section details the configuration process.
HugePages
VPP (with DPDK) uses HugePages to increase memory access performance. Follow the HugePages section of the Data Plane configuration guide to enable them.
Uplink configuration
For creating an overlay networking between nodes in the cluster, FPP requires a network interface to be configured as uplink.
Three types of interfaces are supported for this role:
- AF_XDP with macvlan - uses standard Linux network interfaces (requires kernel 6.x+)
- SRIOV Virtual Functions - uses SRIOV VFs with DPDK driver
- Direct physical NICs assignment - uses physical NICs directly with DPDK driver
IPAM for uplinks
Unless you use FPP on a single node, uplinks need to have assigned IP addresses.
To achieve that, you can use an IPAM plugin, such as Whereabouts, or you can specify IP manually by VPPConfig spec.uplinkConfig.ips.
This configuration can be passed via the spec.vppConfigs field in the FPPDeployment resource.
For SRIOV VFs particularly, it's convenient to use WhereaboutsOpens in a new tab CNI IPAM plugin, as described in the Configure the SRIOV Operator step of the Deploy Fast Path Provider on multiple nodes using SRIOV networks as FPP uplinks document. The pod annotation expected by FPP is as follows:
For direct NIC attachment, you can use spec.uplinkConfig.ips in VPPConfig to assign the IPs to the interfaces. See the VPPConfig configuration example: