patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Akhil Goyal <>
To: Raja Zidane <>, "" <>
Cc: "" <>,
	"" <>
Subject: RE: [EXT] [PATCH] examples/l2fwd-crypto: fix stats refresh rate
Date: Fri, 29 Apr 2022 10:04:45 +0000
Message-ID: <> (raw)
In-Reply-To: <>

> TIMER_MILLISECOND is defined as the number of cpu cycles per millisecond,
> current definition is correct for cores with frequency of 2GHZ, for cores
> with different frequency, it caused different periods between refresh,
> (i.e. the definition is about 14ms on ARM cores).
> The devarg that stated the period between stats print was not used,
> instead, it was always defaulted to 10 seconds (on 2GHZ core).
> Use dpdk API to get CPU frequency, to define TIMER_MILLISECOND.
> Use the refresh period devarg instead of defaulting to 10s always.
> Fixes: 387259bd6c67 ("examples/l2fwd-crypto: add sample application")
> Cc:
> Signed-off-by: Raja Zidane <>
> Acked-by: Matan Azrad <>
Acked-by: Akhil Goyal <>

Applied to dpdk-next-crypto


      reply	other threads:[~2022-04-29 10:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 11:42 Raja Zidane
2022-04-29 10:04 ` Akhil Goyal [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:

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

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone