From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id A054C5A8C for ; Thu, 2 Apr 2015 14:24:06 +0200 (CEST) Received: by widjs5 with SMTP id js5so8316480wid.1 for ; Thu, 02 Apr 2015 05:24:06 -0700 (PDT) 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=1qo+xpvwaz3N9hQmGb4qj2yNTIZyMW5FzTQtEiTlmmk=; b=E6RI9Rf4kpYV4CjcGKQ/O/F/gOxau9fgB7Cd9ZznhnpcFYqTnHYxHlgFxovWjn7uwL SoIkhPu34ktuOTPrqnWev10nY3+bxwesu6vOLV8+G3ZzOSc4v5u879v45JwbloiGuRkZ yFRrNCclxL6o5einaPxXjPj7Ce97UvYmUkH3iLaOCEuGPk91CxeqlGFM1KpDHUJbyb1z l/xlUYUorAEAHKF/EXhkaLGxcx4UoV91nORvGt1B38MMTpBsFzMw8PqMahbv1gKj0VGU x7rRfV3MdIBk2nLzot/aSd94StomrA1yJ8KcjkFBqkvAqjOAneqYWLfWy1C3+SNmv9Rj S0Rw== X-Gm-Message-State: ALoCoQlVNF/tadxFoAvmpGzJ08WIBP323RHt8s0ewdFq0MZHcUsg5cg5YVCN/+BsfiZ86uEEtOBu X-Received: by 10.181.13.146 with SMTP id ey18mr23460320wid.21.1427977446477; Thu, 02 Apr 2015 05:24:06 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id pa4sm7038137wjb.11.2015.04.02.05.24.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 02 Apr 2015 05:24:05 -0700 (PDT) Date: Thu, 2 Apr 2015 14:24:05 +0200 From: Adrien Mazarguil To: Raghav Sethi Message-ID: <20150402122405.GV32147@6wind.com> Mail-Followup-To: Raghav Sethi , dev@dpdk.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Testpmd with Mellanox ConnectX-3 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 12:24:06 -0000 Hi, On Wed, Apr 01, 2015 at 08:18:30PM +0000, Raghav Sethi wrote: > Hi folks, > > Hopefully this is the right place to ask questions. I'm trying to run > testpmd (and then develop my own applications) with DPDK 1.8 and the > Mellanox ConnectX-3. The setup script/quickstart/Getting Started guide > don't have too much information about what to do if you have a > Mellanox. I've installed libibverbs and libmlx4 system-wide. This is the > closest I found to a guide for the Mellanox: > https://dpdk.readthedocs.org/en/stable/prog_guide/mlx4_poll_mode_drv.html . > When I run testpmd as described by this article, I get "Cause: No probed > ethernet device". First, the ConnectX-3 (mlx4) driver is not included in DPDK 1.8, the documentation you refer to is from a DPDK 2.0 release candidate. DPDK 2.0 will support it. > Here are my questions: > 1. Is this how I should set the PMD flag for DPDK? "make install T= > CONFIG_RTE_LIBRTE_MLX4_PMD=y" No, see below. > 2. If not, how should I do it? You should either create a specific configuration file in configs/ with that option and use make config T=, or update your .config file after you've run make config T=. > 3. Does using the Mellanox mean that I shouldn't use igb_uio at all? Indeed. Loading it is harmless though. > 4. Do I need to bind the Mellanox to mlx4_core before using testpmd? The kernel module (mlx4_core) must remain bound to its devices, the PMD relies on it. > I would be happy to contribute to the help page with end-to-end > instructions for using the Mellanox with testpmd. I've just submitted a patch to provide more details about the installation process, you should have a look. -- Adrien Mazarguil 6WIND