From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id B18B08E70 for ; Tue, 12 Jan 2016 16:47:23 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id u188so261337485wmu.1 for ; Tue, 12 Jan 2016 07:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to; bh=+pxC01inK4Sb8KyTOS+i63zAjyyWRIxgzKDKeQ6UEEk=; b=vrPNClXnF1hGyqE1GaaYMkCW3OikrC9wqu0WYEHQ4UaAz81tBbD9/z9PN4qpjcp0a6 IsiEhLnNMkSmfgf0SNiXqfh61WRU8RxiIc6nCIZSHUclQjqoJcakUs2ZKeVRM6S4DtZy VBM5+SFknyJeIjU7HEtvMb8RiWFH6K1aJkEWL/AwbVcP/bBDrLMa5aHk+D9xqQt78U1b 2aRWMldhm8TNIH/hfhI3DhOqpljRJBJ6FvUVJ3a+BwcqXBeSiiFyzIv9UCe8ZzHFwKS+ OC5aMkUkc0houIPkoSNEMf7yNcbp3hnzfcksut4kEWmBcNWZas/pTuPWhlCCsBuTDOaV k7pQ== 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:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to; bh=+pxC01inK4Sb8KyTOS+i63zAjyyWRIxgzKDKeQ6UEEk=; b=TvaznvIy9LGV6ETWyjlliA+5RbfAX/bVLbMZvttBtyKceTsvW7pzW2WKt3OszPbPxl /zxCrUmTUqgM0T88dTXLCIuVlXXNbKkpHj8eUzjpolBLJb80saYoClaCeXksB/D8Cj9D zbVrnYn/IdldLoptOjDpIzV4g4bSsLIkWo5OvyS5kngbOThS1QXfWwH/L0UmbQZL3qoU kAXUTYy/rN6HZSORgpFhhSekweoSTeM6kU9x7LqM2wFHkT/rVzenUyNlwPPdRwYmxxPk 3f4l/JPeJcRzTQQcIzjsS1j/XKmOjAMVMDAUK2T2MYDjDF1wtkZIThblDvjo3ouRbEKC UhQA== X-Gm-Message-State: ALoCoQmshIRdiR4LtO7PunlcBb8uGWsjEpwhHRDSy0ucVVBUC9ddEasNT1uBobyU5SUF9kjFXgrNDiWY7n5dP2+aOBHdyx1imA== X-Received: by 10.194.209.129 with SMTP id mm1mr106805258wjc.47.1452613643524; Tue, 12 Jan 2016 07:47:23 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id t9sm70560089wjf.33.2016.01.12.07.47.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jan 2016 07:47:22 -0800 (PST) Date: Tue, 12 Jan 2016 16:47:04 +0100 From: Adrien Mazarguil To: Masaru Kawashima Message-ID: <20160112154704.GE12095@6wind.com> Mail-Followup-To: Masaru Kawashima , users@dpdk.org, Olga Shern References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: users@dpdk.org Subject: Re: [dpdk-users] HELP: MLX4 problem 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: Tue, 12 Jan 2016 15:47:23 -0000 Hi Masaru, On Tue, Jan 12, 2016 at 06:43:53PM +0900, Masaru Kawashima wrote: > Hi, all > > I'm trying to use dpdk with Mellanox ConnectX-3. > But, mlnx4 pmd cannot work fine. > > Following is my environment: > > OS: CentOS 6.5 (x86_64) > Mellanox OFED: MLNX_OFED_LINUX-3.1-1.1.0.1-rhel6.5-x86_64 > DPDK: MLNX_DPDK-2.1_1.1 > > I'm trying to run testpmd, but librte_pmd_mlx4 reports > "ibv_exp_query_device() failed", > and EAL reports "No probed ethernet devices". > > What can I do next to work mlx4 pmd fine? > > > Following is the testpmd's log: > > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Detected lcore 1 as core 1 on socket 0 > EAL: Detected lcore 2 as core 2 on socket 0 > EAL: Detected lcore 3 as core 3 on socket 0 > EAL: Detected lcore 4 as core 4 on socket 0 > EAL: Detected lcore 5 as core 5 on socket 0 > EAL: Detected lcore 6 as core 8 on socket 0 > EAL: Detected lcore 7 as core 9 on socket 0 > EAL: Detected lcore 8 as core 10 on socket 0 > EAL: Detected lcore 9 as core 11 on socket 0 > EAL: Detected lcore 10 as core 12 on socket 0 > EAL: Detected lcore 11 as core 13 on socket 0 > EAL: Detected lcore 12 as core 0 on socket 1 > EAL: Detected lcore 13 as core 1 on socket 1 > EAL: Detected lcore 14 as core 2 on socket 1 > EAL: Detected lcore 15 as core 3 on socket 1 > EAL: Detected lcore 16 as core 4 on socket 1 > EAL: Detected lcore 17 as core 5 on socket 1 > EAL: Detected lcore 18 as core 8 on socket 1 > EAL: Detected lcore 19 as core 9 on socket 1 > EAL: Detected lcore 20 as core 10 on socket 1 > EAL: Detected lcore 21 as core 11 on socket 1 > EAL: Detected lcore 22 as core 12 on socket 1 > EAL: Detected lcore 23 as core 13 on socket 1 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 24 lcore(s) > EAL: Setting up physically contiguous memory... > EAL: Ask a virtual area of 0x80000000 bytes > EAL: Virtual area found at 0x7f2940000000 (size = 0x80000000) > EAL: Ask a virtual area of 0x80000000 bytes > EAL: Virtual area found at 0x7f2880000000 (size = 0x80000000) > EAL: Requesting 2 pages of size 1024MB from socket 0 > EAL: Requesting 2 pages of size 1024MB from socket 1 > EAL: TSC frequency is ~2300002 KHz > EAL: Master lcore 0 is ready (tid=f6cdc8a0;cpuset=[0]) > EAL: lcore 2 is ready (tid=f58d2700;cpuset=[2]) > EAL: lcore 1 is ready (tid=f62d3700;cpuset=[1]) > EAL: lcore 3 is ready (tid=f4ed1700;cpuset=[3]) > EAL: PCI device 0000:02:00.0 on NUMA socket 0 > EAL: probe driver: 15b3:1003 librte_pmd_mlx4 > PMD: librte_pmd_mlx4: PCI information matches, using device "mlx4_0" (VF: > false) > PMD: librte_pmd_mlx4: 1 port(s) detected > PMD: librte_pmd_mlx4: ibv_exp_query_device() failed Make sure ib_uverbs, mlx4_en, mlx4_ib and mlx4_core are all loaded and coming from Mellanox OFED (normally not the original modules provided by your Linux distribution), and that you're using an up-to-date firmware version, although installing MLNX_OFED should have taken care of these automatically. -- Adrien Mazarguil 6WIND