diff mbox series

[ovs-dev,v2,1/3] lflow-cache.h: Fix comment about lflow-cache.

Message ID 20211103171036.3060708-2-hzhou@ovn.org
State Superseded
Headers show
Series uuid-based conjunction id generation. | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test fail github build: failed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed

Commit Message

Han Zhou Nov. 3, 2021, 5:10 p.m. UTC
In commit fadbc04f38db it changed the lflow-cache behavior but forgot to
update the commment.

Fixes: fadbc04f38db ("ovn-controller: Fix incremental processing for logical port references.")
Signed-off-by: Han Zhou <hzhou@ovn.org>
---
 controller/lflow-cache.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/controller/lflow-cache.h b/controller/lflow-cache.h
index 6166fa7c5..553e05f8e 100644
--- a/controller/lflow-cache.h
+++ b/controller/lflow-cache.h
@@ -32,8 +32,9 @@  struct lflow_cache;
  *  - Caches
  *     (1) Conjunction ID offset if the logical flow has port group/address
  *         set references.
- *     (2) expr tree if the logical flow has is_chassis_resident() match.
- *     (3) expr matches if (1) and (2) are false.
+ *     (2) expr tree if the logical flow doesn't have port group/address set
+ *         references but has other references (such as lport).
+ *     (3) expr matches if the logical flow doesn't have any references.
  */
 enum lflow_cache_type {
     LCACHE_T_CONJ_ID, /* Only conjunction id offset is cached. */