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 307DEA0032 for ; Tue, 12 Jul 2022 16:03:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B2F141109; Tue, 12 Jul 2022 16:03:38 +0200 (CEST) Received: from mail-proxy.massresponse.com (mail-proxy.massresponse.com [193.9.252.221]) by mails.dpdk.org (Postfix) with ESMTP id 43472400D4 for ; Tue, 12 Jul 2022 16:03:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail-proxy.massresponse.com (Postfix) with ESMTP id CB1C36800DF; Tue, 12 Jul 2022 16:03:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=massresponse.com; s=mail; t=1657634616; bh=fna7iklaABYbn4tP5sqoy6ILWnV2/whnzHEyvqIZbPA=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=YXnxKlZ083KXZ8TkjaQiI/iAd7FWeIW6EvurRT0CSRzhHA7mmGPJ+WA4aslO1Xnmk ayYa8UtQ7ghZRmbZLpCurgblXA2cDhR3ItZFnvoqF+mKi+qXERrocjszRc/XdjX9DW +MKUGSZr3+TH/C2RnSWlE8grdG77sYjvnkiAAmXA= X-Virus-Scanned: Debian amavisd-new at mail-proxy.massresponse.com X-Spam-Flag: NO X-Spam-Score: -0.914 X-Spam-Level: X-Spam-Status: No, score=-0.914 tagged_above=-9999 required=4 tests=[BAYES_00=-1, RCVD_IN_DNSWL_NONE=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, querysenderbaseorg=0.1] autolearn=unavailable autolearn_force=no X-Spam-Languages: en Received: from mail-proxy.massresponse.com ([193.9.252.221]) by localhost (wipmail1.mip.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AC-n9AfCyHvH; Tue, 12 Jul 2022 16:03:25 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2055.outbound.protection.outlook.com [104.47.13.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-proxy.massresponse.com (Postfix) with ESMTPS id 440BA6800DE; Tue, 12 Jul 2022 16:03:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y1UiRmWd8BZmt3pBTtS3UJsWnsIHPGqlc5n2M2DGFzeSO8OP1CKqfEnuqs7fLeQ5tjaphObOc1cDkeyl4iT5zhg9NZuXzHZBiKkiVrfGc+tmDVRmF0CivdoC4yb0+0GC1g6yfFf/ptp/oUu5qTOPlKoSgMQ1VSyRc+H9H05rP//AASZsg/Gc9Q5mqg1QsqaUnk3Py0fWqBrZ+t2AN4ne5+Tg9BJnrFFx3NBDaK0v/4+i+/R+jiCdIlPJu2BCT/1Igx0Evg5PKiy25biseLMxvvZ2UBpP/5/Rx0rxNyY1ExN7wBbaRUCsGduSZBwpQFXa2SdkzfB4Hsv9+ObtCw06Fg== 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=I3V1eT9VX701OGavbFCNZJOV51e7F2//pzL3LeyDoxM=; b=lnki7hd7+bBHqyIEWHO8j8IoC73WskGM3JCRf7P+lfDVA92k/oKHijMjfVWjDuOrDRfmUOxDuBVWS4M5mPHEkn225fNtMWPIlYRUkFmSEtzDkQxO4lvto3Fo9/cJJx6Yjn1USycScskDtVP69Mt92fHe2wD36nJ9BWh0DVlssVqnASDWQlvt8WZJvtxExpKPtgnFDmKPOOe/hSMcZb3ijhtSeGR2QyqaXNwEkVXfBFaCi+WDnRRCoz+0+Fm9+ATkXnQLHKaD5UKL5+ztOEKomwtaKdIY8qBn92Wr4BITuOhvWoREztfaXp2MJbDgfs/jnBzmm06up7zylmmeV8EhYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=massresponse.com; dmarc=pass action=none header.from=massresponse.com; dkim=pass header.d=massresponse.com; arc=none Received: from PAXP190MB1741.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:28a::22) by AS4P190MB1855.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:506::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.26; Tue, 12 Jul 2022 14:03:24 +0000 Received: from PAXP190MB1741.EURP190.PROD.OUTLOOK.COM ([fe80::581a:572a:2718:7725]) by PAXP190MB1741.EURP190.PROD.OUTLOOK.COM ([fe80::581a:572a:2718:7725%9]) with mapi id 15.20.5417.026; Tue, 12 Jul 2022 14:03:23 +0000 From: Robert Hable To: Tal Shnaiderman , Dmitry Kozlyuk , Ophir Munk CC: "users@dpdk.org" Subject: AW: Windows examples failed to start using mellanox card Thread-Topic: Windows examples failed to start using mellanox card Thread-Index: AdiVL+5Q7qs2lIfjS2aJgCJuXkEC2QAmUY+AAACP8oAAA4IXAAAG70Eg Date: Tue, 12 Jul 2022 14:03:23 +0000 Message-ID: References: <20220712112721.19292750@sovereign> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=massresponse.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 88502772-4f3d-4c11-9614-08da640f48f7 x-ms-traffictypediagnostic: AS4P190MB1855:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8T5CoRqNeO5CEp3XCKykPLY2PVCQcxOSxR53r/kIYSvSFolPQ1ueB25FBfrt5rj5HVtwSQcvvPgOQPFf3feHGwMDC+UTSPLgpiOH3zJ4qPR3l3GYtV0vtRwkVIeHv1IXzQk0x507hlFtu8H75IxDBHfIQCmyTuRrb2o1gZZSFujdxDcIY7yrDfN0snXD0n8YknbigXzl03a/fG706b7ZHE7+/Z8fupElicxERt6zcuKiEFTl4+bTrVHljj3d9FSO2PJGsU9qtKQLAVhEQYeW7YLInNHpB6tTCcPPHol2VWzqHR+ptbOtxhEqzeFcFFVwr1lPBkoUzKDILLpgC9KkCHhtQdJsgUOuVXLgIjIM1/oZxN8ki93RcChtj7NeubYFlnl4GaigVOg/hNS8QSGDhAeZFzC+yJCs/uCNiSgLRQ1tjwxtkQ6yIq/Bl/K7Z705oJGYCxTQuRsuinYSyxuFY1p7WPrAHuMktVyo/1VHFkzFJgh3K0TcFZ5DYGzARTuJuhoVoCzxw9AXdlHbunSdaNGfPD7PWymUDrrCoilcTpy2FgrT8x4onEMEeOQz9/vuekGRTyYYIc20iGBquAIRtduN5uJXUJYUjOQHVSOwtgMLVRaTWr2ptQHwKttTabJBBsQ3MERiYyaXPgUsdRDn2oFTmX8m5s5ysUeO1WEDRIOc4lwQDU49AecGRnXPGOoR4XjO5D8Uq0nJeOkLrBqhwWRMALl+m2EBMdzNvbRlvmxzPezvGx8kxhb2tCguwHvsDOCmljh30DXzOQlnBXuoky/Mh+peie8EDjTCiT7U5alOd/TFa/7H74sL6LuCN6TvrWYQMYtRYRMi9kdw/Y0umVmyYQVEPfINxDHDYPgYdlVOGoVllh9ZeVj4ZcJbOHqb x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXP190MB1741.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(4636009)(39840400004)(136003)(376002)(396003)(346002)(366004)(8676002)(64756008)(478600001)(316002)(66556008)(41300700001)(66476007)(71200400001)(110136005)(4326008)(76116006)(966005)(9686003)(66446008)(7696005)(44832011)(5660300002)(55016003)(52536014)(66946007)(8936002)(2906002)(33656002)(38100700002)(86362001)(66574015)(38070700005)(6506007)(26005)(186003)(122000001)(83380400001)(460985005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?aBmdXO/lQ+Vgi9y9UTQ6D1sY/qUkDX8o98lAxYM5XcFIiu3LebCPqgQbtd?= =?iso-8859-1?Q?kLQr88ic7YR7UWtwkjJKfCF+uRfloJvEGjOjrhhsEN31V9rCZJVIxWIqdO?= =?iso-8859-1?Q?WxI8lNg9x1Pxp4l9Ze7Ul15Y8iGl2PaH9aqgnYcNP93Qi2BGkweVi66dA4?= =?iso-8859-1?Q?yTpD+3/5HBcyVWxqelakSvzZyUM+qfr4AGlwH+idLpEUUvBEQWe65kOaQD?= =?iso-8859-1?Q?9MI/URL3caR4SSxN1Kv+BAoFhneqZFkTppEyDgFmgXRbbTp8tntuH3vAWw?= =?iso-8859-1?Q?TO4P8Iq5T67fhzGWag/YJQXa2Vtt6BXYo2RFqECmbdhcP1dkQ3Au6NQsjo?= =?iso-8859-1?Q?3Fg9SV29aGTEiotcOMvJ3NKWKjP6GDNDuVoWGYXSi5ZHesxrmc4iHKKvz4?= =?iso-8859-1?Q?AIiEmIp5SjOBPqhpibybsi9zjSQh31++uVYBPaMtN6q7/BEM5kvkzNsg5g?= =?iso-8859-1?Q?c2QUipcr6DLXNi7zeMgNDNXKsykeC/8p36sKK4YDUG/p25ziGSFaQUHDdy?= =?iso-8859-1?Q?5gNvtaM3XQa/IAB52dRPM1zrpKhf8BJOsbDnpxUI3jb4jN0WM2HOaUbqdL?= =?iso-8859-1?Q?XvKn3diwohC2i0JeMyCJ9VaEK9d44mvLC4jLOAbZubl7uw2m32/bDINz+B?= =?iso-8859-1?Q?WXv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xZuiQd?= =?iso-8859-1?Q?Wui7wFzobkO6Uvw41sDe9D6wNafSQv8X+/CRv+6qS8IHMhnATw4f2yC044?= =?iso-8859-1?Q?VxPOF74um6A76z4n0dypVgmfGMSH5bXlIY?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: massresponse.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PAXP190MB1741.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 88502772-4f3d-4c11-9614-08da640f48f7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2022 14:03:23.7662 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 287dd7f9-0481-43c3-b6cf-51c237c0cab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oDTPpnSyAaf4JPxiPMlVcRMBOFi2Fk82qsKMF+BZ22rBwwuHCsmmwn0VnPnFyCRL2vKOzvag3HjVgVyWMHm1zQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4P190MB1855 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 Hello, thank you for your help!=20 Initially i did set DevxFsRules to 0. After setting it to 0xFFFFFF it now w= orks. I still get the following error but testpmd seems to work for me now as it = is sending and receiving packets according to the task-manager. mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 statu= s=3D0 syndrome=3D0 So currently my issue seems to be solved. Kind regards, Robert -----Urspr=FCngliche Nachricht----- Von: Tal Shnaiderman =20 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 Small correction, please try with the value 0xFFFFFF. > Subject: RE: Windows examples failed to start using mellanox card >=20 > Hi Robert, >=20 > Did you set the registry key (DevxFsRules) in the Windows registry? >=20 > https://docs.nvidia.com/networking/display/winof2v290/Configuring+the+ > Drive > r+Registry+Keys >=20 > If not, can you try setting it to the value (0xFFFFFFFF) and see it=20 > the issue still occurs after adapter restart? >=20 > Thanks, >=20 > Tal. >=20 > > 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=20 > > > the > > example programs and testpmd, but they fail with some errors (see=20 > > outputs below). The testpmd program also does not go into=20 > > interactive mode and exits after a keypress. > > > I am using Windows Server 2022 with a Mellanox ConnectX-4 LX Card=20 > > > 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=20 > > > following > > error: > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > > status=3D0 syndrome=3D0 > > > > > > does anybody have an idea how to resolve this problem, or at least=20 > > > 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=20 > > > (socket 0) > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > > 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=20 > > > (socket 0) > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > > 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=20 > > > (socket 0) > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > > 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=20 > > > (socket 0) > > > mlx5_common: DevX read access NIC register=3D0X9055 failed errno=3D0 > > > 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=3D2176, > > > socket=3D0 > > > testpmd: preferred mempool ops selected: ring_mp_mc > > > testpmd: create a new mbuf pool : n=3D331456, size=3D2176, > > > socket=3D1 > > > testpmd: preferred mempool ops selected: ring_mp_mc Configuring=20 > > > 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=20 > > > core given, start packet forwarding Not all ports were started=20 > > > 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=20 > > > Port > > > 0 is closed Done > > > > > > Shutting down port 1... > > > Closing ports... > > > mlx5_net: mlx5_os_dev_shared_handler_uninstall: is not supported=20 > > > Port > > > 1 is closed Done > > > > > > Bye... > > > > > > Kind regards, > > > Robert