DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: "McDaniel, Timothy" <timothy.mcdaniel@intel.com>
Cc: dev <dev@dpdk.org>,
	"Carrillo, Erik G" <erik.g.carrillo@intel.com>,
	 "Van Haaren, Harry" <harry.van.haaren@intel.com>,
	Jerin Jacob Kollanukkaran <jerinj@marvell.com>,
	 Thomas Monjalon <thomas@monjalon.net>
Subject: Re: [dpdk-dev] [PATCH] doc: fix guide for DLB v2.5
Date: Wed, 19 May 2021 11:59:02 +0200	[thread overview]
Message-ID: <CAJFAV8y=AYEPNxcMjGBkgkKxx1nEBEsg_hC3zorN=tvPi=ajfQ@mail.gmail.com> (raw)
In-Reply-To: <SN6PR11MB3103876FB134FA9AC4FD2AE19E2D9@SN6PR11MB3103.namprd11.prod.outlook.com>

On Mon, May 17, 2021 at 3:48 PM McDaniel, Timothy
<timothy.mcdaniel@intel.com> wrote:
> > > @@ -387,4 +366,17 @@ Class of service can be specified in the devargs, as
> > follows
> > >
> > >      .. code-block:: console
> > >
> > > -       --vdev=dlb2_event,cos=<0..4>
> > > +       --allow ea:00.0,cos=<0..4>
> > > +
> > > +Use X86 Vector Instructions
> > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > +
> > > +DLB supports using x86 vector instructions to optimize the data path.
> > > +
> > > +The default mode of operation is to use scalar instructions, but
> > > +the use of vector instructions can be enabled in the devargs, as
> > > +follows
> > > +
> > > +    .. code-block:: console
> > > +
> > > +       --allow ea:00.0,vector_opts_enabled=<y/Y>
> >
> > This option does not exist.
> > All I see is:
> > drivers/event/dlb2/dlb2_priv.h:#define DLB2_VECTOR_OPTS_DISAB_ARG
> > "vector_opts_disable"
> >
>
> The option name changed with patch 93235/16973 "[1/1] event/dlb2: fix vector based dequeue", which
> is currently out for review. That patch fixed a couple of recently discovered issues in the vector path, so to be safe
> we changed the default from running with the vector dequeue optimizations to running with the scalar dequeue
> implementation.

I see Thomas had comments on this patch that changes the option (among
other things).
The documentation update for this option should go at the same time it
is introduced/renamed.


>
> > What of --force-max-simd-bitwidth ?
>
> The intent of the " vector_opts_enabled" switch is to allow experimentally enabled the vector based
> implementation, not to indicate whether those instructions are supported or not on the target platform.

The commit 000a7b8e7582 ("event/dlb2: optimize dequeue operation")
already had the issue: the event/dlb2 driver ignores the global knob
on activating vector stuff.


-- 
David Marchand


  reply	other threads:[~2021-05-19  9:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 17:27 Timothy McDaniel
2021-05-16 17:33 ` David Marchand
2021-05-17 13:48   ` McDaniel, Timothy
2021-05-19  9:59     ` David Marchand [this message]
2021-05-20 16:14 ` [dpdk-dev] [PATCH] doc: fix devarg references in DLB2 guide Timothy McDaniel
2021-05-20 20:43 ` [dpdk-dev] [PATCH v2] " Timothy McDaniel

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='CAJFAV8y=AYEPNxcMjGBkgkKxx1nEBEsg_hC3zorN=tvPi=ajfQ@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=erik.g.carrillo@intel.com \
    --cc=harry.van.haaren@intel.com \
    --cc=jerinj@marvell.com \
    --cc=thomas@monjalon.net \
    --cc=timothy.mcdaniel@intel.com \
    /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).