DPDK usage discussions
 help / color / mirror / Atom feed
From: Alessandro Pagani <alessandropagani.90@gmail.com>
To: Slava Ovsiienko <viacheslavo@nvidia.com>
Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>,
	users@dpdk.org, Asaf Penso <asafp@nvidia.com>
Subject: Re: [dpdk-users] DPDK 20.11 MLX5 testpmd tx_pp 'WQE index ignore feature is required for packet pacing'
Date: Wed, 16 Dec 2020 07:40:21 +0100	[thread overview]
Message-ID: <CANuJFLY3s7BonR2xgEmRyCzFS4iTYwQNpN7Baut7QqGQr68P0g@mail.gmail.com> (raw)
In-Reply-To: <MWHPR12MB1501B3C34B5F969EA159AC31DFCA0@MWHPR12MB1501.namprd12.prod.outlook.com>

Thanks for your reply.
I did not realize from the DPDK documentation that the tx scheduling
feature is not supported by ConnectX4 Lx.

Moreover, an improved error message would be really helpful.

Thanks for the info.

Best regards
Alessandro


On Fri, Dec 11, 2020, 5:44 PM Slava Ovsiienko <viacheslavo@nvidia.com>
wrote:

> > -----Original Message-----
> > From: Thomas Monjalon <thomas@monjalon.net>
> > Sent: Friday, December 11, 2020 18:31
> > To: Slava Ovsiienko <viacheslavo@nvidia.com>
> > Cc: Alessandro Pagani <alessandropagani.90@gmail.com>; users@dpdk.org;
> > Asaf Penso <asafp@nvidia.com>
> > Subject: Re: [dpdk-users] DPDK 20.11 MLX5 testpmd tx_pp 'WQE index ignore
> > feature is required for packet pacing'
> >
> > 11/12/2020 17:19, Slava Ovsiienko:
> > > From: Thomas Monjalon <thomas@monjalon.net>
> > > > 09/12/2020 17:03, Alessandro Pagani:
> > > > > Hi all,
> > > > >
> > > > > I am trying to run dpdk testpmd with Mellanox ConnectX4 Lx (mlx5
> > driver).
> > > > >
> > > > > I am specifying the tx_pp parameter to provide the packet send
> > > > > scheduling on mbuf timestamps, but the testpmd fails with the
> > > > > following
> > > > error:
> > > > [...]
> > > > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:3b:00.0
> > >
> > > This is ConnectX-4LX (DevID is 1015), it does not support scheduling.
> > > Tx scheduling is supported since ConnectX-6DX.
> > >
> > > > > (socket 0)
> > > > > mlx5_pci: No available register for Sampler.
> > > > > mlx5_pci: WQE index ignore feature is required for packet pacing
> > > > > mlx5_pci: probe of PCI device 0000:3b:00.0 aborted after
> > > > > encountering an
> > > > > error: No such device
> > > > > common_mlx5: Failed to load driver = mlx5_pci.
> > > > >
> > > > > EAL: Requested device 0000:3b:00.0 cannot be used
> > > > [...]
> > > > > The error messages suggest that "WQE index ignore feature is
> > > > > required for packet pacing".
> > > > >
> > > > > Anyone knows the reason of this error and how to solve it?
> > > >
> > > > I think it means your device does not support this feature.
> > > > But I realize it is not documented here:
> > >
> > > Yes, indeed. I'll provide the patch, thank you for noticing that.
> >
> > I think we should also improve the error message to something like "not
> > supported on this device".
> >
> In my opinion, we should not depend on model index, but rather on
> what capabilities firmware reports, this approach provides much more
> flexibility
> and accuracy. We do not provide model index blind check for any other
> feature(s).
>
> With best regards,
> Slava
>
>
>
>

  reply	other threads:[~2020-12-16 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 16:03 Alessandro Pagani
2020-12-11 15:48 ` Thomas Monjalon
2020-12-11 16:19   ` Slava Ovsiienko
2020-12-11 16:31     ` Thomas Monjalon
2020-12-11 16:44       ` Slava Ovsiienko
2020-12-16  6:40         ` Alessandro Pagani [this message]
2020-12-13 10:29 ` Asaf Penso

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=CANuJFLY3s7BonR2xgEmRyCzFS4iTYwQNpN7Baut7QqGQr68P0g@mail.gmail.com \
    --to=alessandropagani.90@gmail.com \
    --cc=asafp@nvidia.com \
    --cc=thomas@monjalon.net \
    --cc=users@dpdk.org \
    --cc=viacheslavo@nvidia.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).