Hi,

ovs-dpdk supports following four types of device names
> dpdk
> dpdkr
> dpdkvhostuser
> dpdkvhostuserclient
>
> my ethernet device is non-pci vdev. Does openvswitch support DPDK vdev
> devices ?
>
> using ovs-vsctl  is there a way to create ovs interface which is mapped to
> a DPDK vdev device ?
>
> *[Sugesh] As far as I know , No.*
>

I am going to implement the support for my non-pci DPDK vdev ethernet
device in openvswitch. A head start will be really appreciated.
So far what I have understood is that I will need to add a new "struct
netdev_class" for my device in lib/netdev-dpdk.c
just like

static const struct netdev_class dpdk_class =
    NETDEV_DPDK_CLASS(
        "dpdk",
        netdev_dpdk_construct,
        netdev_dpdk_destruct,
        netdev_dpdk_set_config,
        netdev_dpdk_set_tx_multiq,
        netdev_dpdk_eth_send,
        netdev_dpdk_get_carrier,
        netdev_dpdk_get_stats,
        netdev_dpdk_get_features,
        netdev_dpdk_get_status,
        netdev_dpdk_reconfigure,
        netdev_dpdk_rxq_recv);

will this be sufficient or I will need to change something else also ?

I there a better way to add support for DPDK vdev in openvswitch ?

Thanks and Regards,
Devendra
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to