For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Deploy Fast Path Provider on multiple nodes using AF_XDP

This document describes the prerequisites and steps for a multi-node deployment of Fast Path Provider (FPP) using AF_XDP driver. This guide uses the fpp-af-xdp composition, which automatically creates a macvlan NetworkAttachmentDefinition for uplink connectivity.

For deployments using SRIOV, see SRIOV Networks as uplinks. For direct NIC assignment, see direct NIC assignment.

Prerequisites

Terminology used in the installation document:

  • FPP node - FPP pod in the node mode, which acts as a virtual switch on each Data Plane node
  • Uplink - network interface, virtual or physical, which is used by FPP node to communicate inside the cluster and create a VXLAN mesh to interconnect workload CNFs between nodes

How it works

The fpp-af-xdp composition uses the AF_XDP (Address Family - eXpress Data Path) driver for uplink connectivity. Unlike DPDK or SRIOV, AF_XDP works with standard Linux network interfaces without requiring specialized hardware or drivers.

The composition automatically:

  1. Creates a macvlan NetworkAttachmentDefinition on the target cluster
  2. Configures the FPP pods to use AF_XDP NIC mappings with the macvlan interface
  3. Uses WhereaboutsOpens in a new tab for IP address management within the uplink network

Steps

  1. Identify the network interface on the Core Cluster nodes that you intend to use for FPP uplinks. Any Linux interface with cross-node connectivity is suitable.
  2. Create an FPPDeployment object on the Management Cluster using the fpp-af-xdp composition, and configure its basic options.
  3. Configure the AF_XDP uplinks by properly defining the spec.afXDPComposition field.
  4. Adjust the VPP configuration as needed. Refer to the available configuration options for more details.
  5. Verify the FPPDeployment status to ensure it is working correctly.

Configuration example

yaml

Configuration options

Basic configuration

For basic FPPDeployment options, see Single Node deployment guide.

For purpose of this guide, we will use linux kernel interface bond0.

Enable FPP Overlay Network monitoring

FPP 3.0.5 introduces node-to-node monitoring using an FPPNetwork with VXLAN VNI 1 over the Uplink interface. You can enable this feature (disabled by default) by setting spec.enableUplinkMonitoring to true within the FPPDeployment, and then monitor the network state on the FPP Overview Grafana dashboard. For more details, see the docs.

The spec.afXDPComposition section configures the uplink network:

  • masterInterface - Name of the host network interface to use as the master for the macvlan network attachment (e.g., bond0, eth0). This interface must exist on all Data Plane nodes.
  • uplinkCIDR - CIDR for the FPP overlay network (e.g., 10.10.0.0/24). Each FPP pod receives an IP address from this range via Whereabouts.
yaml

Note

AF_XDP uses a single uplink interface, so bonding configuration is not applicable. For bonded uplinks, use the SRIOV deployment instead.

VPP configuration

You can customize VPP behavior through the spec.vppConfigs field. A typical configuration for multi-node deployments:

yaml

Verification

First, check if FPPDeployment was setup correctly.

Next, verify that the fpp-node-macvlan NetworkAttachmentDefinition was created on the Core Cluster:

bash

Sample output:

yaml

The uplink interfaces are created for each worker node, you can verify its existence using kubectl on the Core Cluster:

bash

Sample output:

text

You can also verify the VPP interfaces by running the following command in the FPP node pods:

bash

Sample output:

text

Once enabled in the FPPDeployment, you can verify node-to-node connectivity by viewing the FPP Overlay Network status on the FPP Overview Grafana dashboard.

Otherwise, you can initiate a manual ping using the uplink-xdp0 interface. First, determine the IP addresses of the FPP nodes by executing the following kubectl command on the Core Cluster:

bash

Sample output:

text

This IP address is allocated from the IPAM range defined in the FPPDeployment's spec.afXDPComposition.uplinkCIDR field (e.g., 10.10.0.0/24).

Next, execute the vppctl ping command within the FPP node pod located on the {worker-node-name-1} node:

bash

Proper output:

text