Using Virtual Functions with DPDK in OpenShift 4
summary
OpenShift 4 uses DPDK to bypass the kernel and attach a virtual function directly to a pod, requiring SR‑IOV operator setup, node labels via the node-feature-discovery operator, and a network-node-policy CRD that selects PFs and number of VFs. DPDK needs hugepages configured and devices bound with vfio-pci binding (Melanox requires netdevice + rdma=true). Build uses Red Hat’s DPDK builder image, test deploys pods with SR‑IOV networks and hugepages and verifies connectivity with ping; performance benchmarking and a blog with commands are forthcoming.
AI-written summary · about
chapters (28)
- 0:00Introduction
- 0:20Basic Linux Architecture
- 0:55Network packets
- 2:25DPDK Architecture
- 3:16DPDK Libraries
- 6:03Prerequisite
- 6:22Huge Pages
- 7:16Huge Page Pool
- 7:54IOV Network Operator
- 11:00IOV Project
- 12:20SRLV Network Operator
- 13:05No Feature Discovery Operator
- 13:38Install No Feature Discovery Operator
- 13:49Create No Feature Discovery RD
- 14:38Review Node Labels
- 15:09Configuring NICs
- 16:08Reviewing SRIOV
- 16:30Selecting NICs
- 17:00Device Type
- 18:04Network Node Policy
- 18:19Network Configuration
- 18:30Network Configuration Web Console
- 19:20Adding a secondary network
- 19:45Testing the process
- 20:50Net Device Driver
- 21:12Network Object Configuration
- 22:12Conclusion
- 22:57Questions
