Re: [ovs-dev] [PATCH] Upcall/Slowpath rate limiter for OVS

2017-12-04 Thread Manohar Krishnappa Chidambaraswamy
case, could someone please review the patch? Thanx Manu On 17/11/17, 11:17 AM, "Manohar Krishnappa Chidambaraswamy" <manohar.krishnappa.chidambarasw...@ericsson.com> wrote: Hi, Does anyone have any comments on this add-on to upcalls?

[ovs-dev] [PATCH] Upcall/Slowpath rate limiter for OVS

2017-11-10 Thread Manohar Krishnappa Chidambaraswamy
In OVS-DPDK, both fast-path and slow-path execute in the context of a common thread (i.e, PMD thread), without any partitioning of CPU cycles between the two. When there is a burst of new flows coming into the data-path, packets are punted to slow-path in the order they are received and the PMD is

Re: [ovs-dev] [PATCH] Upcall/Slowpath rate limiter for OVS

2017-11-20 Thread Manohar Krishnappa Chidambaraswamy
Hi, 2nd attempt. Does anyone have any comments on this add-on to upcalls? Thanx Manu On 17/11/17, 11:17 AM, "Manohar Krishnappa Chidambaraswamy" <manohar.krishnappa.chidambarasw...@ericsson.com> wrote: Hi, Does anyone have any comments on this add-on to upcalls

Re: [ovs-dev] [PATCH] Upcall/Slowpath rate limiter for OVS

2017-11-16 Thread Manohar Krishnappa Chidambaraswamy
Hi, Does anyone have any comments on this add-on to upcalls? Thanx Manu On 10/11/17, 7:06 PM, "ovs-dev-boun...@openvswitch.org on behalf of Manohar Krishnappa Chidambaraswamy" <ovs-dev-boun...@openvswitch.org on behalf of manohar.krishnappa.chidambarasw...@ericsson.com> wr

[ovs-dev] [PATCH v3] Upcall/Slowpath rate limiter for OVS

2018-05-07 Thread Manohar Krishnappa Chidambaraswamy
Hi Rebased to master and adapted to the new dpif-netdev-perf counters. As explained in v2 thread, OFPM_SLOWPATH meters cannot be used as is for rate-limiting upcalls, hence reverted back to the simpler method using token bucket. Could you please review this patch? Thanx Manu v2:

[ovs-dev] [PATCH v4] Upcall/Slowpath rate-limiter for OVS

2018-05-14 Thread Manohar Krishnappa Chidambaraswamy
Jan, Have addressed your comments/suggestions. Please take a look and let me know if you have any more comments. Signed-off-by: Manohar K C CC: Jan Scheurich --- v3 : v2 rebased to master and adpated to

Re: [ovs-dev] [PATCH v1] Add mirror/ovs-tcpdump support for slow protocols' Rx path

2018-05-09 Thread Manohar Krishnappa Chidambaraswamy
Hi Ben, Thanx for the review. Please see inline. On 08/05/18, 9:12 PM, "Ben Pfaff" <b...@ovn.org> wrote: On Tue, May 08, 2018 at 08:13:10AM +, Manohar Krishnappa Chidambaraswamy wrote: > Problem: > > Received LACP/CFM/BFD/STP/LLD

[ovs-dev] [PATCH v1] Add mirror/ovs-tcpdump support for slow protocols' Rx path

2018-05-08 Thread Manohar Krishnappa Chidambaraswamy
Problem: Received LACP/CFM/BFD/STP/LLDP slow protocols' packets are not captured in ovs-tcpdump. Fix: Add mirror support for slow protocols. Signed-off-by: Manohar K C CC: Jan Scheurich ---

[ovs-dev] [PATCH v1] Avoid packet drop on LACP bond after link up

2018-05-10 Thread Manohar Krishnappa Chidambaraswamy
Problem: During port DOWN->UP of link (slave) in a LACP bond, after receiving the LACPDU with SYNC set for both actor and partner, the bond-slave remains "disabled" until OVS main thread runs LACP state machine and eventually "enables" the bond-slave. With this, we have observed delays in

[ovs-dev] [PATCH v2] Add mirror/ovs-tcpdump support for slow protocols' Rx path.

2018-05-10 Thread Manohar Krishnappa Chidambaraswamy
Ben, Here is the v2 patch based on your suggestion. Please let me know if you have any other comments. Thanx Manu Problem: Received LACP/CFM/BFD/STP/LLDP slow protocols' packets are not captured in ovs-tcpdump. Fix: Add mirror support for slow protocols. Signed-off-by: Manohar

Re: [ovs-dev] [PATCH v3] Upcall/Slowpath rate limiter for OVS

2018-05-11 Thread Manohar Krishnappa Chidambaraswamy
ped packets must be accounted for in function dpif_netdev_get_stats() as stats->n_missed, otherwise the overall number of reported packets may not match the total number of packets processed. [manu] Thanx. Will fix it. Other comments in-line. Regards, Jan > Fr

[ovs-dev] [PATCH v1 2/2] Fix packet drops on LACP bond after link up

2018-05-17 Thread Manohar Krishnappa Chidambaraswamy
2/2: Fix packet drops on LACP bond after link up Problem: On certain Fortville NICs it has been observed that PHY UP detection can get delayed (sometimes up to 4-5 secs). When the driver fails to fetch PHY status as UP even though its actually UP, LACP packets can get exchanged and LACP

[ovs-dev] [PATCH v1 1/2] Fix packet drops on LACP bond after link up

2018-05-17 Thread Manohar Krishnappa Chidambaraswamy
1/2: Fix packet drops on LACP bond after link up Problem: During port DOWN->UP of link (slave) in a LACP bond, after receiving the LACPDU with SYNC set for both actor and partner, the bond-slave remains "disabled" until OVS main thread runs LACP state machine and eventually "enables" the

Re: [ovs-dev] [PATCH v4] Upcall/Slowpath rate-limiter for OVS

2018-06-08 Thread Manohar Krishnappa Chidambaraswamy
Aaron, Thanx for your comments/suggestions. Please see inline. Thanx Manu On 07/06/18, 7:06 PM, "Aaron Conole" wrote: Manohar Krishnappa Chidambaraswamy writes: > Jan, > > Have addressed your comments/suggestions. Please take a look and let me

[ovs-dev] [PATCH v1] Avoid dp_hash recirculation for balance-tcp bond selection mode

2018-06-18 Thread Manohar Krishnappa Chidambaraswamy
Hi Problem: In OVS-DPDK, flows with output over a bond interface of type “balance-tcp” (using a hash on TCP/UDP 5-tuple) get translated by the ofproto layer into "HASH" and "RECIRC" datapath actions. After recirculation, the packet is forwarded to the bond member port based on 8-bits of

Re: [ovs-dev] [PATCH v1 1/2] Fix packet drops on LACP bond after link up

2018-06-18 Thread Manohar Krishnappa Chidambaraswamy
Thanx Ben. Will rebase and send v2 diffs. Thanx Manu On 15/06/18, 2:24 AM, "Ben Pfaff" wrote: Thanks for the patch. The patch cannot be applied. It appears to be white space damaged. Please resubmit using "git send-email".

[ovs-dev] [PATCH v2 1/2] Fix packet drops on LACP bond after link up

2018-06-18 Thread Manohar Krishnappa Chidambaraswamy
Ben, Here are the v2 diffs. Hope this applies without any issue. Thanx Manu Signed-off-by: Manohar K C CC: Jan Scheurich CC: Nitin Katiyar --- v1 1/2: https://patchwork.ozlabs.org/patch/915285/ v2 1/2: Rebased to master lib/lacp.c | 14 -- lib/lacp.h

Re: [ovs-dev] [PATCH v1 1/2] Fix packet drops on LACP bond after link up

2018-06-05 Thread Manohar Krishnappa Chidambaraswamy
Hi, Could someone take a look at this patch? We hit this issue (drops) on a customer setup and appreciate your comments/suggestions. Thanx Manu On 17/05/18, 3:26 PM, "ovs-dev-boun...@openvswitch.org on behalf of Manohar Krishnappa Chidambaraswamy" wrote: 1/2: Fix packet dro

Re: [ovs-dev] [PATCH v1 2/2] Fix packet drops on LACP bond after link up

2018-06-05 Thread Manohar Krishnappa Chidambaraswamy
Hi, Could someone take a look at this patch? We hit this issue (drops) on a customer setup and appreciate your comments/suggestions. Thanx Manu On 17/05/18, 3:29 PM, "ovs-dev-boun...@openvswitch.org on behalf of Manohar Krishnappa Chidambaraswamy" wrote: 2/2: Fix packet dro

[ovs-dev] [PATCH] AUTHORS: Update email-id of Manohar K C

2018-06-26 Thread Manohar Krishnappa Chidambaraswamy
...@noironetworks.com -Manohar Krishnappa Chidambaraswamy manohar.krishnappa.chidambarasw...@ericsson.com +Manohar K Cman...@gmail.com Marcin Mirecki mmire...@redhat.com Mario Cabrera mario.cabr...@hpe.com Mark D. Gray mark.d.g

Re: [ovs-dev] [PATCH v2 1/2] Fix packet drops on LACP bond after link up

2018-06-25 Thread Manohar Krishnappa Chidambaraswamy
Hi Ben, Does this patch apply without issues? Would you be able to look at 2/2 of this series as well? Thanx Manu On 18/06/18, 2:05 PM, "ovs-dev-boun...@openvswitch.org on behalf of Manohar Krishnappa Chidambaraswamy" wrote: Ben, Here are the v2 diffs. Hope th

[ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-01-15 Thread Manohar Krishnappa Chidambaraswamy
Rebased to master. Could you please review this patch? v1 of this patch has been sitting idle for quite sometime. I believe this feature is important. Without this feature, an attacker sending packets belonging to different (unestablished) flows can result in PMDs running only upcalls, reducing

Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-01-24 Thread Manohar Krishnappa Chidambaraswamy
of token-bucket. I don’t know much about meters. Will check. Thanx Manu On Mon, Jan 15, 2018 at 08:33:31AM +, Manohar Krishnappa Chidambaraswamy wrote: > Rebased to master. > > Could you please review this patch? > > v1 of this patch has been sit

Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-02-15 Thread Manohar Krishnappa Chidambaraswamy
, 15 February, 2018 19:13 > To: Manohar Krishnappa Chidambaraswamy <manohar.krishnappa.chidambarasw...@ericsson.com> > Cc: d...@openvswitch.org > Subject: Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS > > Metering is implemented

Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-02-19 Thread Manohar Krishnappa Chidambaraswamy
gt; > What do you think? > > Jan > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Friday, 16 February, 2018 23:54 > > To: Jan Scheurich <jan.scheur...@ericsson.com> > > Cc: Manohar Krish

Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-02-15 Thread Manohar Krishnappa Chidambaraswamy
the slow-path before meter-action can be executed. Thanx Manu On 25/01/18, 11:52 AM, "ovs-dev-boun...@openvswitch.org on behalf of Manohar Krishnappa Chidambaraswamy" <ovs-dev-boun...@openvswitch.org on behalf of manohar.krishnappa.chidambarasw...@ericsson.com> wrote: Ben,

Re: [ovs-dev] [PATCH v1] Avoid dp_hash recirculation for balance-tcp bond selection mode

2018-06-19 Thread Manohar Krishnappa Chidambaraswamy
Hi Ilya, Thanx for taking a look. Please see inline. Thanx Manu On 18/06/18, 4:04 PM, "Ilya Maximets" wrote: > Hi Hi, I just wanted to clarify few things about RSS hash. See inline. One more thing: Despite of usual OVS bonding, this implementation doesn't

Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-03-13 Thread Manohar Krishnappa Chidambaraswamy
patch? Thanx Manu On 07/03/18, 6:54 PM, "ovs-dev-boun...@openvswitch.org on behalf of Manohar Krishnappa Chidambaraswamy" <ovs-dev-boun...@openvswitch.org on behalf of manohar.krishnappa.chidambarasw...@ericsson.com> wrote: Ben, While digging further on how OFPM_SLOW

Re: [ovs-dev] [PATCH v2] Upcall/Slowpath rate limiter for OVS

2018-03-07 Thread Manohar Krishnappa Chidambaraswamy
eter (like "ofctl add-global-meter meter="slowpath"...) which is not tied to any bridge or a new CLI like what was proposed in this patch before. Please let me know your thoughts. Thanx Manu On 20/02/18, 11:20 AM, "Manohar Krishnappa Chidambaraswamy" <manohar.kr

[ovs-dev] [PATCH] Handle gratuitous ARP requests and replies in tnl_arp_snoop()

2018-04-05 Thread Manohar Krishnappa Chidambaraswamy
Problem: In user-space tunneling implementation, tnl_arp_snoop() snoops only ARP *reply* packets to resolve tunnel nexthop IP addresses to MAC addresses. Normally the ARP requests are periodically sent by the local host IP stack, so that the ARP cache in OVS is refreshed and entries do

Re: [ovs-dev] [PATCH] Handle gratuitous ARP requests and replies in tnl_arp_snoop()

2018-04-11 Thread Manohar Krishnappa Chidambaraswamy
Thanx Ben. -Manu On 11/04/18, 4:57 AM, "Ben Pfaff" <b...@ovn.org> wrote: On Thu, Apr 05, 2018 at 12:20:27PM +, Manohar Krishnappa Chidambaraswamy wrote: > Problem: > > In user-space tunneling implementation, tnl_arp_snoop() snoops only