From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0069.outbound.protection.outlook.com [104.47.1.69]) by dpdk.org (Postfix) with ESMTP id 0B5CA271 for ; Tue, 19 Dec 2017 17:29:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=nTfhoQz3pI6dYyJFM+EFkvDJ8fuMQYQvRrjcPlqZHBE=; b=i43xvxk3ZD55x+/F4k9InfJ/hDozNradzbp9vhX8/HHz5Yt6A0tmWD2lCDiSjV8AIEBXVX8BdbGyruBwGuRqVneOHZG9rAOK9ThCG8bC+NZuruaejCqSWW/1krXlJoIGu1jzw1duu/w1VwfVAaiihS47BkcDJGGexxFxwiaY8iE= Received: from DB5PR05MB1254.eurprd05.prod.outlook.com (10.162.157.140) by DB5PR05MB1253.eurprd05.prod.outlook.com (10.162.157.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.323.15; Tue, 19 Dec 2017 16:29:24 +0000 Received: from DB5PR05MB1254.eurprd05.prod.outlook.com ([fe80::10f5:d9ba:557:f98a]) by DB5PR05MB1254.eurprd05.prod.outlook.com ([fe80::10f5:d9ba:557:f98a%14]) with mapi id 15.20.0323.018; Tue, 19 Dec 2017 16:29:24 +0000 From: Ophir Munk To: Thomas Monjalon , Hui Ling CC: "users@dpdk.org" Thread-Topic: [dpdk-users] DPDK mlx4 PMD on Azure VM Thread-Index: AQHTeOWVF5eeVzwJu0GzypNNCNmr3aNK2n7w Date: Tue, 19 Dec 2017 16:29:24 +0000 Message-ID: References: <2151087.Q62u2efIDs@xps> In-Reply-To: <2151087.Q62u2efIDs@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR05MB1253; 6:JhZwdcF9zBy571lihCUVRuleuXyZr62Ov3hux25uPzekttPomi7ZtAkMDGtllXI7wFMLK6I/rtDYGVmRveq++tKf8ZfARMkYw1+wqs4tO4lgAOD45nAMDjBtuHasxVFPBOPBunb/0oXPrEX7QGEEuCctg4mRgw08kQR5USPLYRW2niZCwyZOlTfx4pwH/5ki/V6UUP1/36AWBPskWqLmBWWyGUKQPRuKFv+yTIwxWVf36emDjkz9zQxTsRN/0j3cRHGqkgtdmOA0jtKpTdgw01qWmuh1pRK/hcv+sEd+6oG+SrAbd3bMP7e7YtxlThw0GhiTvk6yuzNTUAmHJpKrfvO3eaqWd9H05+820/e4aNk=; 5:2g5KOt083Hp17aVPXuMxSnhe/2vjKoKlLhvF0bV9K/ZLoD6M9VV4YoyuaxrKA8QzsfmSLhFTrI05Cy9VYxPcgKeVWC6t75QSL9Pq9rfmW0xMM1A0m8rEffhrd8ZV5yu2A92iswiKEsr58CYr8Yy2OCS5TUKgsXUX6M4aEK1tGjk=; 24:UvL2QENErxBXD4nsryTPIa4bDD3iNpdOIzb4F2LFuEIvrOZjcgYTM+l7c9oBDRycObp9r9YqcW98tpe/BCRE8UfAS6oDND65PaoQkJVJLTw=; 7:q6VG0LT2Yh1Wi5NR286YZWAiB7ggxs81A3ufwo/Uzrm5i9dys2//Sqxfg3xZBi8XVsQDfBt+rX44AhpzOMeRHCbkO3y9P4ihHLP/B2OhbCrZ0WYelJTf+pTe/yOJhNW6GfWCrHoCYUxzb464b22JoHctdwkt6M1j4uX+hHjf8WBdhcSkj/S4Gh4SOW5VsE0ZTeoPUNlTouyG/VGhVWnMVsE/VNGwE2DnpPTdIVL7cHYOYIQbeprhIhDNEU+zz8ti x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 3c56d505-1d3d-472d-d272-08d546fdaace x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603307); SRVR:DB5PR05MB1253; x-ms-traffictypediagnostic: DB5PR05MB1253: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231023)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123558100)(20161123555025)(20161123564025)(6072148)(201708071742011); SRVR:DB5PR05MB1253; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB5PR05MB1253; x-forefront-prvs: 052670E5A4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(39860400002)(396003)(199004)(189003)(13464003)(25786009)(2950100002)(39060400002)(33656002)(5660300001)(8676002)(81156014)(6246003)(305945005)(7736002)(74316002)(106356001)(14454004)(105586002)(478600001)(53936002)(5250100002)(66066001)(4326008)(3280700002)(3660700001)(2906002)(2900100001)(59450400001)(53546011)(6506007)(7696005)(102836003)(76176011)(6116002)(86362001)(3846002)(6436002)(68736007)(55016002)(97736004)(9686003)(99286004)(110136005)(81166006)(229853002)(316002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1253; H:DB5PR05MB1254.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c56d505-1d3d-472d-d272-08d546fdaace X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2017 16:29:24.8050 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1253 Subject: Re: [dpdk-users] DPDK mlx4 PMD on Azure VM 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: , X-List-Received-Date: Tue, 19 Dec 2017 16:29:27 -0000 Hi Hui, Can you please let know if running testpmd with just one PCI device you are= getting the same error? > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Tuesday, December 19, 2017 6:22 PM > To: Hui Ling > Cc: users@dpdk.org; Ophir Munk > Subject: Re: [dpdk-users] DPDK mlx4 PMD on Azure VM >=20 > 19/12/2017 08:14, Hui Ling: > > I installed DPDK 17.11 on Ubuntu 16.04. And I downloaded MLNX OFED > > 4.2-1.2.0.0 and installed up-stream libs with ./mlnxofedinstall > > --guest --dpdk --upstream-libs > > > > MLX4 PMD in DPDK doesn't seem to work with lib from ubuntu repository > > and install OFED allows me to compile DPDK mlx4 PMD without any > > compilation problem. > > > > Then I tried to see if the mlx4 PMD works or not by running: > > > > root@myVM: > > ./build/app/testpmd -l 1-2 -n 4 -w 0003:00:02.0 -w 0004:00:02.0 -- > > --rxq=3D2 --txq=3D2 -i > [...] > > Configuring Port 0 (socket 0) > > PMD: mlx4_rxq.c:811: mlx4_rx_queue_setup(): 0xde0740: MR creation > > failure: Operation not permitted >=20 > [...] > > I also tried to run DPDK 17.11 on Ubuntu 17.10. It didn't work either. > > the testpmd hangs during "configuring Port 0" forever. >=20 > So you see 2 different errors on Ubuntu 16.04 and 17.10. > What are the Linux kernel versions? >=20 > > Can someone from MS or Mellanox help me figure out why? and how to > > make mlx4 PMD work on Azure VM? >=20 > Mellanox will support you.