Slawek, I made a mistake: OVS_DPDK_VHOST_USER or OVS_DPDK_VHOST_USER_CLIENT are port types.
"system" and "netdev" are the only datapath types in OVS.
DKDP uses always "netdev", but there is experimental support for non-DPDK OVS with "netdev".
So, to check if OVS is actually DPDK, you can check how is done in mech_openvswitch "get_vif_type":
- If datapath is "netdev"
- And ifaces are in [a_const.OVS_DPDK_VHOST_USER, a_const.OVS_DPDK_VHOST_USER_CLIENT]
==> DPDK.
You need to retrieve the port vif_type with this information.
Slawek, I made a mistake: OVS_DPDK_VHOST_USER or OVS_DPDK_ VHOST_USER_ CLIENT are port types.
"system" and "netdev" are the only datapath types in OVS.
DKDP uses always "netdev", but there is experimental support for non-DPDK OVS with "netdev".
So, to check if OVS is actually DPDK, you can check how is done in mech_openvswitch "get_vif_type": OVS_DPDK_ VHOST_USER, a_const. OVS_DPDK_ VHOST_USER_ CLIENT]
- If datapath is "netdev"
- And ifaces are in [a_const.
==> DPDK.
You need to retrieve the port vif_type with this information.