mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ovsdb-idl: Add support for column tracking in IDL.
Recent IDL change tracking patches allow quick traversal of changed rows. This patch adds additional support to track changed columns. It allows an IDL client to efficiently check if a specific column of a row was updated by IDL. Signed-off-by: Shad Ansari <shad.ansar@hpe.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -132,6 +132,8 @@ void ovsdb_idl_track_add_all(struct ovsdb_idl *idl);
|
||||
const struct ovsdb_idl_row *ovsdb_idl_track_get_first(
|
||||
const struct ovsdb_idl *, const struct ovsdb_idl_table_class *);
|
||||
const struct ovsdb_idl_row *ovsdb_idl_track_get_next(const struct ovsdb_idl_row *);
|
||||
bool ovsdb_idl_track_is_updated(const struct ovsdb_idl_row *row,
|
||||
const struct ovsdb_idl_column *column);
|
||||
void ovsdb_idl_track_clear(const struct ovsdb_idl *);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user