Currently dpdk is a special case and has dedicated calls from the bridge module and entries in OVS schema. Also, dpdk netdev registration is done not the way of other netdev classes. Generalize it with set_other_config/status API, as well as a preparation for more libraries in the future.
v2: - Fixed compilation without dpdk (dpdk-stub). - Changed registration code to avoid single-thread assertion. Eli Britstein (3): netdev: Introduce class set_other_config/status API. netdev-dpdk: Generic class registration. vswitch: Remove dedicated dpdk properties from schema. lib/dpdk-stub.c | 14 ++- lib/dpdk.c | 18 ++-- lib/netdev-dpdk.c | 178 ++++++++++++++++++++++--------------- lib/netdev-dpdk.h | 1 - lib/netdev-provider.h | 17 ++++ lib/netdev.c | 35 ++++++++ lib/netdev.h | 3 + vswitchd/bridge.c | 8 +- vswitchd/vswitch.ovsschema | 12 ++- vswitchd/vswitch.xml | 15 +--- 10 files changed, 195 insertions(+), 106 deletions(-) -- 2.34.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
