This patch series refactor the service module, remove some specific logic and use the service framework logic as much as possible. Also add a device argument to control the enable of CPP service.
Long Wu (6): net/nfp: fix check logic for device arguments net/nfp: remove redundant NFP service code net/nfp: remove the flower service dead loop net/nfp: fix disable CPP service net/nfp: add CPP service enable option net/nfp: add CPP service abnormal exit logic doc/guides/nics/nfp.rst | 9 +++ .../net/nfp/flower/nfp_flower_representor.c | 3 - drivers/net/nfp/flower/nfp_flower_service.c | 29 +++---- drivers/net/nfp/nfp_cpp_bridge.c | 6 ++ drivers/net/nfp/nfp_cpp_bridge.h | 1 + drivers/net/nfp/nfp_ethdev.c | 81 ++++++++++++++----- drivers/net/nfp/nfp_net_common.h | 3 + drivers/net/nfp/nfp_service.c | 76 +++-------------- drivers/net/nfp/nfp_service.h | 1 - 9 files changed, 101 insertions(+), 108 deletions(-) -- 2.39.1