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 30CB2A09E0 for ; Fri, 11 Dec 2020 17:44:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E4AC6AC9C; Fri, 11 Dec 2020 17:44:52 +0100 (CET) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id A0495AC9B for ; Fri, 11 Dec 2020 17:44:50 +0100 (CET) Received: from HKMAIL102.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sat, 12 Dec 2020 00:44:48 +0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 11 Dec 2020 16:44:48 +0000 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 11 Dec 2020 16:44:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aBj/xsJrn2azTjoZZ7suzueIpXarNyfiJLxEK2emmDYo4yTeYV0FXc6G9yroIDZNgg+vsST1jrYLXu1b+aSdCZeibpgqujEdWeCOHVxtDbUbyfeW16usPOIzkzqZY2VF84TVQsJiEsgT2tHj6Ol/KHeMTlW4IOu74AvQWEoAHUZcBwuBLTdVmgRpg0PjQ19BYvpM2jasq6HRyhadDd78tiyuiJeywRG6GCKDoKZ8INrpY8VezI9JjdyfDSDh55/gki/ly1dZpoaZjY5Xk5sIS0YzTceFnIzv2PVn8HCZEPVEE8VhEDj0vfOGMOcmn64znwMizIPVHvValGY+lXbXKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kQi/ZWeLHuEnTE7CZEyPDcCFRtZF3xRLY0/8OwXusZo=; b=TxsLHUmMUp2yqtKQaa+1+c1ujU4hyj+Nsmhw39caXsRRiUDdN3ehm4xjKxIPvSyKrQK8s+FyTCOS6+lVz0BRv3z+CXphpIB1521QZS3Pcwbqa/Jb3tWC7lITKFtiTsHLbNHL92+p7ng92xkRm7aOcy8nTceuwzXXQxCNYLupX3wqOHOAPqRM7gJBVQSgAil5R26fHbLjSMraKzbY6A2YNxyXkKif69++L7qmT9Eeq8ne8mQIXWsn9JgPs4IOPW/YON1NrOlzTJ+StPP4oTl/wrb3THkxgZv4/btfRxmriQSzskSPVgYF483Z+lhOKtZXIcmqUl2MAMH0s3uaTumGng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MWHPR12MB1501.namprd12.prod.outlook.com (2603:10b6:301:f::18) by MWHPR12MB1504.namprd12.prod.outlook.com (2603:10b6:301:c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.22; Fri, 11 Dec 2020 16:44:44 +0000 Received: from MWHPR12MB1501.namprd12.prod.outlook.com ([fe80::e932:ffa2:ae39:a379]) by MWHPR12MB1501.namprd12.prod.outlook.com ([fe80::e932:ffa2:ae39:a379%11]) with mapi id 15.20.3654.017; Fri, 11 Dec 2020 16:44:44 +0000 From: Slava Ovsiienko To: NBU-Contact-Thomas Monjalon CC: Alessandro Pagani , "users@dpdk.org" , Asaf Penso Thread-Topic: [dpdk-users] DPDK 20.11 MLX5 testpmd tx_pp 'WQE index ignore feature is required for packet pacing' Thread-Index: AQHWz9UMxMHkm3AAOEGCfHM15eV0u6nyEo0AgAAD1ACAAACYUA== Date: Fri, 11 Dec 2020 16:44:44 +0000 Message-ID: References: <5238000.dFEpQ3j31A@thomas> <1675878.GpRftGjMVZ@thomas> In-Reply-To: <1675878.GpRftGjMVZ@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.163.75.192] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61239c20-12c7-49ea-1b6e-08d89df4102b x-ms-traffictypediagnostic: MWHPR12MB1504: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AW7w0yn1URJEC8i8wMHZLb/BFGciPLs93FO4/ADTpZQglLWn/yJotwJBv4WHdTotyWlHhiAcY/6IJ+bheF8Vr/WcgNQsCFlR25rWlCD2eO6Pb+VGUBVfTZJuIvwjjmEbch3V0jZtYU4uEQ95uvWncpUV+Z1nc5DqAvOVlmavFAx+non4RgQSzJUIoX8wYSyJ29Gr8IzaYWhuSWjwFraLB/cAUaFT82Lw10j0ZEBmm1a5/NW+4lSihSvk6Ly4cBGp1RyuEsvnM5EsIubqaicZRt8S0pyAOQw9qLwWlJroJX2FDuO0jtxWD4wqhKp5zlkl x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR12MB1501.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(136003)(33656002)(55236004)(71200400001)(54906003)(8676002)(83380400001)(186003)(107886003)(6916009)(66446008)(26005)(55016002)(66946007)(7696005)(86362001)(508600001)(9686003)(76116006)(64756008)(53546011)(66476007)(8936002)(2906002)(52536014)(6506007)(4326008)(66556008)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?QjORIfxIVDF+7Mhi2x7ivWt8oTGcM+x6sL0w1DcDNePaWSNBMDfp3dmwoZAk?= =?us-ascii?Q?6szauGREyQlUXH+3rFvPhLhXcS5UjiGxlK6AQf5PGP2FiRV04DgqCZ2PD+Tu?= =?us-ascii?Q?1DLnqxwWX2VNeupb7MeecbiQDyQBBvA7G4ieptRsahkatbENSHb3UQeP2ebG?= =?us-ascii?Q?z+I5no7cmpr6JK++i8ecq84OBCMQCPwn0wBpcjZAbCSjKDsupmYyg/hC+Fln?= =?us-ascii?Q?dIlEN2KqFGkAsg+pcMUfREEi+/LDYjSQvb5sTY4rA5RfLP18GlJZ5Ni+KaHn?= =?us-ascii?Q?W8tDyQY+5xXTCk4cVJ4f932vlKk+uDCKamvDXRWBGACWBgu4g63SMnEzONvv?= =?us-ascii?Q?AnD8GhrB2RfUA9I/PPyCqPDPXRFjxmeqLUsFe6f4EHZd3TW1gYkzUcSmxONH?= =?us-ascii?Q?3x28bBov2JyJDCMft+09M9IzjdMVLQDqEGTl3FbnP+aMwtbTFxqfjIIaskYT?= =?us-ascii?Q?ZRXrUu7ko7OTB1L5VPOsB174c7Des2QNs5KTyalRSZhpEvMdy8KL4a5fnYid?= =?us-ascii?Q?7elMJAdWxSek7DHS+WtlQCY+VE6+cl8uwYAdSoRL8NW+w3EEiB9UbDVhqZpQ?= =?us-ascii?Q?KgcEfml4q/7kxvMJhdV7D3lCQ1fpDVsW8tykDcskrYQX6hlC55zCHJet5q93?= =?us-ascii?Q?V+mMZ1VBAG+YrMWFGLroBiAx5XX8uKGG+0yE7mU14607R3WWwsAkS1JjRFQv?= =?us-ascii?Q?ByKsYoyjfM3hykKurYjrXJbwe5gNh0NSXeCAru8R8ETQE6LlFl/FaV0G3d7f?= =?us-ascii?Q?kgGelQQHsL1kWWVw/W3LwdMuDRvPcMV/z+7ZpTO0I7dbyv4uk9hK5JX+dY+0?= =?us-ascii?Q?l8Z4a3PCOTG1AXHgVq5qe3uLB8Bqi/Z34ZdqII5Pr2iUMGAsH6rCSvgI8vG+?= =?us-ascii?Q?bFIt4Tk66bEdGA6fi7Bk5FD1kx0CAn2Km2bogFghwx7zWkaGvatvFt2m7lMm?= =?us-ascii?Q?9NS7SgpC1Myw90aD8MX8ENTAwV7y6x8zCQ3TRkdd3D4=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR12MB1501.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61239c20-12c7-49ea-1b6e-08d89df4102b X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2020 16:44:44.0387 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EDct4yTWJjyjt5ZQtidWppSzs3rOGbZuiwJ2cElEz1U9I/vfkuBPAoZjUFx0cXiS2iWo2MKUBnphiP8OPrnxtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1504 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1607705088; bh=kQi/ZWeLHuEnTE7CZEyPDcCFRtZF3xRLY0/8OwXusZo=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=orhrV6Ncqo0ykEfr+t0rQ/hKSO1hlxK7NxgvMTV3pv3psxlMK2Ck1cpFHuEJ5J33k BY/IAnO5u1vuYPn+HeUgYdZY2wNzlT/4CYtwtccWa9pBZpF+0cThwoqhlBUJ5efjGF fUHsTeQ1MRB1c58bQHXkW4n+S3bu0vFaG4c/a7FVAqll+wDtI9rQ/IagwSQ0vuvd0L GCnQHwv5o+wq0xc/XyUxCZQBu0ks6rV+jwl6FMdw57AgjeW6rbURlSvj9iwlxpnlWN Cohv4xmXNIA9iDz7OAz9BiCMpRMC6BLWomi8undkeqKcaweqaDPHUpVp8pagCEBJcC 2F99KAuDsQhZA== 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" > -----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' >=20 > 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 =3D 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. >=20 > I think we should also improve the error message to something like "not > supported on this device". >=20 In my opinion, we should not depend on model index, but rather on what capabilities firmware reports, this approach provides much more flexib= ility and accuracy. We do not provide model index blind check for any other featu= re(s). With best regards, Slava