[ovs-dev] Issue with OVS 2.9.0, DPDK 18.02 and vhost-user

2018-06-11 Thread Ravi Kerur
Hi, I have used first link to install, compile and run OVS 2.9.0 and DPDK 18.02, second link to configure vhost-client ports. However, facing several issues when configured as per the documentation. Inputs appreciated. http://docs.openvswitch.org/en/latest/intro/install/dpdk/

Re: [ovs-dev] Q on vhost-user and virtio

2018-06-08 Thread Ravi Kerur
On Fri, Jun 8, 2018 at 6:06 AM, Flavio Leitner wrote: > On Thu, Jun 07, 2018 at 05:09:46PM -0700, Ravi Kerur wrote: > > Hi, > > > > I have a use-case and I want to > > > > (1) create vhost-user ports on OVS-DPDK running on a host > > (2) in a container a d

Re: [ovs-dev] Issue with OVS 2.9.0, DPDK 18.02 and vhost-user

2018-06-14 Thread Ravi Kerur
On Wed, Jun 13, 2018 at 9:50 AM Ian Stokes wrote: > On 6/12/2018 9:50 PM, Ravi Kerur wrote: > > > > > > On Tue, Jun 12, 2018 at 3:31 AM, Stokes, Ian > <mailto:ian.sto...@intel.com>> wrote: > > > > > Hi, > > > > >

Re: [ovs-dev] Issue with OVS 2.9.0, DPDK 18.02 and vhost-user

2018-06-12 Thread Ravi Kerur
On Tue, Jun 12, 2018 at 3:31 AM, Stokes, Ian wrote: > > Hi, > > > > I have used first link to install, compile and run OVS 2.9.0 and DPDK > > 18.02, second link to configure vhost-client ports. However, facing > > several issues when configured as per the documentation. Inputs > > appreciated. >

[ovs-dev] Q on vhost-user and virtio

2018-06-07 Thread Ravi Kerur
Hi, I have a use-case and I want to (1) create vhost-user ports on OVS-DPDK running on a host (2) in a container a dpdk-based application using virtio-user connecting to vhost-user ports via sockets. I looked at following 2 links from Intel which shows how-to configure vhost-user and

Re: [ovs-dev] OVS (master) + DPDK(17.11) + multi-queue

2018-06-19 Thread Ravi Kerur
Hi, On Tue, Jun 19, 2018 at 12:27 AM Ilya Maximets wrote: > Hi, > According to your log, your NIC has limited size of tx queues: > > 2018-06-19T04:34:46.106Z|00089|dpdk|ERR|PMD: Unsupported size of TX queue >(max size: 1024) > > This means that

[ovs-dev] OVS (master) + DPDK(17.11) + multi-queue

2018-06-18 Thread Ravi Kerur
Hi, I am using above configuration on my testbed and when I try to add a port which is bound to igb_uio, I see following errors due to Tx queue configuration. I just want to use single Tx and Rx queue for my testing. I looked at Documentation/intro/install/dpdk.rst, i see only "DPDK Physical Port

[ovs-dev] ovs-vswitchd 2.4.1 scale >10K add/delete flows 100% cpu

2018-07-05 Thread Ravi Kerur
Hi, During scale flow add/delete (>10K), I am seeing ovs-vswitchd cpu usage spike to 100% and stay there without any sign of returning to normal cpu usage. It's normal OVS 2.4.1 and no DPDK involved. I am trying to get 'perf' working which might help in isolating the problem. In the meantime I

Re: [ovs-dev] ovs-vswitchd 2.4.1 scale >10K add/delete flows 100% cpu

2018-07-11 Thread Ravi Kerur
On Tue, Jul 10, 2018 at 2:07 PM Ben Pfaff wrote: > On Thu, Jul 05, 2018 at 01:44:33PM -0700, Ravi Kerur wrote: > > During scale flow add/delete (>10K), I am seeing ovs-vswitchd cpu usage > > spike to 100% and stay there without any sign of returning to normal cpu > > usag

Re: [ovs-dev] Multiqueue in vhost using OVS-DPDK

2018-07-11 Thread Ravi Kerur
On Wed, Jul 11, 2018 at 11:32 AM Ian Stokes wrote: > On 7/11/2018 7:23 PM, Ian Stokes wrote: > > On 7/11/2018 7:02 PM, Ravi Kerur wrote: > >> Hello OVS-DPDK team, > >> > >> I am using OVS 2.9.90 for my vhost-virtio testing and had some > >> questions

Re: [ovs-dev] Multiqueue in vhost using OVS-DPDK

2018-07-12 Thread Ravi Kerur
11, 2018 at 11:35 AM Ravi Kerur wrote: > > > On Wed, Jul 11, 2018 at 11:32 AM Ian Stokes wrote: > >> On 7/11/2018 7:23 PM, Ian Stokes wrote: >> > On 7/11/2018 7:02 PM, Ravi Kerur wrote: >> >> Hello OVS-DPDK team, >> >> >> >>

[ovs-dev] Q on ovs-dpdk + Vxlan user space tunneling

2018-10-14 Thread Ravi Kerur
Hi, I am going through following link and setting up the testbed http://docs.openvswitch.org/en/latest/howto/userspace-tunneling/ and it is very confusing to me at least. Can someone please clarify following questions? (1) I believe flows needs to be programmed on br-int bridge with

Re: [ovs-dev] Q on ovs-dpdk + Vxlan user space tunneling

2018-10-14 Thread Ravi Kerur
believe > your assumption is right. > (4) I don’t try this command, I think more log information in > /var/log/openvswitch may be helpful. Hope someone have this answer. > > Thanks, > Daniel Benli Ye > > > On Oct 14, 2018, at 8:55 PM, Ravi Kerur wrote: > > &g

Re: [ovs-dev] Q on ovs-dpdk + Vxlan user space tunneling

2018-10-17 Thread Ravi Kerur
/howto/userspace-tunneling/ doesn't mention which version of OVS was tested, looks like it is part of 2.10.90? Should I download latest code for this? Thanks On Sun, Oct 14, 2018 at 7:51 AM Ravi Kerur wrote: > Hello Daniel, > > Thank you for your quick response and explanation on br-phy to

Re: [ovs-dev] Q on ovs-dpdk + Vxlan user space tunneling

2018-10-18 Thread Ravi Kerur
at 11:22 PM benli ye wrote: > It seems your ovs version is 2.10.0. I thought it should have this feature > ready. Add Justin to see if he can confirm on this. > Is there any core files in your /var/core or /var/log/core? > > Thanks, > Daniel > > > On Oct 18, 2018, at

Re: [ovs-dev] Q on ovs-dpdk + Vxlan user space tunneling

2018-10-17 Thread Ravi Kerur
dp port 8472 unreachable, length 86(tos 0x0, ttl 10, id 339, offset 0, flags [none], proto UDP (17), length 78)* Thanks. On Wed, Oct 17, 2018 at 10:00 AM Ravi Kerur wrote: > Hello Daniel, > > When I tried to configure vxlan routes I had mentioned I was seeing > errors, when I checked

[ovs-dev] Poor performance OVS_DPDK 2.12.90 and 18.11.2

2019-09-11 Thread Ravi Kerur
Hello OVS/DPDK team, I am using OVS+DPDK for some of my work and using 2.12.90 and 18.11.2 versions respectively. I ran some performance tests (iperf3 for TCP and UDP) on a c5 4xlarge AWS instance. I am supposed to get 10Gbps, however, for TCP streams I get 2.4Gbps and UDP < 1Gbps. Ethernet

Re: [ovs-dev] Building OVS DPDK debian package

2019-07-20 Thread Ravi Kerur
On Wed, Jul 17, 2019 at 4:47 PM Ben Pfaff wrote: > On Wed, Jul 17, 2019 at 04:15:06PM -0700, Ravi Kerur wrote: > > On Wed, Jul 17, 2019 at 11:06 AM Ben Pfaff wrote: > > > > > On Wed, Jul 17, 2019 at 10:03:06AM -0700, Ravi Kerur wrote: > > > > I am going t

[ovs-dev] Building OVS DPDK debian package

2019-07-17 Thread Ravi Kerur
Hi, I am going through OVS 2.11.90 document to build Debian package on Ubuntu 16.04.4. http://docs.openvswitch.org/en/latest/intro/install/distributions/ where it claims to have OVS+DPDK debian package. Snippets below /** 3. For DPDK datapath, Open vSwitch with DPDK

Re: [ovs-dev] Building OVS DPDK debian package

2019-07-17 Thread Ravi Kerur
On Wed, Jul 17, 2019 at 11:06 AM Ben Pfaff wrote: > On Wed, Jul 17, 2019 at 10:03:06AM -0700, Ravi Kerur wrote: > > I am going through OVS 2.11.90 document to build Debian package on Ubuntu > > 16.04.4. > > > > http://docs.openvswitch.org/en/latest/intro/install/d

[ovs-dev] OVS and DPI(Classifiers)

2019-07-17 Thread Ravi Kerur
Hi, I am sending this email to gauge if OVS team or community using OVS would be interested in this effort. I read some discussions which had happened couple of years back with OVS and Qosmos integration and at least it looked like OVS team didn't approve of it. I just want to restart it but with

Re: [ovs-dev] Building OVS DPDK debian package

2019-07-23 Thread Ravi Kerur
On Mon, Jul 22, 2019 at 10:36 AM Ben Pfaff wrote: > On Sat, Jul 20, 2019 at 09:33:47AM -0700, Ravi Kerur wrote: > > On Wed, Jul 17, 2019 at 4:47 PM Ben Pfaff wrote: > > > > > On Wed, Jul 17, 2019 at 04:15:06PM -0700, Ravi Kerur wrote: > > > > On Wed, Jul 1

[ovs-dev] Issue with OvS 2.13.90 and DPDK 19.11

2020-02-04 Thread Ravi Kerur
Hi, I was using OvS 2.12.90 and DPDK 18.11 and everything was working fine. I upgraded to OvS 2.13.90 and DPDK 19.11 and DPDK initialization failed for interfaces. Kindly let me know if I need to make any changes to the configuration? DPDK device initialization failed with

Re: [ovs-dev] Issue with OvS 2.13.90 and DPDK 19.11

2020-02-04 Thread Ravi Kerur
David/Flavio, I will try the patch and let you know. Thanks for the quick help. Thanks. On Tue, Feb 4, 2020 at 12:35 PM Flavio Leitner wrote: > On Tue, Feb 04, 2020 at 08:41:37PM +0100, David Marchand wrote: > > On Tue, Feb 4, 2020 at 7:07 PM Ravi Kerur wrote: > > > *2020-0

Re: [ovs-dev] Issue with OvS 2.13.90 and DPDK 19.11

2020-02-04 Thread Ravi Kerur
Thanks David and Flavio. Patch worked like a charm. On Tue, Feb 4, 2020 at 3:05 PM Ravi Kerur wrote: > David/Flavio, I will try the patch and let you know. Thanks for the quick > help. > > Thanks. > > On Tue, Feb 4, 2020 at 12:35 PM Flavio Leitner wrote: > >> On Tue,

[ovs-dev] OvS DPDK vector pmd drivers

2020-04-09 Thread Ravi Kerur
Hi OvS DPDK team, I am looking at ixgbe_set_rx_function and ixgbe_set_tx_function and would like to enable vectorized packet handling. Looking at ixgbe_set_rx_function I see that it depends on device configuration and other parameters like descriptors, burst sze to enable vectorized Rx and Tx.

Re: [ovs-dev] OvS DPDK crash when HPET timer enabled

2020-04-13 Thread Ravi Kerur
On Sun, Apr 12, 2020 at 5:05 AM Tonghao Zhang wrote: > On Sun, Apr 12, 2020 at 7:57 AM Ravi Kerur wrote: > > > > Hello OvS DPDK team, > > > > I am using OvS 2.13.90 and DPDK 19.11 and wanted to use HPET timer > instead > > of invariant TSC. > > > &

[ovs-dev] OVS DPDK VF port representors not working

2020-04-16 Thread Ravi Kerur
Hello OvS-DPDK team, We are expanding our usage of OvS-DPDK and want to use VF port representors for one use-case. Going through the following document it is unclear how this functionality can be achieved http://docs.openvswitch.org/en/latest/topics/dpdk/phy/ I believe following things need to

Re: [ovs-dev] OVS DPDK VF port representors not working

2020-04-18 Thread Ravi Kerur
On Fri, Apr 17, 2020 at 9:57 AM Ilya Maximets wrote: > On 4/16/20 11:00 PM, Ravi Kerur wrote: > > Hello OvS-DPDK team, > > > > We are expanding our usage of OvS-DPDK and want to use VF port > representors > > for one use-case. Going through the follow

Re: [ovs-dev] OVS and DPI(Classifiers)

2020-04-13 Thread Ravi Kerur
On Sun, Apr 12, 2020 at 1:44 PM William Tu wrote: > On Sat, Apr 11, 2020 at 10:20 AM Ravi Kerur wrote: > > > > > > > > On Thu, Apr 9, 2020 at 8:45 PM William Tu wrote: > >> > >> On Wed, Jul 17, 2019 at 4:25 PM Ravi Kerur wrote: > >> >

Re: [ovs-dev] OvS DPDK vector pmd drivers

2020-04-11 Thread Ravi Kerur
Hi William, On Fri, Apr 10, 2020 at 7:06 AM William Tu wrote: > On Thu, Apr 09, 2020 at 02:14:26PM -0700, Ravi Kerur wrote: > > Hi OvS DPDK team, > > > > I am looking at ixgbe_set_rx_function and ixgbe_set_tx_function and would > > like to enable vectoriz

[ovs-dev] OvS DPDK crash when HPET timer enabled

2020-04-11 Thread Ravi Kerur
Hello OvS DPDK team, I am using OvS 2.13.90 and DPDK 19.11 and wanted to use HPET timer instead of invariant TSC. Enabled CONFIG_RTE_LIBEAL_USE_HPET=y in DPDK Kernel has CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y CONFIG_HPET=y CONFIG_HPET_MMAP=y CONFIG_HPET_MMAP_DEFAULT=y cat

Re: [ovs-dev] OVS and DPI(Classifiers)

2020-04-11 Thread Ravi Kerur
On Thu, Apr 9, 2020 at 8:45 PM William Tu wrote: > On Wed, Jul 17, 2019 at 4:25 PM Ravi Kerur wrote: > > > > Hi, > > > > I am sending this email to gauge if OVS team or community using OVS would > > be interested in this effort. I read some discussions which

Re: [ovs-dev] OVS DPDK VF port representors not working

2020-04-20 Thread Ravi Kerur
On Mon, Apr 20, 2020 at 10:37 AM Ravi Kerur wrote: > > > On Mon, Apr 20, 2020 at 3:14 AM Ilya Maximets wrote: > >> On 4/19/20 6:08 PM, Ravi Kerur wrote: >> > >> > >> > On Sun, Apr 19, 2020 at 6:14 AM Ilya Maximets > <mailto:i.maxim...@ovn.

Re: [ovs-dev] OVS DPDK VF port representors not working

2020-04-19 Thread Ravi Kerur
On Sun, Apr 19, 2020 at 6:14 AM Ilya Maximets wrote: > On 4/18/20 2:33 PM, Ravi Kerur wrote: > > > > > > On Fri, Apr 17, 2020 at 9:57 AM Ilya Maximets <mailto:i.maxim...@ovn.org>> wrote: > > > > On 4/16/20 11:00 PM, Ravi Kerur wrote: > >

Re: [ovs-dev] OVS DPDK VF port representors not working

2020-04-25 Thread Ravi Kerur
whether this has been tested correctly. We need this feature and I can volunteer to test it if needed so kindly let me know what the next steps should be if you agree or please suggest how to proceed. Thanks, Ravi On Mon, Apr 20, 2020 at 1:04 PM Ravi Kerur wrote: > > > On Mon, Apr 20, 2

[ovs-dev] OvS-DPDK change interface MAC

2020-05-13 Thread Ravi Kerur
Hello OvS-DPDK team, Is there a way to change interface mac address for DPDK interfaces? Interfaces are part of LACP bond. I tried following commands and they don't seem to work. ovs-vsctl set interface other-config:hwaddr=\"00:11:11:11:11:01\" ovs-vsctl set interface

Re: [ovs-dev] OvS-DPDK change interface MAC

2020-05-15 Thread Ravi Kerur
0 state: 0 current:10GB-FD AUTO_NEG speed: 1 Mbps now, 0 Mbps max LOCAL(br-phy): addr:f8:f2:1e:24:04:94 config: 0 state: 0 current:10MB-FD COPPER speed: 10 Mbps now, 0 Mbps max Thanks. On Wed, May 13, 2020 at 11:55 AM R

Re: [ovs-dev] OvS-DPDK change interface MAC

2020-05-18 Thread Ravi Kerur
t; > >-----Original Message- > >From: dev On Behalf Of Ravi Kerur > >Sent: Wednesday, May 13, 2020 9:56 PM > >To: ovs-dev > >Subject: [ovs-dev] OvS-DPDK change interface MAC > > > >Hello OvS-DPDK team, > > > >Is there a way to change inter

Re: [ovs-dev] OvS-DPDK change interface MAC

2020-05-19 Thread Ravi Kerur
On Mon, May 18, 2020 at 10:58 AM Flavio Leitner wrote: > On Mon, May 18, 2020 at 10:19:06AM -0700, Ravi Kerur wrote: > > To answer your question why I need to change mac address, we recently > moved > > from kernel/bond to ovs-dpdk/bond with 2 members. With kernel/bond, al

[ovs-dev] OvS VTEP simulator

2020-06-22 Thread Ravi Kerur
Hello OvS team, I am looking into vtep functionality and trying to map it to OvS DPDK as most of our usage is with OvS-DPDK. http://docs.openvswitch.org/en/latest/howto/vtep/ Some clarifications... In section simulating NVC $vtep-ctl bind-ls br0 p0 0 ls0 <--- What is '0' is it port-id of

Re: [ovs-dev] OvS VTEP simulator

2020-06-23 Thread Ravi Kerur
current implementation. With OvS/OvS-DPDK it is point-to-point only, I don't see a way to do point-2-multipoint even when using ovs-vtep/vtep-ctl. Wanted to know if it's possible and any reference available? Thanks. On Mon, Jun 22, 2020 at 5:27 PM Ravi Kerur wrote: > Hello OvS team, > > I a

[ovs-dev] ModuleNotFoundError: No module named 'ovs'

2020-06-24 Thread Ravi Kerur
Hi, I am using OVS 2.13.90 and getting errors when I run ovs-vtep Traceback (most recent call last): File "/usr/local/share/openvswitch/scripts/ovs-vtep", line 26, in import ovs.daemon ModuleNotFoundError: No module named 'ovs' pip install ovs Requirement already satisfied: ovs in

[ovs-dev] Q on weird OvS+conntrack behavior

2021-03-25 Thread Ravi Kerur
Hello, I am working on OvS-DPDK and conntrack and seeing weird behavior, maybe I am doing something wrong. ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.13.3 DPDK 19.11.5 I have setup using https://docs.openvswitch.org/en/latest/tutorials/ovs-conntrack/ After initial syn/syn-ack/ack,

[ovs-dev] OvS-DPDK as secondary process

2021-03-11 Thread Ravi Kerur
Hello, I am looking into running OvS-DPDK as a secondary DPDK process instead of primary. We have a custom built binary running as a primary DPDK process and would like to augment it with OvS-DPDK running as secondary. DPDK EAL has '--proc-type=secondary' parameter which could be used to run as

Re: [ovs-dev] OvS-DPDK as secondary process

2021-03-11 Thread Ravi Kerur
On Thu, Mar 11, 2021 at 10:00 AM Ben Pfaff wrote: > On Thu, Mar 11, 2021 at 03:06:28AM -0800, Ravi Kerur wrote: > > I am looking into running OvS-DPDK as a secondary DPDK process instead of > > primary. We have a custom built binary running as a primary DPDK process >

Re: [ovs-dev] OvS-DPDK as secondary process

2021-03-11 Thread Ravi Kerur
On Thu, Mar 11, 2021 at 12:56 PM Ilya Maximets wrote: > On 3/11/21 8:46 PM, Ravi Kerur wrote: > > On Thu, Mar 11, 2021 at 10:00 AM Ben Pfaff wrote: > > > >> On Thu, Mar 11, 2021 at 03:06:28AM -0800, Ravi Kerur wrote: > >>> I am looking into running OvS-DPDK