Comment 4 for bug 1724729

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

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.