Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-02-22 Thread Vishal Deep Ajmera
, 2018 10:38 AM To: Flavio Leitner Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports > It looks good to me. I hope it does work for any number of ports > and doesn't show any errors. If that's the case, please submit a > formal pa

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-19 Thread Vishal Deep Ajmera
> It looks good to me. I hope it does work for any number of ports > and doesn't show any errors. If that's the case, please submit a > formal patch to ovs-dev@ and don't forget to request to patch 2.9 > (if you need that) as it's branched off at this point. Ok Flavio. I will send formal patch to

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-18 Thread Flavio Leitner
On Thu, Jan 18, 2018 at 08:32:03AM +, Vishal Deep Ajmera wrote: > > OK, what about this patch instead? It should fix the issue without the > > errors. I have not tested. > > I tried your patch but it does not re-add the routes. The reason is doing > $ ifup br0 will not invoke ifup-post since

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-18 Thread Flavio Leitner
On Thu, Jan 18, 2018 at 10:12:40AM +, Vishal Deep Ajmera wrote: > > BTW, I suggested earlier but maybe I wasn't clear. > > > > Instead of adding networking configuration to the bridge's port, just > > leave it alone with a name that doesn't bother you. > > > > Then create an internal port wit

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-18 Thread Vishal Deep Ajmera
> BTW, I suggested earlier but maybe I wasn't clear. > > Instead of adding networking configuration to the bridge's port, just > leave it alone with a name that doesn't bother you. > > Then create an internal port with the name and the networking > configuration you need. It won't change its MAC

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-18 Thread Vishal Deep Ajmera
> OK, what about this patch instead? It should fix the issue without the > errors. I have not tested. I tried your patch but it does not re-add the routes. The reason is doing $ ifup br0 will not invoke ifup-post since the bridge port is already UP and so $OVSBRIDGECONFIGURED will be 'true'. I

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-17 Thread Flavio Leitner
On Wed, Jan 17, 2018 at 09:17:07PM -0200, Flavio Leitner wrote: > On Wed, Jan 17, 2018 at 04:35:01PM +, Vishal Deep Ajmera wrote: > > > What happens if you have two or more bonds or if we fix dpdk port too, > > > what happens when you have more than one? > > > I think you will see errors/fai

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-17 Thread Flavio Leitner
On Wed, Jan 17, 2018 at 04:35:01PM +, Vishal Deep Ajmera wrote: > > What happens if you have two or more bonds or if we fix dpdk port too, > > what happens when you have more than one? > > I think you will see errors/failures. > > I tried with two dpdk ports and I do see following print on

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-17 Thread Vishal Deep Ajmera
> What happens if you have two or more bonds or if we fix dpdk port too, > what happens when you have more than one? > I think you will see errors/failures. I tried with two dpdk ports and I do see following print on console though it seem harmless and does not impact route table. Also, this h

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-17 Thread Flavio Leitner
On Wed, Jan 17, 2018 at 10:25:36AM +, Vishal Deep Ajmera wrote: > Hi Flavio, > > I tried to look closer into ifup-ovs script particularly for OVSDPDKPort & > OVSDPDKBOND cases. > With the change given below (git diff) at the end OVSDPDKBOND case, I see > that the routes > are getting insta

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-17 Thread Vishal Deep Ajmera
Hi Flavio, I tried to look closer into ifup-ovs script particularly for OVSDPDKPort & OVSDPDKBOND cases. With the change given below (git diff) at the end OVSDPDKBOND case, I see that the routes are getting installed again after adding dpdkbond port to the bridge. Perhaps the same fix needs

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-16 Thread Flavio Leitner
Message- > From: Flavio Leitner [mailto:f...@sysclose.org] > Sent: Tuesday, January 16, 2018 9:17 AM > To: Vishal Deep Ajmera > Cc: ovs-discuss@openvswitch.org > Subject: Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports > > On Tue, Dec 26, 2017 at 08:31:49AM +

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-15 Thread Vishal Deep Ajmera
issue. Warm Regards, Vishal Ajmera -Original Message- From: Flavio Leitner [mailto:f...@sysclose.org] Sent: Tuesday, January 16, 2018 9:17 AM To: Vishal Deep Ajmera Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports On Tue, Dec 26, 2017 at

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-15 Thread Flavio Leitner
On Tue, Dec 26, 2017 at 08:31:49AM +, Vishal Deep Ajmera wrote: > Hi, > > On Red-Hat, kernel IP Routes are getting deleted whenever a dpdk-bond port is > added to "netdev" type bridge. I understand that when a DPDK port is added to > ovs, the bridge port (LOCAL) is reconfigured with MAC addre

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-09 Thread Vishal Deep Ajmera
-boun...@openvswitch.org] On Behalf Of Vishal Deep Ajmera Sent: Tuesday, January 02, 2018 3:43 PM To: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports Can someone help with route issue below ? Warm Regards, Vishal From: ovs-discuss-boun...@openvswitc

Re: [ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2018-01-02 Thread Vishal Deep Ajmera
issue with dpdk-bond ports Hi, On Red-Hat, kernel IP Routes are getting deleted whenever a dpdk-bond port is added to "netdev" type bridge. I understand that when a DPDK port is added to ovs, the bridge port (LOCAL) is reconfigured with MAC address which requires IOCTL calls to bring the d

[ovs-discuss] REDHAT: Route issue with dpdk-bond ports

2017-12-26 Thread Vishal Deep Ajmera
Hi, On Red-Hat, kernel IP Routes are getting deleted whenever a dpdk-bond port is added to "netdev" type bridge. I understand that when a DPDK port is added to ovs, the bridge port (LOCAL) is reconfigured with MAC address which requires IOCTL calls to bring the device down and up. This causes ker