Enable DPDK for Tungsten Fabric¶
Available since MOS Ussuri Update TechPreview
This section describes how to enable DPDK mode for the Tungsten Fabric (TF) vRouter.
To enable DPDK for TF:
Install the required drivers on the host operating system. The
mlnxdrivers can be used with the TF vRouter agent in DPDK mode. For details about DPDK drivers, see Linux Drivers.
Verify that DPDK NICs are not used on the host operating system.
For use in the Linux user space, DPDK NICs will be bound to specific Linux drivers, required by PMDs. In such a way, bounded NICs are not available for usage by standard Linux network utilities. Therefore, allocate a dedicated NIC(s) for the vRouter deployment in DPDK mode.
Enable huge pages on the host as described in enable-hugepages-bm.
Mark the hosts for deployment with DPDK with the
Open the TF Operator custom resource for editing:
kubectl -n tf edit tfoperators.operator.tf.mirantis.com openstack-tf
spec: controllers: tf-vrouter: agent-dpdk: enabled: true