On 09/15/2016 09:08 AM, Lakshmi Kotla/HYD/TCS wrote:
Topology is 2 Simple ports with a Single
Bridge  as shown below (with OVS and DPDK installed on Ubuntu 14.04):

ovs-vsctl add-br bridge0
-- set bridge bridge0 datapath_type=netdev

ovs-vsctl add-port bridge0 dpdk0 -- set Interface dpdk0 type=dpdk

ovs-vsctl add-port bridge0 dpdk1 -- set Interface dpdk1 type=dpdk

Error what we see here :
Bridge "bridge0"

        Port "dpdk0"

            Interface "dpdk0"

                type: dpdk

                error: "could
not open network device dpdk0 (Address family not supported by protocol)"


        Port "dpdk1"

            Interface "dpdk1"

                type: dpdk

                error: "could
not open network device dpdk1 (Address family not supported by protocol)"

Did you bind the physical ports to a dpdk compatible driver?


Same Topology with OVS-DPDK package
installed on Ubuntu 16.04:
 ovs-vsctl
add-br br0 -- set bridge br0 datapath_type=netdev



        ovs-vsctl
add-port br0 vhost-user1 -- set Interface vhost-user1 type=dpdkvhostuser



        ovs-vsctl
add-port br0 vhost-user2 -- set Interface vhost-user2 type=dpdkvhostuser

If you refer to both topologies as the same, why in one case you use dpdk ports and in the other you use dpdkvhostuser ports.

Error which we see here is : "qemu-system-x86_64:
-object

memory-backend-file,id=mem,size=512M,mem-path=/dev/hugepages,share=on:

unable to map backing store for hugepages:



I am not an expert about vhost-user, however when I used it I use "-object memory-backend-file,id=mem,size=2048M,mem-path=/dev/hugepages,share=on -numa node,memdev=mem -mem-prealloc" as command line.
Is the size parameter correct in your case?





We need to understand if there is something
which is missed as part of the Hugepages configuration for both the above
installations. Or do you have a better Solution to deal with such basic
topologies with DPDK.

Thanks




From:
Mauricio Vasquez <mauricio.vasq...@polito.it>
To:
Lakshmi Kotla/HYD/TCS
<lakshmi.ko...@tcs.com>, b...@openvswitch.org
Cc:
poonam.gh...@tcs.com
Date:
09/14/2016 11:12 AM
Subject:
Re: [ovs-discuss]
Errors while installing in dpdk in ubuntu 14.04
------------------------------------------------------------------------



=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss


_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to