From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4DCF1A0032 for ; Tue, 12 Jul 2022 16:35:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C408441109; Tue, 12 Jul 2022 16:35:37 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2053.outbound.protection.outlook.com [40.107.223.53]) by mails.dpdk.org (Postfix) with ESMTP id 596D7400D4 for ; Tue, 12 Jul 2022 16:35:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lgc49gBTtjxIHq7XkoL4rjL/zlo66KN7BCsEZ0WUrF59bW/Fp3r6RYPlILGIKkcgLYYup2kPa7bIWjagOCtn1xYrHWSnD0+ZDsxoT5ekeQjxOQZyX64NWC0civqjpxN9gNM4Hau/03Ukfmw2vEvR2SYiSA5vNS1Pdd5kCEdBCMmBK1i5U3tGwMz0Fsh90bzIQyNb9rmvY+Ah8Mh4OYamGx97U8Dve0F/wN8ex2hP62TE1KfGimy68HATcbH00Y0xdp3yZTAztvKtPefRk5lppkzO+uyTefQhPbgzKtYU0ebzRYwQqZMqtESzStHUbXE1+dV/ceMPNXA/jrRWfl2W9Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Mu9625Vju08J79wGmvPTAUOSniSXaANm3yp7+igj/4k=; b=CpjA5Ia+aKKW4+4iJHxm6JHYgpk6yB5K/QZjifX0BmXLJPfM6Qo8c8gHKHoiiZ2y4Cg6zbfqnybHU5/36vVOFlMT21M+W8VMxunz6a9Qu152QpPNhUO1ZNe6aikNTg4eDg88qCAS9ZLq+IA8ITGYoGvLNC5dEzhtEVUyuE8zo1u+mG1TPNjz1C/TVrXnxBFfQcES05u4/hNjvEpXFdmaHPnaEUObXR6NHueqrPDB6+70XaX7vNXuw0peqAjYm8tO1S2bo68eXhBpqt6DJYh5SG8yzizgFN1aRtmA/xRcKvomzI7tY2bjziOEIjtoatL1oVBVv/62ii4G1Qc9l0p4yA== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mu9625Vju08J79wGmvPTAUOSniSXaANm3yp7+igj/4k=; b=K2VHhpMYxDzYIOaL19d0gF+DzpAkpt8MB/2BcGce7BnstJ1Ai5ttp7dbgsiSP0qI/zZWp0sV/TyT4DNUnm+xwhaqO8rApsdgAvXAfqhd0x9cMqVEugdmJe8xO6L4fp6Nk/7NOm+U+VuH2DRqylPwbAnlAS9RGuUnw5YgQ8JXMLrHj9v2Uw6DoG5FMD8LrJL6mSWtCxRgpgvMVAkbSI4CxzbcUrWHQuQQN7geH/TDnAKFRdP5Ag9gfJYcjwb4FiBOwKk4OI6U3eHJjBxkeq8drRDE2AOp88Sv1t2gUNYpC3XCO7pVWN0zIj7HFJvYb0GgvKoFVS5ZPzNY21tJq7oN+w== Received: from MW4PR12MB5668.namprd12.prod.outlook.com (2603:10b6:303:16b::13) by MW2PR12MB2473.namprd12.prod.outlook.com (2603:10b6:907:4::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Tue, 12 Jul 2022 14:35:34 +0000 Received: from MW4PR12MB5668.namprd12.prod.outlook.com ([fe80::a4a5:3b2f:9c38:54b7]) by MW4PR12MB5668.namprd12.prod.outlook.com ([fe80::a4a5:3b2f:9c38:54b7%4]) with mapi id 15.20.5417.023; Tue, 12 Jul 2022 14:35:34 +0000 From: Tal Shnaiderman To: Robert Hable , Dmitry Kozlyuk , Ophir Munk CC: "users@dpdk.org" , Adham Masarwah , Idan Hackmon , Eilon Greenstein Subject: RE: Windows examples failed to start using mellanox card Thread-Topic: Windows examples failed to start using mellanox card Thread-Index: AQHYlck4YCAeCWVDV0+BKDjLM7U32q16Z90ggAAfO7CAAD2hgIAAAwhw Date: Tue, 12 Jul 2022 14:35:34 +0000 Message-ID: References: <20220712112721.19292750@sovereign> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6fe3bc6b-cec8-43e0-1990-08da6413c784 x-ms-traffictypediagnostic: MW2PR12MB2473:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zEh9nB/QsiL6240wyv2Qyg15E8bGwGHcVaTun1bScSQjOOvG87aFnOQZ0dNhTC+f4kSdlJFltSKFhK2b/tUkIjDEeo4MKq3PfdQaw/fuhOcHf3GcsMnC+NmpuxbEBUOw4YXHNB27zijJmatPxZSdHURFST5rCIhg/J7elHUo3s124pIRluGdhchiohCo6Kk2YsbBCvu/WNMsWLNyeW99d9Zj7a6BfxgSBgZ4U0Q1bDz67wqCCf2lCpAmCxh7yDf+m2CK5T+ryM4TpyolCsdGMfM0yQr+eEhPOHLD9w2eZFohTnomwBZhDKFIYIXAgmbaEIEBS8dFRT4r36QoLFJi7nQeJ+afq/et8nxSFacPQS7+pcKqvPsiTR57TkEi8vpuc5UISjMW8rdfha0ktBRqK8vbtDB7+zTJ4cjAfFovLUsuT0V48vlbjbvSsfuxuGwK4b5t+GBWNLNBjsrKR5/xSKM9vJ6Y00LGzmB/PIQYppbkkOHtMMitGzJ3IGIgmtFeVNhNN2dZrPlS5y4+M2EjFDSCUhYmEWj5WbtjBepy7D6DJ8knA8OP/Rt9tty6bRMT76qhlsP3ekIaAG6s117ywvOx92dlnP/IDFEcRHJ7SYy9+1BkcEA5OhkmOBLRvZaTIn2gEIzEcXCpuUlEvH/hFblnulyYXHUPsPoXmDUN+8D438HFT6eafvB6CF9EQ65M6Yfku3uXzgmUUTHikvf3EkidVfZsOWwmalOUVXUlr0v85eRSsoQb3IcpJjK0boAxRiB6VKG3bmn3ENaqVhKaStYjGWu7bcfhzlEHISUSY5l8gqIq6CAwEIeq2ujL5g8dTlOclK0jHelonSXb5uFh7W5QrkOajCA6wgDZKX+RdM1bkXTPGj4RaReQjsmgQFKx4DeT8tdSbXtpihSMVjMESXFBie4IC3x2+SHdxoRmTpU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR12MB5668.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(346002)(396003)(366004)(39860400002)(66556008)(55016003)(2906002)(478600001)(41300700001)(66476007)(186003)(6636002)(110136005)(64756008)(316002)(86362001)(8676002)(4326008)(33656002)(966005)(9686003)(26005)(6506007)(71200400001)(53546011)(76116006)(66946007)(54906003)(7696005)(83380400001)(66446008)(52536014)(38070700005)(38100700002)(5660300002)(107886003)(66574015)(122000001)(8936002)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?g/0s75FY8nZU7S4DJtMmEKyZRjySp8VJe64+hYB3TWDBKe39qRQuStdDKK?= =?iso-8859-1?Q?+kBibf6Xaqg4esMYlnpvzYcqGQrdfTW36vA2F1bAQAEFSN75mxOBKMY2EA?= =?iso-8859-1?Q?WK93RNzvZGxbNkrc3V1hHg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-1?Q?rynmDyqckQGWMGEznMhctKOOVlGktP+YmN4OCsdnO9FCg/CTgev440NhSS?= =?iso-8859-1?Q?ZqsUl93isRn3GN4nlVRsLhqe6s4wkdcHCRkfgep75gdPjhe0HYuGNRTSYv?= =?iso-8859-1?Q?0lXIvG+uN0iC/ilTbTIWKUap36IjncaMNctaYASB93WWvwxHyk5mIXGYzM?= =?iso-8859-1?Q?zy/SRpwe/Awtn1jmGEIf7rYkokNPxfQ4AUQ0IwfK+hZ2fIV3vk8EOYhggQ?= =?iso-8859-1?Q?ln03Y0b+l5Dx0hkmzyESEcpLD+fiN5MRa4q4nXHNCOLJgfYKw/TLwDkFkM?= =?iso-8859-1?Q?Y/2Pn31xkPp+IWGdNIWBxwsaYqnDaDh1wvxj8Zk3f2ghdRha2y/UFD6wgC?= =?iso-8859-1?Q?3+NA6TzSNLGpW+si6ASwPAPUxNK2Cs8C2PVKPTje0ZsN/ZIZRBZhoGwiZv?= =?iso-8859-1?Q?OYlyJwcOoNbY33ZcaS/hgdVeIbO+Gqh7kd8mhelOEo8K+yvu+Rj1JTi6ci?= =?iso-8859-1?Q?WQ/DczZJp08OWUs2z313JiuF3zDzk6JetiK4yU3TY4ol67Tbm/4LbNQtCO?= =?iso-8859-1?Q?LkgRTbNq0LEQHoV/oFwm7PN5EOGqO1YcJZN7a+zxcsRTZlg9eP9qllIDjY?= =?iso-8859-1?Q?n49hO0u+VOy/i8NGXl+4iuFDAeTeL7hN0E?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR12MB5668.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6fe3bc6b-cec8-43e0-1990-08da6413c784 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2022 14:35:34.0513 (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: BFahayZvBRQSxrF+7/NL2yb7gw4SQXmhX4M94wARxVk9il/Ip+mN9LomYcFTa831E1yAgspKbUpbpDZTeOzDFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2473 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi Robert, I'm glad to hear the issue is resolved, but I still want to understand why = you get the error print as I'm not able to reproduce it on my side. Are you using a Virtual Machine or is it a back-to-back setup? Can you also= state the WINOF2 FW version you're using? Thanks, Tal. > -----Original Message----- > From: Robert Hable > Sent: Tuesday, July 12, 2022 5:03 PM > To: Tal Shnaiderman ; Dmitry Kozlyuk > ; Ophir Munk > Cc: users@dpdk.org > Subject: AW: Windows examples failed to start using mellanox card >=20 > External email: Use caution opening links or attachments >=20 >=20 > Hello, >=20 > thank you for your help! > Initially i did set DevxFsRules to 0. After setting it to 0xFFFFFF it now= works. > I still get the following error but testpmd seems to work for me now as i= t is > sending and receiving packets according to the task-manager. > mlx5_common: DevX read access NIC register=3D0X9055 failed errno= =3D0 > status=3D0 syndrome=3D0 >=20 > So currently my issue seems to be solved. >=20 > Kind regards, > Robert >=20 > -----Urspr=FCngliche Nachricht----- > Von: Tal Shnaiderman > Gesendet: Dienstag, 12. Juli 2022 12:24 > An: Dmitry Kozlyuk ; Ophir Munk > ; Robert Hable > Cc: users@dpdk.org > Betreff: RE: Windows examples failed to start using mellanox card >=20 > Small correction, please try with the value 0xFFFFFF. >=20 > > Subject: RE: Windows examples failed to start using mellanox card > > > > Hi Robert, > > > > Did you set the registry key (DevxFsRules) in the Windows registry? > > > > https://docs.nvidia.com/networking/display/winof2v290/Configuring+the+ > > Drive > > r+Registry+Keys > > > > If not, can you try setting it to the value (0xFFFFFFFF) and see it > > the issue still occurs after adapter restart? > > > > Thanks, > > > > Tal. > > > > > Subject: Re: Windows examples failed to start using mellanox card > > > > > > External email: Use caution opening links or attachments > > > > > > > > > Tal, Ophir, could you advise? > > > > > > 2022-07-11 14:10 (UTC+0000), Robert Hable: > > > > Hello, > > > > > > > > I am having trouble running DPDK on Windows. I am trying to use > > > > the > > > example programs and testpmd, but they fail with some errors (see > > > outputs below). The testpmd program also does not go into > > > interactive mode and exits after a keypress. > > > > I am using Windows Server 2022 with a Mellanox ConnectX-4 LX Card > > > > using > > > Win-OF 2 2.90.50010 / SDK 2.90.25518. > > > > I am using the current build (DPDK Version 22.07-rc3). > > > > > > > > I followed to DPDK Windows guide, but currently I always get the > > > > following > > > error: > > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D= 0 > > > > status=3D0 syndrome=3D0 > > > > > > > > does anybody have an idea how to resolve this problem, or at least > > > > get > > > some more information why it failed? > > > > Helloworld output: > > > > C:\dpdk\build\examples>dpdk-helloworld.exe > > > > EAL: Detected CPU lcores: 24 > > > > EAL: Detected NUMA nodes: 2 > > > > EAL: Multi-process support is requested, but not available. > > > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.0 > > > > (socket 0) > > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D= 0 > > > > status=3D0 syndrome=3D0 > > > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > > > mlx5_net: Rx CQE 128B compression is not supported. > > > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.1 > > > > (socket 0) > > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D= 0 > > > > status=3D0 syndrome=3D0 > > > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > > > mlx5_net: Rx CQE 128B compression is not supported. > > > > hello from core 1 > > > > hello from core 2 > > > > hello from core 3 > > > > hello from core 4 > > > > hello from core 5 > > > > hello from core 6 > > > > hello from core 7 > > > > hello from core 8 > > > > hello from core 16 > > > > hello from core 22 > > > > hello from core 11 > > > > hello from core 12 > > > > hello from core 13 > > > > hello from core 14 > > > > hello from core 15 > > > > hello from core 9 > > > > hello from core 17 > > > > hello from core 18 > > > > hello from core 19 > > > > hello from core 20 > > > > hello from core 21 > > > > hello from core 23 > > > > hello from core 0 > > > > hello from core 10 > > > > > > > > testpmd output: > > > > C:\dpdk\build\app>dpdk-testpmd.exe > > > > EAL: Detected CPU lcores: 24 > > > > EAL: Detected NUMA nodes: 2 > > > > EAL: Multi-process support is requested, but not available. > > > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.0 > > > > (socket 0) > > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D= 0 > > > > status=3D0 syndrome=3D0 > > > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > > > mlx5_net: Rx CQE 128B compression is not supported. > > > > EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:06:00.1 > > > > (socket 0) > > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D= 0 > > > > status=3D0 syndrome=3D0 > > > > mlx5_net: mlx5_os_dev_shared_handler_install: is not supported > > > > mlx5_net: Rx CQE 128B compression is not supported. > > > > testpmd: create a new mbuf pool : n=3D331456, size=3D217= 6, > > > > socket=3D0 > > > > testpmd: preferred mempool ops selected: ring_mp_mc > > > > testpmd: create a new mbuf pool : n=3D331456, size=3D217= 6, > > > > socket=3D1 > > > > testpmd: preferred mempool ops selected: ring_mp_mc Configuring > > > > Port > > > > 0 (socket 0) > > > > mlx5_net: port 0 failed to set defaults flows Fail to start port 0: > > > > Invalid argument Configuring Port 1 (socket 0) > > > > mlx5_net: port 1 failed to set defaults flows Fail to start port 1: > > > > Invalid argument Please stop the ports first Done No commandline > > > > core given, start packet forwarding Not all ports were started > > > > Press enter to exit > > > > > > > > > > > > Stopping port 0... > > > > Stopping ports... > > > > Done > > > > > > > > Stopping port 1... > > > > Stopping ports... > > > > Done > > > > > > > > Shutting down port 0... > > > > Closing ports... > > > > mlx5_net: mlx5_os_dev_shared_handler_uninstall: is not supported > > > > Port > > > > 0 is closed Done > > > > > > > > Shutting down port 1... > > > > Closing ports... > > > > mlx5_net: mlx5_os_dev_shared_handler_uninstall: is not supported > > > > Port > > > > 1 is closed Done > > > > > > > > Bye... > > > > > > > > Kind regards, > > > > Robert