Currently dpdk is a special case and has dedicated calls from the bridge module and entries in OVS schema.
The legacy mode, (dpdk-init and other configurations in other_config) is kept for backward compatability. A new generalized method is introduced, for example (configuration options are optional): ovs-vsctl add-library dpdk dpdk-lcore-mask=0x5 Eli Britstein (4): vswitch.ovsschema: Add libraries to Open_vSwitch. ovs-vsctl: Add add/del-library commands. lib: Introduce library module. dpdk: Implement library_class_dpdk. lib/automake.mk | 3 + lib/dpdk.c | 26 ++++++++ lib/dpdk.h | 2 + lib/library-provider.h | 25 ++++++++ lib/library.c | 128 +++++++++++++++++++++++++++++++++++++ lib/library.h | 18 ++++++ utilities/ovs-vsctl.c | 89 ++++++++++++++++++++++++++ vswitchd/bridge.c | 20 ++++++ vswitchd/ovs-vswitchd.c | 2 + vswitchd/vswitch.ovsschema | 27 +++++++- vswitchd/vswitch.xml | 19 ++++++ 11 files changed, 356 insertions(+), 3 deletions(-) create mode 100644 lib/library-provider.h create mode 100644 lib/library.c create mode 100644 lib/library.h -- 2.34.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
