Mellanox NIC for BLX with DPDK support
A Citrix ADC BLX appliance deployed in DPDK mode supports Mellanox NICs with MLX5 DPDK driver. Configuring Mellanox NICs for a Citrix ADC BLX appliance with DPDK support consists of the following steps:
- Download and install Mellanox OpenFabrics Enterprise Distribution on the Linux host
- Configure the Citrix ADC BLX appliance for DPDK bound Mellanox NICs
Before you Begin
Before you start configuring the Mellanox NICs for a Citrix ADC BLX appliance with DPDK support, make sure that:
DPDK is configured on the Linux host as well on the Citrix ADC BLX appliance. For more information, see:
Download and install Mellanox OpenFabrics Enterprise Distribution on the Linux host
Mellanox OFED (MLNX_OFED) is a Mellanox tested and packaged version of OpenFabrics Enterprise Distribution (OFED). Mellanox OFED is used for running the Mellanox NICs on a Linux host. Download the Mellanox OFED package from the official Mellanox website to the Linux host. Then, install the Mellanox OFED DPDK libraries and kernel modules on the Linux host.
To download Mellanox OFED package on the Linux host:
Access the official Mellanox OFED page at Mellanox OpenFabrics Enterprise Distribution for Linux (MLNX OFED).
Download the appropriate Mellanox OFED package to the Linux host and then install the package. For more information on downloading and installing the Mellanox OFED package, see the official Mellanox OFED for Linux documenation.
To install the Mellanox OFED DPDK libraries on the Linux host:
Run the following command in the Linux host CLI:
./mlnxofedinstall --upstream-libs –dpdk
Configure the Citrix ADC BLX appliance for DPDK bound Mellanox NICs
For adding the DPDK bound Mellanox NICs to the Citrix ADC BLX appliance, you must add the
dpdk-non-uio-intf parameter in the Citrix ADC BLX configuration file (blx.conf). Then, you set the
dpdk-non-uio-intf parameter with the name of the DPDK bound Mellanox NICs.
To configure the Citrix ADC BLX appliance for Mellanox NICs DPDK support:
Open the Citrix ADC BLX configuration file (blx.conf) present in the Linux host at:
blx-system-configsection of the blx.conf file, add the
dpdk-non-uio-intfparameter. Then, specify the names of the DPDK bound Mellanox NICs (as shown on the Linux CLI), which you want to add to the Citrix ADC BLX appliance. Specify the names of the NICs separated by commas.
dpdk-non-uio-intf: <Mellanox NIC name>, <Mellanox NIC name>, ...
dpdk-non-uio-intf: ens1f1, ens1f2
dpdk-non-uio-intfis not present by default in the blx.conf file.