[ovs-git] [ovn-org/ovn] f75431: northd: Reduce number of logical flow allocations.

Dumitru Ceara noreply at github.com
Tue Jun 15 16:14:35 UTC 2021


  Branch: refs/heads/branch-21.06
  Home:   https://github.com/ovn-org/ovn
  Commit: f754318692e0a93b781ef2d26aa7cf5dfb9aa152
      https://github.com/ovn-org/ovn/commit/f754318692e0a93b781ef2d26aa7cf5dfb9aa152
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M northd/ovn-northd.c

  Log Message:
  -----------
  northd: Reduce number of logical flow allocations.

There's no need to allocate a logical flow structure if we're going to
merge it to an existing one that refers to a datapath group.

This saves a lot of xstrdup() calls followed immediately by free().

Reported-at: https://bugzilla.redhat.com/1962818
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry picked from commit d299a255823a4c02fd7c6e6a462309171c9d03b1)




More information about the git mailing list