DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: "Mattias Rönnblom" <mattias.ronnblom@ericsson.com>
Cc: Thomas Monjalon <thomas@monjalon.net>, dev@dpdk.org
Subject: Re: [PATCH] eal: have unregistered non-EAL threads use dedicated PRNG
Date: Fri, 10 Feb 2023 12:44:57 +0100	[thread overview]
Message-ID: <CAJFAV8ypWTNbo=yGQj93H-vOLe=FfB1S9ARvwjpvfDehQa8-Zw@mail.gmail.com> (raw)
In-Reply-To: <20221205100334.3500-1-mattias.ronnblom@ericsson.com>

On Mon, Dec 5, 2022 at 11:08 AM Mattias Rönnblom
<mattias.ronnblom@ericsson.com> wrote:
>
> Prior to this change, unregistered non-EAL threads shared a PRNG
> instance with the main lcore. The main lcore may well be used for fast
> path processing, potentially making rte_rand() calls in the
> process. It should not need to synchronize with control threads.
>
> With this change, all unregistered non-EAL threads share one dedicated
> PRNG instance.
>
> The API documentation is updated to use the proper terminology when
> referring to threads equipped with an lcore id.
>
> Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>

Applied, thanks.


-- 
David Marchand


      parent reply	other threads:[~2023-02-10 11:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 10:03 Mattias Rönnblom
2022-12-05 10:58 ` Morten Brørup
2022-12-06 15:14   ` Mattias Rönnblom
2023-02-10 11:44 ` David Marchand [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='CAJFAV8ypWTNbo=yGQj93H-vOLe=FfB1S9ARvwjpvfDehQa8-Zw@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mattias.ronnblom@ericsson.com \
    --cc=thomas@monjalon.net \
    /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).