From: Numan Siddique <[email protected]> There can be some client specific data which could change from one engine run to another. Adding a 'void *' data in 'struct engine_ctx' will be useful. One such usecase is to provide a config option in ovn-controller to turn on or off logical flow expr caching. And this config knob can be stored in the engine_ctx. An upcoming patch will make use of this.
Signed-off-by: Numan Siddique <[email protected]> --- lib/inc-proc-eng.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/inc-proc-eng.h b/lib/inc-proc-eng.h index e25bcb29c6..80de75029e 100644 --- a/lib/inc-proc-eng.h +++ b/lib/inc-proc-eng.h @@ -66,6 +66,7 @@ struct engine_context { struct ovsdb_idl_txn *ovs_idl_txn; struct ovsdb_idl_txn *ovnsb_idl_txn; + void *client_ctx; }; /* Arguments to be passed to the engine at engine_init(). */ -- 2.26.2 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
