[ovs-git] [ovn-org/ovn] ddf9f1: ovn-northd: reorganize processing of lflows

numansiddique noreply at github.com
Thu Nov 12 10:25:26 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: ddf9f1d7131908fafb6fd6e7e2a5a422e585d0e0
      https://github.com/ovn-org/ovn/commit/ddf9f1d7131908fafb6fd6e7e2a5a422e585d0e0
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: reorganize processing of lflows

1. Merge lrouter and lswitch processing.
2. Move lrouter and lswitch lflow generation which uses the
same iterator variables into common helpers
3. Set up structures to be used as "job descriptors" in
order to allow parallel processing later.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: 6285c6f144262bcb0eb1f915b73d387e43ba969f
      https://github.com/ovn-org/ovn/commit/6285c6f144262bcb0eb1f915b73d387e43ba969f
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: move pre-acl and acl lswitch processing to a function.

Move pre-acl and acl lswitch processing to a function.
Invoke the pre-acl and acl lswitch processing out of the combined
processing od loop.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: b16c7393fb27c18976f054f4cd56977c1a3eb0a0
      https://github.com/ovn-org/ovn/commit/b16c7393fb27c18976f054f4cd56977c1a3eb0a0
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: migrate build_fwd_group_lflows to build_converged.

1. Move the condition from the old HMAP_FOR_EACH loop into the
   build_fwd_group_lflows() function.
2. Move build_fwd_group_lflows() into the converged build
   helper function.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: 9893d3892ca14268eabc68f4d1a64aecbb1d27cf
      https://github.com/ovn-org/ovn/commit/9893d3892ca14268eabc68f4d1a64aecbb1d27cf
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: Move lswitch admission control to a helper function.

1. Move the admission control lflows to a helper function.
2. Add the helper function to the converged build per-od
   loop.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: 1b240aefbafdf65155d3c2ad52c96bf39d31fab9
      https://github.com/ovn-org/ovn/commit/1b240aefbafdf65155d3c2ad52c96bf39d31fab9
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: migrate input port security flows to converged build.

1. Split build_lswitch_input_port_sec into per-datapath and
   per-port iterators.
2. Reuse common scratchpad in the per-port build.
3. Migrate the two new functions to the converged build loops.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: 534a0e5f90924555c4d2b6835703c0b5cde42b57
      https://github.com/ovn-org/ovn/commit/534a0e5f90924555c4d2b6835703c0b5cde42b57
  Author: Anton Ivanov <anton.ivanov at cambridgegreys.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: Reorganize lrouter flow processing.

Move several per-port/per-datapath processing functions from
earlier patch series into the combined processing loops.

Signed-off-by: Anton Ivanov <anton.ivanov at cambridgegreys.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


Compare: https://github.com/ovn-org/ovn/compare/1f71a32d5ab6...534a0e5f9092


More information about the git mailing list