Hi Devendra,

I don't know the exact details of the dpdk support for non-pci devices, however I think it could be interesting for you:

https://mail.openvswitch.org/pipermail/ovs-dev/2016-October/243396.html, especially the vdev support.

(Be aware that the mail list archive is having some troubles this days).

Mauricio V,

On 11/09/2016 10:09 PM, devendra rawat wrote:
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

_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to