DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev]  [PATCH 0/5] improve tsc frequency calibration
@ 2017-08-13  7:03 Jerin Jacob
  2017-08-13  7:03 ` [dpdk-dev] [PATCH 1/5] eal/x86: define architecture specific rdtsc hz Jerin Jacob
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jerin Jacob @ 2017-08-13  7:03 UTC (permalink / raw)
  To: dev
  Cc: thomas, bruce.richardson, konstantin.ananyev, viktorin,
	jianbo.liu, chaozhu, Jerin Jacob

Some architecture like armv8 provides an architecture specific function
to get the rdtsc frequency. The existing rdtsc calibration scheme uses
OS serivce like sleep(1) to calibrate the frequency which may not
produce the accurate result. Introducing an architecture specific hook
to get the rdtsc frequency if architecture provides it. If not, use the
exiting the calibrate scheme to get the rdtsc frequency.

Jerin Jacob (5):
  eal/x86: define architecture specific rdtsc hz
  eal/ppc64: define architecture specific rdtsc hz
  eal/armv7: define architecture specific rdtsc hz
  eal/armv8: define architecture specific rdtsc hz
  eal/timer: honor architecture specific rdtsc hz function

 lib/librte_eal/common/eal_common_timer.c           |  5 +++-
 .../common/include/arch/arm/rte_cycles_32.h        | 13 ++++++++++
 .../common/include/arch/arm/rte_cycles_64.h        | 30 ++++++++++++++++++++++
 .../common/include/arch/ppc_64/rte_cycles.h        | 13 ++++++++++
 .../common/include/arch/x86/rte_cycles.h           | 13 ++++++++++
 5 files changed, 73 insertions(+), 1 deletion(-)

-- 
2.14.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-28  1:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-13  7:03 [dpdk-dev] [PATCH 0/5] improve tsc frequency calibration Jerin Jacob
2017-08-13  7:03 ` [dpdk-dev] [PATCH 1/5] eal/x86: define architecture specific rdtsc hz Jerin Jacob
2017-09-18 12:54   ` Burakov, Anatoly
2017-08-13  7:03 ` [dpdk-dev] [PATCH 2/5] eal/ppc64: " Jerin Jacob
2017-09-28  1:53   ` Chao Zhu
2017-08-13  7:03 ` [dpdk-dev] [PATCH 3/5] eal/armv7: " Jerin Jacob
2017-08-13  7:03 ` [dpdk-dev] [PATCH 4/5] eal/armv8: " Jerin Jacob
2017-08-15  3:35   ` Jianbo Liu
2017-08-13  7:03 ` [dpdk-dev] [PATCH 5/5] eal/timer: honor architecture specific rdtsc hz function Jerin Jacob

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).