From: Bruce Richardson <bruce.richardson@intel.com>
To: Robert Sanford <rsanford@akamai.com>
Cc: dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH 0/3] timer: inform periodic timers of multiple expiries
Date: Wed, 31 May 2017 10:16:18 +0100 [thread overview]
Message-ID: <20170531091621.203189-1-bruce.richardson@intel.com> (raw)
In-Reply-To: <20170428132538.15995-1-bruce.richardson@intel.com>
For periodic timers, with the current there is no way to know if timer
expiries have been missed between calls to rte_timer_manage(). This
patchset adds in a new parameter to timer callbacks, to give the number of
expiries since the last one. ABI compatibility with previous releases is
kept, and a new unit test for that functionality is added
Bruce Richardson (3):
timer: inform periodic timers of multiple expiries
timer: add symbol versions for ABI compatibility
test/test: add test for multiple timer expiries
examples/l2fwd-jobstats/main.c | 7 +-
examples/l2fwd-keepalive/main.c | 8 +-
examples/l3fwd-power/main.c | 5 +-
examples/performance-thread/common/lthread_sched.c | 4 +-
examples/performance-thread/common/lthread_sched.h | 2 +-
examples/timer/main.c | 10 ++-
lib/librte_timer/rte_timer.c | 88 ++++++++++++++++++++--
lib/librte_timer/rte_timer.h | 29 ++++++-
lib/librte_timer/rte_timer_version.map | 9 +++
test/test/test_timer.c | 68 +++++++++++++++--
test/test/test_timer_perf.c | 4 +-
test/test/test_timer_racecond.c | 3 +-
12 files changed, 203 insertions(+), 34 deletions(-)
--
2.9.4
next prev parent reply other threads:[~2017-05-31 9:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-28 13:25 [dpdk-dev] [RFC PATCH] " Bruce Richardson
2017-04-28 13:29 ` Bruce Richardson
2017-04-28 13:30 ` Bruce Richardson
2017-05-31 9:16 ` Bruce Richardson [this message]
2017-05-31 9:16 ` [dpdk-dev] [PATCH 1/3] " Bruce Richardson
2017-06-30 10:14 ` Olivier Matz
2017-06-30 12:06 ` Bruce Richardson
2017-05-31 9:16 ` [dpdk-dev] [PATCH 2/3] timer: add symbol versions for ABI compatibility Bruce Richardson
2017-05-31 9:16 ` [dpdk-dev] [PATCH 3/3] test/test: add test for multiple timer expiries Bruce Richardson
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=20170531091621.203189-1-bruce.richardson@intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=rsanford@akamai.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).