[ovs-dev] 802.1ad code contribution to OVS

2015-12-08 Thread ravulakollu.kumar
Hi Team , We all know that ovs supports 4 types of port configuration . 1. Access 2. Trunk 3. Native-tagged 4. Native-untagged Through access port configuration we can achieve 802.1q by adding normal flow(Not Openflow) ,we all know that when ovs is configured with norm

Re: [ovs-dev] Does openvswitch with DPDK datapath supports QOS

2015-11-26 Thread ravulakollu.kumar
Thank you for your response stokes. Regards, Uday -Original Message- From: Stokes, Ian [mailto:ian.sto...@intel.com] Sent: Thursday, November 26, 2015 7:42 PM To: Ravulakollu Udaya Kumar (WT01 - Product Engineering Service); dev@openvswitch.org Subject: RE: Does openvswitch with DPDK da

[ovs-dev] Does openvswitch with DPDK datapath supports QOS

2015-11-26 Thread ravulakollu.kumar
Hello all, Does openvswitch with DPDK datapath has support for traffic shaping and policing . Anyone is already working on this? Regards, Uday The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may

[ovs-dev] How datapath calls into network stack via dev_queue_xmit

2015-11-15 Thread ravulakollu.kumar
Hello Experts, I am a newbie to OVS. Could someone please let me understand how datapath kernel module passes packet to network stack . What is the Mechanism it is using . Thanks & Regards, Uday The information contained in this electronic message and any attachments to this message are intend

[ovs-dev] Need pointers in understanding kernel datapath

2015-11-14 Thread ravulakollu.kumar
Hello Team, I am trying to understand datapath code , I came across the file datapath/linux/openvswitch.mod.c, where I could see some Symbols importing . Could, Someone give briefly what it meant for. Thanks, Uday The information contained in this electronic message and any attachments to this

[ovs-dev] Query regarding datapath packet receiving

2015-11-12 Thread ravulakollu.kumar
Hello All, Could someone tell me how openvswitch kernel module receives packet from kernel network stack. I could see packet reception from "netdev_frame_hook", which is registered in "rpl_netdev_rx_handler_register" while adding iface. Does this netdev_rx_handler_register is the one in net/core

[ovs-dev] what does flow_extract do in flow.c ?

2015-11-02 Thread ravulakollu.kumar
Hi All, Can someone tell me what does flow_extract function do in lib/flow.c . Thanks, Uday The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged in

[ovs-dev] vlan_tci flow key attribute becoming zero

2015-11-02 Thread ravulakollu.kumar
Hello All, I am using openvswitch 2.4 version , compiled under centos 7 (kernel version 3.18.22) . I am sending double tagged traffic to one trunk port , the same and coming out from the other trunk port (vswitchd is configured in normal mode flow operation). But somehow the vlan ID is becomin

[ovs-dev] Not able to install openvswitch-kmod for kernel 3.18

2015-10-30 Thread ravulakollu.kumar
Hi Team, I have upgraded my CentOS-7 kernel from 3.10 to 3.18. For successfully compiling ovs -2.4 datapath against Linux kernel version 3.18, I have applied the below patch. http://openvswitch.org/pipermail/dev/2015-September/060253.html Successfully able to compile both datapath and userspace.

Re: [ovs-dev] Drop in Rx rate if host kernel is only loaded with openvswitch.ko kernel module.

2015-09-29 Thread ravulakollu.kumar
Thanks Jesse, Yes , this is not the issue with ovs-2.4 . Now I understood , since I have added some code to datapath. Also I have added number of printk log statements for each packet reception. Now I removed all logs statements. Now tx and Rx are approximately ok . Thanks & Regards, Uday ---

Re: [ovs-dev] Drop in Rx rate if host kernel is only loaded with openvswitch.ko kernel module.

2015-09-28 Thread ravulakollu.kumar
Hi Jesse , Thanks for your reply. The other modules I am talking about are not ovs vport-vxlan and vport-gre. They are Linux kernels vxlan.ko(/lib/modules/3.10.0-123.20.1.el7.x86_64/kernel/drivers/net/vxlan.ko) and gre.ko (/lib/modules/3.10.0-123.20.1.el7.x86_64/kernel/net/ipv4/gre.ko). When

[ovs-dev] Drop in Rx rate if host kernel is only loaded with openvswitch.ko kernel module.

2015-09-28 Thread ravulakollu.kumar
Hello Team, Recently I observed an issue which is very strange to me . I am testing Phy-OVS-phy performance Testing(1G) I am using ovs-2.4.0 code. I compiled it successfully , and installed all userspace utils. And I insmoded openvswitch.ko kernel module only , nothing else(I could see other

[ovs-dev] Does ovs-2.4 supports egress traffic shaping ?

2015-09-13 Thread ravulakollu.kumar
Hello Team, Does ovs supports traffic shaping . I don't see any configuration related to shaping. Please, let me Know if there exists some configuration to enable traffic shaping. Thanks & Regards, Uday The information contained in this electronic message and any attachments to this message are

[ovs-dev] seeing TPID of received packets is miss-reported as 0x8100 instead of 0x88A8

2015-08-09 Thread ravulakollu.kumar
Hi Team, I am sending 1ad tagged traffic from external packet generator to ovs bridge interface(ingress-trunk). Receiving the same packet via ovs egress port in the Packet generator. I am using tcpdump to capture the packets on egress. But I am seeing TPID of received packets is miss-reporte

Re: [ovs-dev] upcall processing in userspace

2015-08-09 Thread ravulakollu.kumar
Hi Jarno, Thank you very much for your valuable information. ovs-appctl ofproto/trace gave me a good insight into action processing in userspace. Thanks & Regards, Uday -Original Message- From: Jarno Rajahalme [mailto:jrajaha...@nicira.com] Sent: Friday, August 07, 2015 10:06 PM To: Ra

[ovs-dev] upcall processing in userspace

2015-08-07 Thread ravulakollu.kumar
Hi Team, I am debugging upcall processing in ofproto-dpif-upcall.c file . I am not able to visualize how opfbuf structure is being filled with actions(Note: My bridge is configured without OF rules, meaning actions=NORMAL). I could see packet is being flooded for unknown mac, vlan in the code.

Re: [ovs-dev] [PATCH net-next 3/3] openvswitch: 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-08-02 Thread ravulakollu.kumar
Hi Thomas, Thanks for your detailed clarification. This link (http://openvswitch.org/pipermail/dev/2015-June/056717.html ) is mentioning only number of files changed, not the actual patch. Could you please forward the patch you have. Of course as you said openflow flow rules is a way to achiev

Re: [ovs-dev] [PATCH net-next 3/3] openvswitch: 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-08-01 Thread ravulakollu.kumar
Hi Thomas, Thanks for your clarification. Could you please forward me the userspace patch you are mentioning. I guess version 6 is the latest, but I could not get the patch in internet. We are interested in testing this feature thoroughly. Also In the case of NORMAL mode as you said without pat

Re: [ovs-dev] [PATCH net-next 3/3] openvswitch: 802.1AD: Flow handling, actions, vlan parsing and netlink attributes

2015-07-31 Thread ravulakollu.kumar
Hi Thomas, I have applied your below mentioned 1ad patch to ovs-master code. Compiled successfully. I am running ovs in a centos machine. I have created bridge and configured ports using below commands. ovs-vsctl --no-wait add-br br0 ovs-vsctl --no-wait add-port br0 eth0 tag=100 vlan_mode=nativ

[ovs-dev] Need pointers in understanding Mac learning ovs bridge code flow(legacy)

2015-07-27 Thread ravulakollu.kumar
Hi All, I am analyzing code for openvswitch with kernel datapath. For a mac learning switch implementation, I wanted to Understand the code flow when a packet is arrived on vport(netdev). I could see upcalls to userspace when the packet received on vport(netdev). Upcall handler doing DPIF_OP_FLO

Re: [ovs-dev] [PATCH net-next 3/3] openvswitch: 802.1AD: Flow handling, actions, and vlan parsing

2015-07-26 Thread ravulakollu.kumar
Hi Thomas, Thank you very much for your response. Does this patch adds 802.1ad tag on ingress and pops the same on egress by default? or is it to be configured via ofctl commands explicitly? Thanks in Advance, Uday From: Thomas F Herbert Sent: Sunday, J

Re: [ovs-dev] [PATCH net-next 3/3] openvswitch: 802.1AD: Flow handling, actions, and vlan parsing

2015-07-26 Thread ravulakollu.kumar
Hi Thomas, I am currently using the beta version of ovs(2.3.90). In my phy-phy scenario , I am configuring the two physical ports(eth0, eth1) attached to ovs bridge as trunk ports using the below commands. ovs-vsctl --no-wait add-port br0 eth0 vlan_mode=trunk ovs-vsctl --no-wait add-port br0 et

Re: [ovs-dev] [PATCH 0/5 V6] Add 802.1ad (qinq) support

2015-07-14 Thread ravulakollu.kumar
Hi Thomas, Thanks for your reply. Seems I was using old patch http://patchwork.openvswitch.org/patch/3686/ (version 3). It would be really helpful if you could let me know the link where I can download version 11 patch code. Also I have few queries like, does version 11 patch includes configura

Re: [ovs-dev] [PATCH 0/5 V6] Add 802.1ad (qinq) support

2015-07-13 Thread ravulakollu.kumar
Hi All, I am trying to configure vlan stacking (802.1ad) to few ovs bridge ports, in Normal mode bridge operation. I am using ovs-master code Version 2.3.9 for my experiments. I am seeing no support for stacked vlans both from the configuration interface perspective and datapath as well. I am t