[ovs-git] [ovn-org/ovn] 46b231: lflow.c: Refactor function convert_match_to_expr.

Dumitru Ceara noreply at github.com
Thu Oct 1 23:59:39 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 46b23163a54abb8cef6ae12585985045735aff45
      https://github.com/ovn-org/ovn/commit/46b23163a54abb8cef6ae12585985045735aff45
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M controller/lflow.c
    M lib/expr.c

  Log Message:
  -----------
  lflow.c: Refactor function convert_match_to_expr.

To make it easier to understand what the function does we now explicitly
pass the input/output arguments instead of the complete
lflow_ctx_in/lflow_ctx_out context.

Also:
- change the error handling to avoid forcing the caller to supply
  (and free) an error string pointer.
- update function comments in expr.c to mention that port_groups sets
  are also used for parsing.

CC: Numan Siddique <numans at ovn.org>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Acked-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Han Zhou <hzhou at ovn.org>




More information about the git mailing list