Re: [ovs-dev] [PATCH ovn v2] northd: Avoid looking up port peers when not needed.

2022-04-22 Thread Dumitru Ceara
On 4/21/22 21:45, Mark Michelson wrote: > Thanks Dumitru, > > Acked-by: Mark Michelson > > I actually already pushed the patch to main as well, because for some > reason I thought I had already acked the patch. Hopefully that doesn't > cause an issue. Thanks! __

Re: [ovs-dev] [PATCH ovn v2] northd: Avoid looking up port peers when not needed.

2022-04-21 Thread Mark Michelson
Thanks Dumitru, Acked-by: Mark Michelson I actually already pushed the patch to main as well, because for some reason I thought I had already acked the patch. Hopefully that doesn't cause an issue. On 4/19/22 11:50, Dumitru Ceara wrote: There's no need to always lookup a port's peer in ovn

[ovs-dev] [PATCH ovn v2] northd: Avoid looking up port peers when not needed.

2022-04-19 Thread Dumitru Ceara
There's no need to always lookup a port's peer in ovn_port_get_peer(). Just use what was already stored in op->peer instead. Also, factor out addition of router ports to a logical switch's ovn_datapath and use x2nrealloc(). Signed-off-by: Dumitru Ceara --- v2: Changed patch according to Mark's r