I am trying to configure ovs-dpdk on Bluefield-2 in embedded mode to offload the flows on it according the Configuring OVS-DPDK Offload with BlueField-2 document (Mellanox Interconnect Community).
after executing the commands and restarting the openvswitch, the openvswitch status shows this errors:
|00018|dpdk|EMER|Unable to initialize DPDK: Invalid argument
ovs-vswitchd: Cannot init EAL (Invalid argument)
ovs|00002|daemon_unix|ERR|fork child died before signaling startup (killed (signal 6), core dumped)
ovs|00003|daemon_unix|EMER|could not initiate process monitoring
Also, it the ovs-vsctl show:
Bridge ovs_dpdk_br0
datapath_type: netdev
Port ovs_dpdk_br0
Interface ovs_dpdk_br0
type: internal
Port dpdk1
Interface dpdk1
type: dpdk
options: {dpdk-devargs=“0000:03:00.0,representor=[0,65535]”}
error: “Error attaching device ‘0000:03:00.0,representor=[0,65535]’ to DPDK”
Port dpdk0
Interface dpdk0
type: dpdk
options: {dpdk-devargs=“0000:03:00.0”}
error: “could not add network device dpdk0 to ofproto (Resource temporarily unavailable)”
ovs_version: “2.17.7-e054917”
The “systemctl restart openvswitch” command shows this error:
Failed to restart openvswitch.service: Unit openvswitch.service not found.
Are these problems related together?
I didn’t find any solution for this error. Would you please help me with this.
Also, the document didn’t mention anything about binding the interfaces to DPDK drivers. Is it necessary or not?
Thank you all