DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: Ricardo Roldan <rroldan@bequant.com>, users@dpdk.org, dev@dpdk.org
Subject: Re: [dpdk-users] attach/detach on secondary process
Date: Wed, 13 Dec 2017 13:10:09 -0800	[thread overview]
Message-ID: <20171213131009.18a4f821@xeon-e3> (raw)
In-Reply-To: <1581834.O1SaQGJnzN@xps>

On Wed, 13 Dec 2017 22:00:48 +0100
Thomas Monjalon <thomas@monjalon.net> wrote:

> 13/12/2017 18:09, Stephen Hemminger:
> > Many DPDK drivers require that setup and initialization be done by
> > the primary process. This is mostly to avoid dealing with concurrency since
> > there can be multiple secondary processes.  
> 
> I think we should consider this limitation as a bug.
> We must allow a secondary process to initialize a device.
> The race in device creation must be fixed.
> 

Secondary processes should be able to do setup.
But it is up to the application not to do it concurrently from multiple
processes.

  reply	other threads:[~2017-12-13 21:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fb117eef-ddad-67f6-8e0f-6febdbc0aeed@bequant.com>
2017-12-13 16:58 ` Ricardo Roldan
2017-12-13 17:09   ` Stephen Hemminger
2017-12-13 21:00     ` Thomas Monjalon
2017-12-13 21:10       ` Stephen Hemminger [this message]
2017-12-13 21:20         ` Thomas Monjalon
2018-01-08  5:33           ` [dpdk-users] How to mirror the live traffic in dpdk jyoti swarup
2018-01-08  7:01             ` Gowda, Sandesh

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=20171213131009.18a4f821@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=rroldan@bequant.com \
    --cc=thomas@monjalon.net \
    --cc=users@dpdk.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).