[ovs-git] [openvswitch/ovs] 0ea866: ovsdb-idlc: Add "cDecls" and "hDecls" IDL schema e...

GitHub noreply at github.com
Fri Feb 16 23:10:09 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 0ea866bbc0fb8cd10d2b86fa0ed6f1abd864a5b9
      https://github.com/openvswitch/ovs/commit/0ea866bbc0fb8cd10d2b86fa0ed6f1abd864a5b9
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M ovsdb/ovsdb-idlc.1
    M ovsdb/ovsdb-idlc.in
    M python/ovs/db/schema.py

  Log Message:
  -----------
  ovsdb-idlc: Add "cDecls" and "hDecls" IDL schema extensions.

An IDL schema is an OVSDB schema with some extra stuff in it: an idlPrefix
and an idlHeader at the top level to indicate what ovsdb-idlc needs to
generate the interface definitions.  This commit adds support for two more
optional IDL schema extensions that allow extra code to be written to the
.c and .h file that ovsdb-idlc generates.

Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 00386a6921329d3449a93d536f86a756dedb14b3
      https://github.com/openvswitch/ovs/commit/00386a6921329d3449a93d536f86a756dedb14b3
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M ovsdb/ovsdb-idlc.1
    M python/ovs/db/schema.py

  Log Message:
  -----------
  ovsdb-idlc: Add infrastructure for IDL schema extensions.

An IDL schema is an OVSDB schema with some extra stuff in it.  So far, all
of the extras have been at the top level.  This commit makes it possible
for IDL schemas to have extra information at the table and column levels as
long as it is in an "extensions" member.

No extensions are actually supported yet.

Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 01928c964f572fb0551c999437557458f326be3e
      https://github.com/openvswitch/ovs/commit/01928c964f572fb0551c999437557458f326be3e
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M lib/ovsdb-idl-provider.h
    M lib/ovsdb-idl.c
    M ovsdb/ovsdb-idlc.1
    M ovsdb/ovsdb-idlc.in

  Log Message:
  -----------
  ovsdb-idlc: Implement synthetic columns.

A synthetic column is one that is not present in the actual database but
instead calculated by code in the client based on columns in the row.  This
can be useful to avoid repeatedly calculating the same function of a row.

Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 8bf332225d4a73f359c806ad907bcb78ad2a6087
      https://github.com/openvswitch/ovs/commit/8bf332225d4a73f359c806ad907bcb78ad2a6087
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M ovn/lib/ovn-sb-idl.ann
    M ovn/lib/ovn-util.c
    M ovn/lib/ovn-util.h
    M ovn/northd/ovn-northd.c

  Log Message:
  -----------
  ovn-northd: Reduce amount of flow hashing.

Jakub Sitnicki demonstrated that repeatedly calculating row hashes is
expensive, so this should improve ovn-northd performance.

Reported-by: Jakub Sitnicki <jkbs at redhat.com>
Reported-at: https://mail.openvswitch.org/pipermail/ovs-dev/2018-February/344404.html
Signed-off-by: Ben Pfaff <blp at ovn.org>
Tested-by: Jakub Sitnicki <jkbs at redhat.com>


Compare: https://github.com/openvswitch/ovs/compare/8b70d82461ea...8bf332225d4a


More information about the git mailing list