From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by dpdk.org (Postfix) with ESMTP id 9C0D72951 for ; Sat, 2 Jul 2016 10:18:17 +0200 (CEST) Received: by mail-lf0-f44.google.com with SMTP id h129so90194404lfh.1 for ; Sat, 02 Jul 2016 01:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version; bh=jcR7w5x+qZh1ysEJ8Y2UCEOzuW5NQGJZJWFXP3j0AUs=; b=VLI42mUNKS2241mD2to25u9uMyo86vet23HgsYHYin1T/VJHRl1HfeXjGqWXZPiHrV rOo2+0ho5jofLo62xYH6PlgE8LPao03wou5TpAof+DNzs/gKXSu4LACMpNNlbXiR0Ta3 Cax+DHMfr49J4EC6pc3Mfh3cCQrSyMTzYkLReI2C+tX34wTnVjW32KFlsmDS3C725PIK 4Jz575Pqmb/q8p4ur1gVG76uO6QrlnZssYlEWMC7apawStfhgKjiLDg7wNPPnbS+EXKM tRhxblu68e3Qij0lRjQxwohMZW87FS2JvGkKBGL0+RRVtXapVwRlhL4FYA6GN5/aFMQI TVxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=jcR7w5x+qZh1ysEJ8Y2UCEOzuW5NQGJZJWFXP3j0AUs=; b=L1HXfPsFm/taK0ohuk44RWT5uyFJ47kzbMBy6HfbN6SLefBVPKV9KI9gsXuRuQ2m5q cK0lOSVLtuAO1wkidl1UaXHyH99w4Ot3klAIGuYEGDXl5IxB7AXj7NdknwYpdCOiz4Wg YRyocvXjC8MAbiA3AD+0tYTIsY6ZB7QFAb/tRJkOfdbRPRE78glzlo5GiSvvZAAWHFXG 7faoeKW94HJDeY3ntJtwNeT1Vfzha6AXd61oJYl4qVAxkT+AyHDthFMd6ihuI5DgCY6h NlHFruqzLhy/U+65XlmbjUFK7j9gX3Fby/MPnvneatIAoqH8yRlbyaNkPWEy91glPV7w U/sA== X-Gm-Message-State: ALyK8tIH5Hsmlj8MPQpds4gjGvE2++9y9vJZeN4MyNuX5kW/YM+Jd4RDg5yY57n55kf08w== X-Received: by 10.25.133.87 with SMTP id h84mr415179lfd.210.1467447497010; Sat, 02 Jul 2016 01:18:17 -0700 (PDT) Received: from asus ([5.166.84.222]) by smtp.gmail.com with ESMTPSA id 25sm583178lft.24.2016.07.02.01.18.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jul 2016 01:18:16 -0700 (PDT) Date: Sat, 2 Jul 2016 15:18:12 +0700 From: Ruslan Osmanov To: users@dpdk.org Message-ID: <20160702151812.4ce83c53@asus> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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: Sat, 02 Jul 2016 08:18:18 -0000 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 0x3 --pci-blacklist 0000:00:06.0 \ --no-huge --proc-type=auto \ -- -i --total-num-mbufs=2048 ... rxq_setup(): 0x921a20: disabling scattered packets support (128 WRs) mlx4_mp2mr(): mempool 0x7f0c0b1eb000 area start=0x7f0c0b36e000 end=0x7f0c0bb6e000 size=8388608 mlx4_mp2mr(): mempool 0x7f0c0b1eb000 using start=0x7f0c0b36e000 end=0x7f0c0bb6e000 size=8388608 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=38: 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 version: 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=auto --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 wrong. -- Ruslan Osmanov