From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Marcin Kerlin <marcinx.kerlin@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v3 1/1] jobstats: added function abort for job
Date: Mon, 29 Feb 2016 11:21:56 +0100 [thread overview]
Message-ID: <2175407.ng3Fnlb5a0@xps13> (raw)
In-Reply-To: <56C321DD.6080906@intel.com>
2016-02-16 13:19, Zhang, Roy Fan:
>
> On 12/02/2016 16:04, Marcin Kerlin wrote:
> > This patch adds new function rte_jobstats_abort. It marks *job* as finished and
> > time of this work will be add to management time instead of execution time. This
> > function should be used instead of rte_jobstats_finish if condition occurs,
> > condition is defined by the application for example when receiving n>0 packets.
> > Example of usage is added to the example l2fwd-jobstats. At maximum load do-while
> > loop inside Idle job will be execute once because one or more jobs waiting to be
> > executed, so this time should not be include as the execution time by calling
> > rte_jobstats_abort().
> >
> > v2:
> > * removed redundant field
> > v3:
> > * added an example of using
> >
> > Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
[...]
> > --- a/lib/librte_jobstats/rte_jobstats_version.map
> > +++ b/lib/librte_jobstats/rte_jobstats_version.map
> > @@ -17,3 +17,10 @@ DPDK_2.0 {
> >
> > local: *;
> > };
> > +
> > +DPDK_2.3 {
updated to 16.04
> > + global:
> > +
> > + rte_jobstats_abort;
> > +
> > +} DPDK_2.0;
>
> Acked-by : Fan Zhang<roy.fan.zhang@intel.com>
Applied, thanks
prev parent reply other threads:[~2016-02-29 10:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 16:15 [dpdk-dev] [PATCH V1 " Marcin Kerlin
2016-01-27 13:37 ` Panu Matilainen
2016-01-27 15:57 ` Jastrzebski, MichalX K
2016-01-28 7:41 ` Panu Matilainen
2016-01-29 15:31 ` [dpdk-dev] [PATCH v2 " Marcin Kerlin
2016-02-12 16:04 ` [dpdk-dev] [PATCH v3 " Marcin Kerlin
2016-02-16 13:19 ` Zhang, Roy Fan
2016-02-29 10:21 ` Thomas Monjalon [this message]
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=2175407.ng3Fnlb5a0@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=dev@dpdk.org \
--cc=marcinx.kerlin@intel.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).