Re: [ovs-discuss] [ovs-dev] OVS+DPDK: pci_map_resource(): cannot mmap error

2016-08-01 Thread Kapil Adhikesavalu
v [mailto:dev-boun...@openvswitch.org] On Behalf Of Kapil > >Adhikesavalu > >Sent: Sunday, July 31, 2016 1:30 PM > >To: d...@openvswitch.org; discuss@openvswitch.org > >Subject: [ovs-dev] OVS+DPDK: pci_map_resource(): cannot mmap error > > > >Hello, > &

[ovs-discuss] Minimum number of processor cores needed to run OVS+DPDK in a kvm - HOST OS + VM environment

2016-08-01 Thread Kapil Adhikesavalu
Hello, What will be minimum number of processor cores needed to run OVS+DPDK in a kvm - HOST OS + VM environment? core 1: Host OS core 2: VM core 3: PMD - for NIC dpdk + vhost ports - default it picks 1 core i believe. core 4: DPDK lcore - dpdk-lcore-mask i have only a 4 core CPU, so i am just

Re: [ovs-discuss] Minimum number of processor cores needed to run OVS+DPDK in a kvm - HOST OS + VM environment

2016-08-01 Thread Kapil Adhikesavalu
wrote: > >-Original Message- > >From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Kapil > >Adhikesavalu > >Sent: Monday, August 1, 2016 5:13 PM > >To: discuss@openvswitch.org > >Subject: [ovs-discuss] Minimum number of processor cores needed

[ovs-discuss] OVS+DPDK: pci_map_resource(): cannot mmap error

2016-07-31 Thread Kapil Adhikesavalu
Hello, i am getting "EAL: pci_map_resource(): cannot mmap(18, 0x7f504000, 0x8, 0x0): Invalid argument (0x)" when i start ovs-vswitchd. Setup:DL360gen8 CPU:E5-2967 NIC:82599ES 10-Gigabit SFI/SFP+ (2 Port) (PCI: slot0: 04:00.0 04:00.1) Kernel: 4.6.4-201.fc23.x86_64 ixgbe

Re: [ovs-discuss] Minimum number of processor cores needed to run OVS+DPDK in a kvm - HOST OS + VM environment

2016-08-10 Thread Kapil Adhikesavalu
6 at 10:45 PM, Kapil Adhikesavalu <kapil20...@gmail.com> wrote: > Hi Bhanu Prakash, > > Thanks for the info. Will there be any performance benefit in allocating a > core for dpdk control threads using dpdk-lcore-mask ? when i have more > cores. > > Regards, > kapil.

Re: [ovs-discuss] Minimum number of processor cores needed to run OVS+DPDK in a kvm - HOST OS + VM environment

2016-08-10 Thread Kapil Adhikesavalu
t;-Original Message- > >From: Kapil Adhikesavalu [mailto:kapil20...@gmail.com] > >Sent: Wednesday, August 10, 2016 10:25 AM > >To: Bodireddy, Bhanuprakash <bhanuprakash.bodire...@intel.com> > >Cc: discuss@openvswitch.org > >Subject: Re: [ovs-discuss] Minimum

[ovs-discuss] Flow table Eviction group

2016-07-15 Thread Kapil Adhikesavalu
Hello, Need some help in configuring flow table eviction group. I tried to configure the eviction group, but i am seeing some warn/errors and didn't come across any sample commands in web. 1. Can you please share some sample commands for passing NXM_OF_IN_PORT[] as an argument to flow_table,

[ovs-discuss] OVS fdb - MAC learning Subscription

2016-06-27 Thread Kapil Adhikesavalu
Hi, is there a way to get notification on MACs learnt on a OVS bridge ? i am looking for a way to get the results available in "ovs-appctl fdb/show " as a notification/subscription. i took a brief look at IDL, but didn't find where will the MAC info will be internally stored to write a monitor

Re: [ovs-discuss] How to enable dpdk interface for OVS+DPDK on RHEL?

2016-07-05 Thread Kapil Adhikesavalu
Hi Binghan, To add to that; you should follow the steps in https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md to install OVS + DPDK you can also refer, https://software.intel.com/en-us/articles/using-open-vswitch-with-dpdk-for-inter-vm-nfv-applications Thanks Kapil. On Tue, Jul 5,

Re: [ovs-discuss] Maximum number of Patch port between bridges

2016-07-04 Thread Kapil Adhikesavalu
and OVS-VSWITCHD was > consuming all the physical cores I had. > > I hope I may have helped (at least a little bit :)). > > Cheers, > Levente > > > > On 06/29/2016 07:04 PM, Kapil Adhikesavalu wrote: > > Hi, > > is there a limit on maximum numb

Re: [ovs-discuss] OVS fdb - MAC learning Subscription

2016-07-04 Thread Kapil Adhikesavalu
performance difference between using action NORMAL and LEARN. Assuming there wouldn't be too much MAC movement. Thanks Kapil On 02-Jul-2016 6:27 AM, "Ben Pfaff" <b...@ovn.org> wrote: > On Mon, Jun 27, 2016 at 07:21:53PM +0530, Kapil Adhikesavalu wrote: > > is there a way to get no

Re: [ovs-discuss] Maximum number of Patch port between bridges

2016-07-06 Thread Kapil Adhikesavalu
When I tried, I used a single ovs-vsctl with all the patch ports as arguments. It was taking around 25 to 30 seconds for creating 5000 patch ports. Thanks Kapil On 06-Jul-2016 5:29 AM, "Justin Pettit" wrote: > > > On Jul 4, 2016, at 4:50 AM, Levente Csikor

Re: [ovs-discuss] Append output port to an existing flow

2016-08-08 Thread Kapil Adhikesavalu
, "Ben Pfaff" <b...@ovn.org> wrote: On Mon, Aug 08, 2016 at 04:49:49PM +0530, Kapil Adhikesavalu wrote: > Want to check if there is an alternate way to append a output port to the > existing flow. > > > > For example, > > > > Existing flow: > > c

[ovs-discuss] OVS DPDK VFIO error

2016-08-09 Thread Kapil Adhikesavalu
Hi, On a Intel xeon E5-2697 chip with iommu turned on with Intel NIC 82599, i am getting the following error while doing the NIC binding using VFIO. kernel: 4.23 fedora 23, i haven't tried the latest kernel yet. E5-2697 supports IOMMU VT-d, does VFIO NIC binding steps, modprobe vfio-pci sudo

Re: [ovs-discuss] OVS DPDK VFIO error

2016-08-09 Thread Kapil Adhikesavalu
t;From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Kapil > >Adhikesavalu > >Sent: Tuesday, August 9, 2016 10:46 AM > >To: d...@openvswitch.org; discuss@openvswitch.org > >Subject: [ovs-discuss] OVS DPDK VFIO error > > > >Hi, > > > >

[ovs-discuss] Flow actions handling

2016-06-29 Thread Kapil Adhikesavalu
Hi, i have the following flow rule, *tun_id=0xfa0,in_port=10 actions=mod_vlan_vid:1,resubmit(0,2),resubmit(0,1)* and i need to know in which order actions will be performed. will the actions be performed in the s*ame order as mentioned* in the flow ? like 1. Modify VLAN as 1 2. then resubmit

[ovs-discuss] Maximum number of Patch port between bridges

2016-06-29 Thread Kapil Adhikesavalu
Hi, is there a limit on maximum number of patch ports between bridges ? Thanks Kapil. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Queue priority

2016-08-19 Thread Kapil Adhikesavalu
org> wrote: > On Fri, Aug 19, 2016 at 07:00:23AM -0700, Ben Pfaff wrote: > > On Fri, Aug 19, 2016 at 06:53:31PM +0530, Kapil Adhikesavalu wrote: > > > Can OVS supports priority queues.Meaning, any packet comes with .1p > high > > > priority send to High priority Qu

[ovs-discuss] Queue priority

2016-08-19 Thread Kapil Adhikesavalu
Hi, Can OVS supports priority queues.Meaning, any packet comes with .1p high priority send to High priority Queues. I couldn't find this info from the available docs. The requirement was to send all network control packets to high priority queue.Even if Data traffic comes with high rate, the

[ovs-discuss] Multiqueue with dpdk ports

2016-09-06 Thread Kapil Adhikesavalu
Hello, OVS + DPDK provides a way to configure multiqueue for dpdk ports (in turn vhost user ports as well). ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=c ovs-vsctl set Interface dpdk0 options:n_rxq=2 ovs-vsctl set Interface dpdk1 options:n_rxq=2 Based on what parameter, the

[ovs-discuss] VHost QOS - per queue rate limiting

2016-09-09 Thread Kapil Adhikesavalu
Hello, Is VHost port - per queue rate limiting feature expected in near future ? Currently its on port basis, and if we assign more than 1 queue to the vHost port, it will be good to do QOS on per queue. https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK-ADVANCED.md 7. QOS Here is

[ovs-discuss] Configuring MTU for dpdk and vhost ports

2016-09-27 Thread Kapil Adhikesavalu
Hi, Is there a way to configure MTU for dpdk and vhost ports from its default 1500 ? I read, "with OVS, Normally the MTU should be changed using operating system specific interfaces (e.g. ifconfig).", but as they are dpdk ports, how can i configure them ? Regards Kapil

Re: [ovs-discuss] Configuring MTU for dpdk and vhost ports

2016-09-27 Thread Kapil Adhikesavalu
Thanks Mark, just figured that myself, i wasn't using the latest OVS, so mtu_request wasn't working.. Appreciate your help. Regards Kapil. On Tue, Sep 27, 2016 at 8:47 PM, Kavanagh, Mark B wrote: > > > >Hi, > > > >Is there a way to configure MTU for dpdk and vhost

[ovs-discuss] Hugepages allocation

2016-10-03 Thread Kapil Adhikesavalu
Hi, 1. in INSTALL.DPDK.md, huge page size is recommended as 2MB pages. Earlier i remember seeing some reference to use 1GB huge pages. is there any noticeable performance improvement in using 1G hugepages vs 2M pages ? 2. is there a way to allocate 1G hugepages using sysctl. Default hugepage size

Re: [ovs-discuss] [ovs-dev] Hugepages allocation

2016-10-03 Thread Kapil Adhikesavalu
Hi Bhanuprakash, Thanks for the info. Helpful! Regards Kapil. On Mon, Oct 3, 2016 at 5:41 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > > >-Original Message- > >From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Kapil > >A

Re: [ovs-discuss] Vhostports drop issue - related to MTU - Qemu version

2016-10-26 Thread Kapil Adhikesavalu
Hi Mark, This commit is already part of 2.6.0 that i am using. Also, when i create an port with mtu_request, it is creating with the expected mtu, no problems here. The issue i am facing is, i am not even able to run traffic through a PHY-VM-PHY with the default MTU (mtu_request not used). I am

Re: [ovs-discuss] Vhostports drop issue - related to MTU - Qemu version

2016-10-26 Thread Kapil Adhikesavalu
Thanks Mark, I will check this. I am not using multi-queue and from this thread, they have already added a change in OVS to support older version of QEMU(queue 0 is enabled in OVS even if qemu doesnt send VRING_ENABLE), which is what helped me to use qemu 2.4.1 till OVS 2.5.9. are these threads

Re: [ovs-discuss] [ovs-dev] packets getting dropped in vhostuser port

2016-10-20 Thread Kapil Adhikesavalu
), So while creating the dpdk interface through ovs, will i able to modify ovs code to pass the default mtu size as 2000 and create the dpdk port ? Regards Kapil On Wed, Oct 19, 2016 at 8:30 PM, Kapil Adhikesavalu <kapil20...@gmail.com> wrote: > There seem to be some version dependenc

Re: [ovs-discuss] [ovs-dev] packets getting dropped in vhostuser port

2016-10-19 Thread Kapil Adhikesavalu
dpdk changed but no OVS > change. We need to narrow down the issue. From my knowledge, qemu-2.4.1 is > fine for the case. > > -Original Message- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Kapil > Adhikesavalu > Sent: Wednesday, October 19, 2016 2:18 PM &g

[ovs-discuss] packets getting dropped in vhostuser port

2016-10-19 Thread Kapil Adhikesavalu
Hi, In a PHY-VM-PHY setup, i was using dpdk16.04 + OVS 2.5.90 + qemu 2.4.1, everything was working fine. When i upgraded to dpdk 16.07 + ovs 2.6 (branch-2.6) without any change to the setup/configuration; now all the packets(1200B) are getting dropped at vhostuser ports. Though, i am able to send

[ovs-discuss] Vhostports drop issue - related to MTU - Qemu version

2016-10-26 Thread Kapil Adhikesavalu
Hi, Issue Setup: DPDK 16.07 + OVS 2.6.0 + qemu 2.4.1 : PHY-VM-PHY I am trying to upgrade from (DPDK16.04 + OVS2.5.9), to (DPDK16.07 + OVS2.6.0) for jumbo frame support. After the upgrade, all packets are getting dropped on the vhostuser port. The dpdk/vhost user ports used here has default MTU

Re: [ovs-discuss] [ovs-dev] OVS performance with Kernel Datapath of Linux upstream vs Linux OVS tree.

2017-04-12 Thread Kapil Adhikesavalu
Hi Jarno, That's great! Thanks for the clarification. So, if anything it should only improve the performance when I move to OVS tree kernel module. On Thu, 13 Apr 2017, 1:05 AM Jarno Rajahalme, <ja...@ovn.org> wrote: > > > On Apr 12, 2017, at 12:49 AM, Kapil Adhikesavalu <ka

Re: [ovs-discuss] [ovs-dev] OVS performance with Kernel Datapath of Linux upstream vs Linux OVS tree.

2017-04-13 Thread Kapil Adhikesavalu
Thanks Jarno! On Fri, 14 Apr 2017, 2:53 AM Jarno Rajahalme, <ja...@ovn.org> wrote: > On Apr 12, 2017, at 9:00 PM, Kapil Adhikesavalu <kapil20...@gmail.com> > wrote: > > Hi Jarno, > > That's great! Thanks for the clarification. So, if anything it should only > im