DPDK patches and discussions
 help / color / mirror / Atom feed
From: Harry van Haaren <harry.van.haaren@intel.com>
To: dev@dpdk.org
Cc: pbhagavatula@caviumnetworks.com,
	Harry van Haaren <harry.van.haaren@intel.com>
Subject: [dpdk-dev] [PATCH 0/2] service: enable app lcore to run service iter
Date: Mon, 23 Oct 2017 18:16:50 +0100	[thread overview]
Message-ID: <1508779012-56186-1-git-send-email-harry.van.haaren@intel.com> (raw)

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/

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

 lib/librte_eal/bsdapp/eal/rte_eal_version.map   |  2 +
 lib/librte_eal/common/include/rte_service.h     | 44 +++++++++++++-
 lib/librte_eal/common/rte_service.c             | 81 ++++++++++++++++++-------
 lib/librte_eal/linuxapp/eal/rte_eal_version.map |  2 +
 4 files changed, 105 insertions(+), 24 deletions(-)

-- 
2.7.4

             reply	other threads:[~2017-10-23 17:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-23 17:16 Harry van Haaren [this message]
2017-10-23 17:16 ` [dpdk-dev] [PATCH 1/2] service: add function for app lcore to run service Harry van Haaren
2017-10-25 10:21   ` Pavan Nikhilesh Bhagavatula
2017-10-23 17:16 ` [dpdk-dev] [PATCH 2/2] service: add runtime service core check disable Harry van Haaren
2017-10-24 17:24   ` Pavan Nikhilesh Bhagavatula
2017-10-25  9:09     ` Van Haaren, Harry
2017-10-25 10:24       ` Pavan Nikhilesh Bhagavatula
2017-10-25 13:25 ` [dpdk-dev] [PATCH v2 0/2] service: enable app lcore to run service iter Harry van Haaren
2017-10-25 13:25   ` [dpdk-dev] [PATCH v2 1/2] service: add function for app lcore to run service Harry van Haaren
2017-10-25 13:25   ` [dpdk-dev] [PATCH v2 2/2] service: add runtime service core check disable Harry van Haaren
2017-10-25 15:01   ` [dpdk-dev] [PATCH v2 0/2] service: enable app lcore to run service iter Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1508779012-56186-1-git-send-email-harry.van.haaren@intel.com \
    --to=harry.van.haaren@intel.com \
    --cc=dev@dpdk.org \
    --cc=pbhagavatula@caviumnetworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).