[dpdk-dev] [PATCH v2 0/2] service: enable app lcore to run service iter

Harry van Haaren harry.van.haaren at intel.com
Wed Oct 25 15:25:27 CEST 2017


This patchset enables an application lcore (non-service core) to
run an iteration of a service. This is useful in a variety of cases,
from advanced applications to unit-testing. A second function is added
to allow the application to disable the check that a service-core is
mapped to a service, in the return value from runstate_get(). This
function passes responsibility to the application to run the service
as required, allowing the first function to actually be of use. See
the second commit message for details.

This patchset is in response to rework on the Eventdev SW PMD tests[1],
which made it clear that there is a need for applications to be able
to run exactly one iteration of a service exactly when required.

Regards, -Harry

[1] http://dpdk.org/dev/patchwork/patch/30666/

---

v2:
- Rebase on master to fix version.map file conflicts
- Reword function parameter for clarity (Pavan)
- Add Acks from ML

Harry van Haaren (2):
  service: add function for app lcore to run service
  service: add runtime service core check disable

 lib/librte_eal/common/include/rte_service.h | 44 +++++++++++++++-
 lib/librte_eal/common/rte_service.c         | 81 +++++++++++++++++++++--------
 lib/librte_eal/rte_eal_version.map          |  2 +
 3 files changed, 103 insertions(+), 24 deletions(-)

-- 
2.7.4



More information about the dev mailing list