From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E22AA09F0 for ; Wed, 16 Dec 2020 22:48:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D584C9F4; Wed, 16 Dec 2020 22:48:36 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by dpdk.org (Postfix) with ESMTP id B71E92142 for ; Wed, 16 Dec 2020 07:40:34 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id lj6so962892pjb.0 for ; Tue, 15 Dec 2020 22:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tMFZu7ugWF3J9UemnaP5r0qfTI4DradXvqXDQPu5+Xk=; b=G/fb1kMGawTZYRLzVa2F3ZgVEikVugt3BLfxI5NQi9mjJK+9lpJz49br0ohoHPC6k0 yxKUgJZa9eMZqWrZ3ZdayoUmDZTYvE7U8MmFQ6PQGIUUYmDBuDhaFILo8yeBYxBfiG2t TcDadTk/qQ71Yr31qojTs+2HRycW7Yz5a6lrIGjXODFEmgDWqCXX1zhNZRTUQjNjylCJ /JuOu6xBgGt0Dy0LMR5cNpYK1WcAsbynPkOJB98p35eHxuD0LLgv5zE8KJHKeFRqm8vz DLtlC1dje8cuKaEJs9mriIV1pOi70HjDg8CWQ+v3T8Yp2RDC6FhtxRz+L9S7wnwr5ohR jLuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tMFZu7ugWF3J9UemnaP5r0qfTI4DradXvqXDQPu5+Xk=; b=Pu+hJ5ZNcjMOiiKVfLmWLP6M7NlQ5gSrQsB6wxEOyL8kfeecLY5MKU6ZS8txX63BsD wG9DFhg9965XSfYjJ0HS/8Ev4RL5FWgp7B3kYQrmp3EhtUB1tPCLlWbjdKXBihBJFzur u7eq8tqUvkrYHVgThDhvPMI57vD/HZvWjDQpbb17IZCLFa/97pry+mwOytW/kvwer3j/ kEQR2G3omKpyUqu10D0plbDBRenfpdexCRJtdNnSB2H3X/y6xGcPxK6H6IMUTL4b/Yf8 ynqsEhMAs6qB3mL3qPW5/has8Jk2FRZMFMDEY3GB+cPcIjRBRo0oVp4bcHWyAUTMm86V pDig== X-Gm-Message-State: AOAM530LxTVRcN2cMBZ1blhXRDPugMM8+7QmGGUfNL64sKJrV6Eo4+1G cAiruArXgsVUQ7yvNergqHHXp7j2/ieeSZFw20s= X-Google-Smtp-Source: ABdhPJwUWOeFd2kw8Pk/qC/3pWuY/tKsNliYmQL/a+v4C/Q1c+UPTkPlACGCjdEZF4PMzpa/JH/YfDaif4jwwjCsHVI= X-Received: by 2002:a17:90a:fb8a:: with SMTP id cp10mr1911658pjb.136.1608100832849; Tue, 15 Dec 2020 22:40:32 -0800 (PST) MIME-Version: 1.0 References: <5238000.dFEpQ3j31A@thomas> <1675878.GpRftGjMVZ@thomas> In-Reply-To: From: Alessandro Pagani Date: Wed, 16 Dec 2020 07:40:21 +0100 Message-ID: To: Slava Ovsiienko Cc: NBU-Contact-Thomas Monjalon , users@dpdk.org, Asaf Penso X-Mailman-Approved-At: Wed, 16 Dec 2020 22:48:33 +0100 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] DPDK 20.11 MLX5 testpmd tx_pp 'WQE index ignore feature is required for packet pacing' X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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 wrote: > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Friday, December 11, 2020 18:31 > > To: Slava Ovsiienko > > Cc: Alessandro Pagani ; users@dpdk.org; > > Asaf Penso > > 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 > > > > 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 > > > >