Make multiple devices can use single core to run services for flower firmware. Also add synchronize module and service module to support it.
Long Wu (4): net/nfp: add synchronize module net/nfp: create new service code related files net/nfp: flower driver uses one service core net/nfp: fix stop cpp service problem drivers/net/nfp/flower/nfp_flower.c | 56 +-- drivers/net/nfp/flower/nfp_flower_ctrl.c | 20 +- drivers/net/nfp/flower/nfp_flower_ctrl.h | 2 +- .../net/nfp/flower/nfp_flower_representor.c | 7 + drivers/net/nfp/flower/nfp_flower_service.c | 196 +++++++++ drivers/net/nfp/flower/nfp_flower_service.h | 17 + drivers/net/nfp/meson.build | 3 + drivers/net/nfp/nfp_cpp_bridge.c | 91 +---- drivers/net/nfp/nfp_cpp_bridge.h | 1 - drivers/net/nfp/nfp_ethdev.c | 31 +- drivers/net/nfp/nfp_net_common.h | 15 +- drivers/net/nfp/nfp_service.c | 117 ++++++ drivers/net/nfp/nfp_service.h | 20 + drivers/net/nfp/nfpcore/nfp_sync.c | 382 ++++++++++++++++++ drivers/net/nfp/nfpcore/nfp_sync.h | 31 ++ 15 files changed, 854 insertions(+), 135 deletions(-) create mode 100644 drivers/net/nfp/flower/nfp_flower_service.c create mode 100644 drivers/net/nfp/flower/nfp_flower_service.h create mode 100644 drivers/net/nfp/nfp_service.c create mode 100644 drivers/net/nfp/nfp_service.h create mode 100644 drivers/net/nfp/nfpcore/nfp_sync.c create mode 100644 drivers/net/nfp/nfpcore/nfp_sync.h -- 2.39.1