Hello,
What are you exactly trying to do?, I mean, what topology do you want to
create?
On 09/14/2016 12:02 PM, Lakshmi Kotla/HYD/TCS wrote:
First of all thanks for replying to this
thread, Mauricio.
To give a gist of the activities done
for OVS-DPDK installation , here are the details:
1. As part of the Installation guide
( https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md
) we started with installing / Configuring DPDK Target
followed with the OVS
installation/configuration and compiling binded with the DPDK Target as
been explained in the above reference File.
.P.S. There were no issues seen while
configuring OVS with DPDK .
2. As we understand from the Configuration
file " $DPDK_DIR/config/common_linuxapp " VHOST_USER is support
for the DPDK
CONFIG_RTE_LIBRTE_VHOST=y`
CONFIG_RTE_LIBRTE_VHOST_USER=y
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
With those commands you are adding physical ports to the bridge. Is it
what you want to do?
So in order to test the given topology
with the a 2 port on a single bridge and got the following errors as shown
below :
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)"
3. Referred
webpage(https://software.intel.com/en-us/blogs/2015/06/09/building-vhost-user-for-ovs-today-using-dpdk-200)
to overcome this issue on the DPDK dependency with the Kernel modules but
it is still not yet resolved.
4. *Secondly i have upgraded my Linux
Container (Ubuntu 16.04) and installed the default package :
**openvswitch-**switch**-dpdk****to leverage the application
to work with DPDK.*
Referred the following
link to create the VM's using the QEMU-KVM applications :
https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-on-ubuntu
With this the VHOST-USER's are getting
created successfully as expected but on creating the VM's currently
encountered
with the following Error:
"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:
> *Command issued : * sudo qemu-system-x86_64 -m 512
-smp 4 -cpu host -hda /home/user/f21vm1c1.qcow2 -boot c -enable-kvm
-no-reboot
-nographic -net none -chardev
socket,id=char1,path=/run/openvswitch/vhost-user1
-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce -device
virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1
-device virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1 -object
memory-backend-file,id=mem,size=512M,mem-path=/dev/hugepages,share=on
-numa node,memdev=mem -mem-prealloc
P.S. We have increased the Hugepages accordingly but the issue isn't
resolved
yet.
Could you provide more information or some
relevant links so that we can create the required Topology with DPDK
package
(with manual Installation as done in Step -1 to 3)
or there is a better way to create the
VM's or topology with Step-4 (as using the OVS-DPDK package with Ubuntu
16.04).
Appreciate a help for the same.
----- Original Message -----
From: Mauricio Vasquez <mauricio.vasq...@polito.it>
To: Lakshmi Kotla/HYD/TCS <lakshmi.ko...@tcs.com>, b...@openvswitch.org
Cc: poonam ghosh <poonam.gh...@tcs.com>
Sent: Tue, 13 Sep 2016 22:19:14 +0530 (IST)
Subject: Re: [ovs-discuss] Errors while installing in dpdk in ubuntu 14.04
Hello Lakshmi,
On 09/13/2016 12:08 PM, Lakshmi
Kotla/HYD/TCS wrote:
Dear
sir,
This is the error that i have encountered when i was trying
to install dpdk.
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: dpdkvhost
error: "could not open network device dpdk1
(Address family not supported by protocol)"
Could you please provide more information?
- How did you compile ovs?
- How did you run ovs?
- How did you create the bridge and the ports?
It is really hard to help you without a minimum of information.
Thanks and Regards
Lakshmi Kotla
=====-----=====-----=====
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
This signature does not make sense on a public mailing list, it
tends to annoy people :).
Mauricio Vasquez
_______________________________________________
discuss mailing list
discuss@openvswitch.orghttp://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss