Re: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues does not work

2016-04-04 Thread Christian Ehrhardt
=hostnet1,id=net1,mac=52:54:00 :62:47:b6,bus=pci.0,addr=0x4 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-ba lloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on Kind Regards, Christian Christian

Re: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues does not work

2016-04-04 Thread Christian Ehrhardt
your experiments. "sudo do-release-upgrade -d" should do the job for you. Yet regarding your initial question you see that the guest not "seeing" its multiqueues still applies. Here I hope for some insight from others on the List what else could/should be checked. Christian E

Re: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues does not work

2016-04-04 Thread Christian Ehrhardt
s to check please let me know. Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Mon, Apr 4, 2016 at 4:50 PM, Felix Brucker wrote: > Hi Christian, > > > > thanks, that worked like a charm, and also my vm now reports 2 queues, but > no communication is working on

Re: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues does not work

2016-04-04 Thread Christian Ehrhardt
Hi Felix, here you already do the right thing: [...] Given you have the recent libvirt and qemu versions that translates to the right qemu parameters as you have seen in my initial posts. You can then log into the guest and check with "ethtool -l" if the guest really "sees" its mu

Re: [ovs-discuss] DPDK-OvS inside QEMU image

2016-04-04 Thread Christian Ehrhardt
Hi Volkan, [...] > but I could find how to set Intel NICs into QEMU Image The reason is - you don't (usually?) do it this way. Theoretically you could start with passing VFs, but I'm not sure anybody ever tested that. Instead you configure your "normal" virtio NICs with multiqueue and run DPDK

Re: [ovs-discuss] How to start ovs with dpdk options via systemd?

2016-04-19 Thread Christian Ehrhardt
Hi, if on Ubuntu 16.04 DPDK_OPTS in /etc/default/openvswitch-switch can help you. More at https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-openvswitch and the readme files in the respective packages. Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Tue, Apr 19, 2016

Re: [ovs-discuss] How to bind VM's NIC to OVS

2016-04-27 Thread Christian Ehrhardt
You might take a look at the examples here: https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-openvswitch-guest or more complete, but then also more complex https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md#dpdk-vhost-user-vm-configuration Christian Ehrhardt Software Engineer, Ub

Re: [ovs-discuss] How to bind VM's NIC to OVS

2016-04-27 Thread Christian Ehrhardt
Hi, I double checked that I didn't use any internal connection that might make it work. The link above or also the following work ncie for me: https://help.ubuntu.com/lts/serverguide/DPDK.html#dpdk-openvswitch-guest Wonder what that could have been. On Wed, Apr 27, 2016 at 5:05 PM, Vivek Gupta

Re: [ovs-discuss] OVS cannot create a vhost_user socket at /var/run/openvswitch/vhost-user-1

2016-05-30 Thread Christian Ehrhardt
t which should be visible on the next update. Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Fri, May 27, 2016 at 11:13 PM, Nikolai Pitaev (npitaev) < npit...@cisco.com> wrote: > Sorry for the 2nd email within 10 minutes – I realized, that I forgot to > past ov

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-05 Thread Christian Ehrhardt
Hi, The TL;DR is that in Ubuntu 16.04 the base openvswitch-switch package knows nothing about dpdk. But the openvswitch-switch-dpdk package does. please follow the whole page around https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-openvswitch for some guidance. Christian Ehrhardt

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-06 Thread Christian Ehrhardt
th-dpdk-in-ubuntu-16-04/789203#789203 If it helps you please give it an upvote and let me know. I might consider adding this as a troubleshooting section to the serverguide if this really is a common case. Kind Regards, Christian Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-07 Thread Christian Ehrhardt
the case with vfio-pci. Kind Regards, Christian Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Thu, Jul 7, 2016 at 11:04 AM, shyam yeduru wrote: > Hi , > > Sorry for confusing you. I will explain my issue clearly. > > We have installed OVS and DPDK on

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-11 Thread Christian Ehrhardt
t is what would be needed to try reviewing your setup. Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Tue, Jul 12, 2016 at 6:30 AM, shyam yeduru wrote: > Hi , > > Can any one help me or correct me if, my approach is wrong to test dpdk > along with OVS. >

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-14 Thread Christian Ehrhardt
Hi, http://openvswitch.org/pipermail/dev/2016-April/069439.html What should work is: OVS-2.5 + DPDK 2.2 OVS-Master + DPDK 16.04 (soon 16.07 after dpdk release and patches into OVS are accepted) Your issue seems like OVS-2.5 + DPDK 16.04 to me. What combination did you use? Christian Ehrhardt

Re: [ovs-discuss] OVS+DPDK issue on Ubuntu 16.04

2016-07-14 Thread Christian Ehrhardt
> > > > If you are using OVS Master with DPDK Master you can use the RFC patch: > http://openvswitch.org/pipermail/dev/2016-July/074448.html > > But as mentioned earlier, the preferred combination is OVS-Master + DPDK > 16.04. > > > > Regards, > > Bhanu Prakash. >

Re: [ovs-discuss] [ovs-announce] OvS-DPDK Design Summit - Nov 9th San Jose

2016-10-10 Thread Christian Ehrhardt
ether. > Hi, but for those unable to attend any chance you are planning on grabbing the discussions on video and make the few slides available (I expect this to be more talk and less slides thou)? Maybe and I know people hate the word, but someone writing summarized minutes :-) ? -- Christian Eh

[ovs-discuss] Somebody making --user and dpdk compatible again?

2016-01-25 Thread Christian Ehrhardt
int. Maybe eventually the approach is totally different anyway (like only specifying :group for the sockets to be created). But I wondered if that old mail thread is still worked on by somebody atm. Christian Ehrhardt Software Engineer, Ubuntu Server Can

Re: [ovs-discuss] Somebody making --user and dpdk compatible again?

2016-01-26 Thread Christian Ehrhardt
root kvm 0 Jan 26 10:47 vhost-user-1= $ sudo -u libvirt-qemu socat - UNIX-CONNECT:/var/run/openvswitch/vhost-user-1 *working* Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Tue, Jan 26, 2016 at 7:33 PM, Ansis Atteka wrote: > Hi, > > > In fact I think we sh

Re: [ovs-discuss] [ovs-dev] Somebody making --user and dpdk compatible again?

2016-01-27 Thread Christian Ehrhardt
On Tue, Jan 26, 2016 at 8:06 PM, Aaron Conole wrote: > I should be on the discuss mailing list. Let me just state a big _YES_ I > am working on this problem from multiple facets. > > Ansis Atteka writes: > [...] > > The link you posted seems to mention Apparmor as the root cause for > > Permiss

Re: [ovs-discuss] [ovs-dev] Somebody making --user and dpdk compatible again?

2016-01-27 Thread Christian Ehrhardt
On Wed, Jan 27, 2016 at 9:29 AM, Ansis Atteka wrote: > > > On 26 January 2016 at 11:07, Christian Ehrhardt < > christian.ehrha...@canonical.com> wrote: > >> Hi Ansis, >> the links I referred were older and yes some had apparmor/selinux issues. >> I didn

Re: [ovs-discuss] [ovs-dev] Somebody making --user and dpdk compatible again?

2016-01-28 Thread Christian Ehrhardt
On Wed, Jan 27, 2016 at 8:26 PM, Ansis Atteka wrote: > > > On 27 January 2016 at 02:30, Christian Ehrhardt < > christian.ehrha...@canonical.com> wrote: > >> >> On Wed, Jan 27, 2016 at 9:29 AM, Ansis Atteka >> wrote: >> >>> &

Re: [ovs-discuss] [bug]ovs-dpdk can't open dpdk port and dpdkvhostuser port added before

2016-02-24 Thread Christian Ehrhardt
g the memory allocation you will find for example (in my case non socket based -m 4096) ovs-ctl[3560]: EAL: Requesting 4 pages of size 1024MB from socket 0 If it is not obvious please share the logs you find there and people on the list might be able to help you more. Christian Ehrhardt Software Eng

Re: [ovs-discuss] [bug]ovs-dpdk can't open dpdk port and dpdkvhostuser port added before

2016-02-25 Thread Christian Ehrhardt
I still don't see the EAL messages of DPDK in these logs. And with the "dpdk0: Cannot allocate memory" issue you reported I really think in those messages you will find what is going on. So IMHO take a look around where those end up on your system. Christian Ehrhardt Software E

[ovs-discuss] Issues with openvswitch2.5+dpdk2.2+kvm/virtio-pci

2016-03-18 Thread Christian Ehrhardt
g ovs-vswitchd ovs-ctl[13868]: * Enabling remote OVSDB managers systemd[1]: Started Open vSwitch Internal Unit. P.S. adding a few people I usually see replying on these topics directly. Thanks in advance for sharing your thoughts! Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd ___

Re: [ovs-discuss] Issues with openvswitch2.5+dpdk2.2+kvm/virtio-pci

2016-03-21 Thread Christian Ehrhardt
FYI - a user also reported that the same issue also affects non-virtual environments when using the BNX2X_PMD Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Fri, Mar 18, 2016 at 4:20 PM, Christian Ehrhardt < christian.ehrha...@canonical.com> wrote: > Hi, > I w

Re: [ovs-discuss] Issues with openvswitch2.5+dpdk2.2+kvm/virtio-pci

2016-03-23 Thread Christian Ehrhardt
On Tue, Mar 22, 2016 at 9:47 PM, Daniele Di Proietto wrote: > Hi Christian, > > thanks for the report. I've managed to reproduce the problem and I > observed two separate issues: > > 1) short version: it appears to be a problem in DPDK 2.2 and it should be > fixed by 9a0615af7746("virtio: fix re