From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20061.outbound.protection.outlook.com [40.107.2.61]) by dpdk.org (Postfix) with ESMTP id D7A482A66 for ; Sun, 3 Jul 2016 14:24:12 +0200 (CEST) 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=gz3qc5CbiPaPjv0RnP8Hs8i15PuHvkq6ORI2nJpnfDI=; b=P8J/CsjhefIjQX5OVsW95ITNFAZwLHedfIwdLc/eDPcYS4nT1340ZoXSzSku3sFZ+Wfqlf+qG7NfOaVHZAv866B98grsna5V09wYiEqXQJQtWqxRKZFFbvjIWabHEwCw2SBDHbzWeZblsii9zThcijd/85ERvbIv+ya8w9Jkho0= Received: from AM4PR05MB1651.eurprd05.prod.outlook.com (10.165.245.146) by AM4PR05MB1650.eurprd05.prod.outlook.com (10.165.245.145) with Microsoft SMTP Server (TLS) id 15.1.534.14; Sun, 3 Jul 2016 12:24:11 +0000 Received: from AM4PR05MB1651.eurprd05.prod.outlook.com ([10.165.245.146]) by AM4PR05MB1651.eurprd05.prod.outlook.com ([10.165.245.146]) with mapi id 15.01.0534.015; Sun, 3 Jul 2016 12:24:11 +0000 From: Olga Shern To: Ruslan Osmanov , "users@dpdk.org" Thread-Topic: [dpdk-users] testpmd: [mlx4] rxq_add_flow(): flow configuration failed, errno=38: Function not implemented Thread-Index: AQHR1DpLpSawJuf2BEODxdPTR5hIDaAGn6PA Date: Sun, 3 Jul 2016 12:24:11 +0000 Message-ID: References: <20160702151812.4ce83c53@asus> In-Reply-To: <20160702151812.4ce83c53@asus> 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=olgas@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-office365-filtering-correlation-id: 9bc115a3-b831-42e7-252f-08d3a33cf082 x-microsoft-exchange-diagnostics: 1; AM4PR05MB1650; 6:VVAkt1nfembLDIMlXrcZP9SVAauY7MsMY6+MpQHxvld6km9YiCP3vml6n6gY1TTX6hPBH4EzH+6b9rhsuGf+ZKPO5O4vSS4mE9bDRiUngimkH14IFfh+n01E/Iaq319j6e7b3Z2FhU8If8AQv38uPpDLPfCuamRB1AbsIm6xpuotRHur5XrV21Ljo4POTrAme2UldAGr3VQ9rAHkEngtJmvLxjpQSlxg2rHmsgMwNW+hhg3FFmpHf81qgdOGrptMcokOX1STN5Z8z/61ICk+wIaR/5tmSYMgeu6X4iJmKqneNopI/LhRATcNoOYrxTQ32AdLgWTIQ3gC7O1rbC+1QA==; 5:fwtpWbjgMe436RNTcXSwKHU+QgdXJA/67nVikcARer0gYkC71c41+CATkoJytYhwSTuhlh+l1rbWmAIyRmzot+ho2tjFJgEbCLgB9LRnSXy26BVA9R6YASXWlwPpusKtfOdGVigaMvS+tbEwLK02lA==; 24:B9HTSdNOBJcT7hgwEm4WBjhC1q5CLcSpCvwBFpQFjQvHr15Y9LR2fBHhf5lF+gTxXa8DnHuy4JBoEXB4pq6wlIpirMYfZ6YMvEnA9ZGoUfI=; 7:pxytq4abKaEFbqTX6OK1I2J007/B5vg/Bba0YP3eLJujAFKy5EX9lpMhxMWXGGnQ1oHV+h2JtrTyytW/IjcApaYKlN7jLmZ/PeeIivOOQrVv2pNHAuvhTrhNR9sA7Fh1B+enPmNLfT+oBY5IrLMK0Pw9XaIWpBAr7h4Scm8VJfCqYulvlERnWQd+HvnmmecQhViFps794520vK0yttX4dSKBXVLxhx6NI7eKn0KoeJCalXoDwddN5nJyhsZLZz/5 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM4PR05MB1650; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(166708455590820)(209352067349851)(192278398808882); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:AM4PR05MB1650; BCL:0; PCL:0; RULEID:; SRVR:AM4PR05MB1650; x-forefront-prvs: 09928BEC91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(13464003)(199003)(189002)(51234002)(377454003)(53474002)(50986999)(15975445007)(19580405001)(19580395003)(33656002)(106116001)(77096005)(2950100001)(5890100001)(54356999)(8676002)(2900100001)(76176999)(92566002)(105586002)(76576001)(3280700002)(86362001)(575784001)(8936002)(97736004)(81156014)(81166006)(87936001)(106356001)(10400500002)(3846002)(68736007)(5001770100001)(102836003)(6116002)(101416001)(586003)(9686002)(3660700001)(122556002)(5002640100001)(305945005)(2906002)(2501003)(74316002)(7696003)(5003600100003)(66066001)(107886002)(189998001)(11100500001)(7846002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB1650; H:AM4PR05MB1651.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-originalarrivaltime: 03 Jul 2016 12:24:11.6607 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB1650 Subject: Re: [dpdk-users] testpmd: [mlx4] rxq_add_flow(): flow configuration failed, errno=38: Function not implemented X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2016 12:24:13 -0000 Hello Ruslan,=20 Can you please send full details of your setup, please also include the fol= lowing info: OS, FW, MLNX_OFED that you are using The following commands can help to retrieve Mellanox specific info: ibv_devinfo ofed_info -s Another q, I have notice you are using --no-huge option, this is not the is= sue here, but I am not sure if this option is working at all. And why are you using --proc-type=3Dauto? Please run as root user without the above flags (--no-huge and --proc-type)= =20 Best Regards, Olga -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of Ruslan Osmanov Sent: Saturday, July 02, 2016 11:18 AM To: users@dpdk.org Subject: [dpdk-users] testpmd: [mlx4] rxq_add_flow(): flow configuration fa= iled, errno=3D38: Function not implemented Hi, I need help. DPDK applications fail to start with Mellanox ConnectX-3 NIC. = All of them complain about 'not implemented' function when trying to setup = the RX queue: sudo -E ~/DPDK/x86_64-native-linuxapp-gcc/build/app/test-pmd/testpmd \ -c 0= x3 --pci-blacklist 0000:00:06.0 \ --no-huge --proc-type=3Dauto \ -- -i --total-num-mbufs=3D2048 ... rxq_setup(): 0x921a20: disabling scattered packets support (128 WRs) mlx4_mp2mr(): mempool 0x7f0c0b1eb000 area start=3D0x7f0c0b36e000 end=3D0x7f0c0bb6e000 size=3D8388608 mlx4_mp2mr(): mempool 0x7f0c0b1eb000 using start=3D0x7f0c0b36e000 end=3D0x7f0c0bb6e000 size=3D8388608 for MR rxq_setup(): priv->device_attr.max_qp_wr is 16351 rxq_setup(): priv->device_attr.max_sge is 32 rxq_add_flow(): 0x7ffd68781e10: adding MAC address 8e:d5:86:2e:a3:02 index = 0 (VLAN index 4294967295) rxq_add_flow(): 0x7ffd68781e10: flow configuration failed, errno=3D38: Function not implemented rxq_setup(): 0x921a20: QP flow attachment failed: Function not implemented = ... Fail to configure port 0 rx queues EAL: Error - exiting with code: 1 Cause: Start ports failed The whole output is in the attached dpdk-mlx4-testmpd.log file. If for some= reason the mailing list doesn't support attachments, here is an online ver= sion: https://gist.github.com/7f740489da77ecd23cc162da5e7f864c DPDK version: 16.04. dpdk_proc_info: sudo -E ~/DPDK/x86_64-native-linuxapp-gcc/build/app/proc_info/dpdk_proc_info -c 0x3 --no-huge --proc-type=3Dauto --pci-blacklist 0000:00:06.0 -- -p 0x3 -m --stats --xstats (output is in the attached dpdk-mlx4-dpdk_proc_info.log; online version: https://gist.github.com/e8a01484a02e147f9539e81638198747) Please help me to figure out what's wrong with ... what? I even don't know.= Maybe the mlx4 driver is buggy, maybe dpdk, maybe my configuration is wron= g.=20 -- Ruslan Osmanov