DPDK patches and discussions
 help / color / mirror / Atom feed
From: Zhou congjie <zcjie0802@qq.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: dev <dev@dpdk.org>, "anatoly.burakov" <anatoly.burakov@intel.com>
Subject: Re: [PATCH] eal/linux: redefine the name for rte_fbarray_init()
Date: Fri, 15 Nov 2024 10:00:17 +0800	[thread overview]
Message-ID: <tencent_C1C9450EE4A1C6E7D258A7E7D4E871CD100A@qq.com> (raw)
In-Reply-To: <20241114082459.10a991aa@hermes.local>

On Thu, 14 Nov 2024, Stephen Hemminger wrote:
 
> 
> In general DPDK uses tsc instead of monotonic time, since it is faster and platform
> independent (ie Windows).
> 
> Why not use use a global counter instead?
> 

I have tried tsc, but it only works on x86 and does not function on other 
architectures.

A global counter seems to be a good idea.


  parent reply	other threads:[~2024-11-15  2:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14  8:37 Congjie Zhou
2024-11-14 16:24 ` Stephen Hemminger
2024-11-14 17:06   ` Stephen Hemminger
2024-11-15  2:26     ` Zhou congjie
2024-11-15  1:57   ` Zhou congjie
2024-11-15  2:00   ` Zhou congjie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-14  8:10 Congjie Zhou

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=tencent_C1C9450EE4A1C6E7D258A7E7D4E871CD100A@qq.com \
    --to=zcjie0802@qq.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /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).