Unable to configure DPDK on Red Hat Open Stack 17 setup.
Issue
- Unable to configure DPDK. From
ovs-vsctl show
output:
# ovs-vsctl show
eea08df3-a881-4be6-bb26-a2248d940869
Bridge br-dpdk0
fail_mode: standalone
datapath_type: netdev
Port dpdkbond0
Interface dpdk1
type: dpdk
options: {dpdk-devargs="0000:32:08.2"}
error: "could not open network device dpdk0 (Address family not supported by protocol)" <====
Interface dpdk0
type: dpdk
options: {dpdk-devargs="0000:32:00.2"}
error: "could not open network device dpdk0 (Address family not supported by protocol)"
Port br-dpdk0
Interface br-dpdk0
type: internal
ovs_version: "3.1.3"
# tail /var/log/openvswitch/ovs-vswitchd.log
2023-11-23T08:48:25.669Z|00048|netdev|WARN|could not create netdev dpdk1 of unknown type dpdk
2023-11-23T08:48:25.669Z|00049|bridge|WARN|could not open network device dpdk1 (Address family not supported by protocol)
2023-11-23T08:48:25.669Z|00050|netdev|WARN|could not create netdev dpdk0 of unknown type dpdk
2023-11-23T08:48:25.669Z|00051|bridge|WARN|could not open network device dpdk0 (Address family not supported by protocol)
2023-11-23T08:48:26.957Z|00052|netdev|WARN|could not create netdev dpdk1 of unknown type dpdk
2023-11-23T08:48:26.957Z|00053|bridge|WARN|could not open network device dpdk1 (Address family not supported by protocol)
2023-11-23T08:48:26.957Z|00054|netdev|WARN|could not create netdev dpdk0 of unknown type dpdk
2023-11-23T08:48:26.957Z|00055|bridge|WARN|could not open network device dpdk0 (Address family not supported by protocol)
2023-11-23T08:48:26.962Z|00056|netdev|WARN|could not create netdev dpdk1 of unknown type dpdk
2023-11-23T08:48:26.962Z|00057|bridge|WARN|could not open network device dpdk1 (Address family not supported by protocol)
2023-11-23T08:48:26.962Z|00058|netdev|WARN|could not create netdev dpdk0 of unknown type dpdk
2023-11-23T08:48:26.962Z|00059|bridge|WARN|could not open network device dpdk0 (Address family not supported by protocol)
2023-11-23T08:48:27.201Z|00060|netdev|WARN|could not create netdev dpdk1 of unknown type dpdk
2023-11-23T08:48:27.201Z|00061|bridge|WARN|could not open network device dpdk1 (Address family not supported by protocol)
# cat /proc/meminfo | grep Huge
AnonHugePages: 145408 kB
ShmemHugePages: 0 kB
FileHugePages: 0 kB
HugePages_Total: 456
HugePages_Free: 456
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 1048576 kB
Hugetlb: 478150656 kB
Environment
- Red Hat OpenStack Platform 17.1 (RHOSP)
- Red Hat Enterprise Linux 9.2
- ovs3.1.3+dpdk
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.