Home > Communication Service Provider Solutions > Telecom Multicloud Foundation > Red Hat > Guides > Red Hat Open Shift Container Platform Guides > Deployment Guide: Red Hat OpenShift Container Platform Reference Architecture for Telecom > Enabling DPDK
Prerequisites for enabling DPDK include:
The following steps show how to create multiple VFs by using a single physical function (PF), which is a single network device that is present in the compute node:
Notes:
As part of testing, DPDK virtual functions are created only in one specific compute node.
This work can be replicated across all compute if all compute nodes have the same NIC and are in the same slots. The following example is performed using a Mellanox card CX5 25 G.
[core@csah-pri dpdk]$ oc label node <compute node name> node-role.kubernetes.io/dpdk=””
[core@csah-pri dpdk]$ oc create -f <yaml file>
Note: The compute node reboots and applies the machine configuration.
[core@csah-pri dpdk]$ oc create -f <yaml file>
Note: For Mellanox cards, set deviceType to netdevice and isRdma to true.
[core@csah-pri sriov]$ oc get sriovnetworknodepolicies -n openshift-sriov-network-operator
Note: For Intel NICs being used for DPDK, it is not necessary to specify the ipam block.
[core@csah-pri dpdk]$ oc create -f <yaml file>
[core@csah-pri dpdk]$ oc get sriovnetwork -n dpdk
[core@csah-pri dpdk]$ oc create -f pod.yaml
Note: Similar validation performed for SR-IOV was tested for DPDK as well.