[ovs-dev] [PATCH ovn] controller: Don't release LRP until its claimed

2023-12-19 Thread Ihtisham ul Haq via dev
Previously LRP would be released as soon as the BFD session to another chassis is established even if that chassis is unable to claim the LRP for whatever reason. This patch introduces a cache to keep track of LRPs claimed by the current chassis and release it only if an update event for LRP claim

[ovs-dev] [PATCH ovn v2] lflow-cache: Introduce cache for lflow actions

2023-05-24 Thread Ihtisham ul Haq via dev
Using cache improves performance of recomputation of lflows(by about 30%) Exising lflow cache for `matches` and `expressions` is adopted to include `actions` as well. Co-authored-by: Felix Huettner Signed-off-by: Felix Huettner Signed-off-by: Ihtisham ul Haq --- controller/lflow-cache.c

[ovs-dev] [PATCH ovn] lflow-cache: Introduce cache for lflow actions

2023-05-24 Thread Ihtisham ul Haq via dev
Using cache improves performance of recomputation of lflows. We see about 30% improvments during our tests Exising lflow cache for `matches` and `expressions` is adopted to include `actions` as well. Co-authored-by: Felix Huettner Signed-off-by: Ihtisham ul Haq --- controller/lflow-cache.c