From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id DB2361B3DB for ; Tue, 6 Feb 2018 00:08:14 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7285020BA3; Mon, 5 Feb 2018 18:08:14 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 05 Feb 2018 18:08:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=5ydWSwl3tYVl5RDsCI3QIG4+pu lvx0EnG3q+ZADL+sw=; b=U8d2PaxcQVOuTJBnTBB2XYHx+o4EOEOcxYVq6ODRcd SZBh84Babns7L7pisjxVwpU911/9ib59XU/82Xd3DHf2d3/vx26v1V3hiUuHD1ZQ 0OxjtUqOFUplE+LXKnILNdMkhFXPvydXtWU+O7wY8qaBiS6okbzupzydzoDkHPor k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5ydWSw l3tYVl5RDsCI3QIG4+pulvx0EnG3q+ZADL+sw=; b=Gx4iUgjgVGIIpzHRyJebqF dmoCfFBB5AtzmyIigrYYsIQpqRbwGbtsuocq/sYcF/ScWvCpNYTz3ApPSL1mWrmd 4KpL2OBeDxCMzuvJj4kG9/UdwIgC1XzGuyTIU52c3plpe1GLpbTXUjV833STfAwv A3KL9xfF/Z3MGIiLSXbsKToqYTHtY06qlrYTouUmQERjrKvyTFmbEDqLCPGhx7/i gdyf7i+TAdswB2mONHdpipLiykHNTJLQe3gbgIDbn/jsarnLw7bFPy/Ub2Wzckzv sT4QQOBRwQcMSOiqtya2HT2sKu8w6ET2GXFh363Xm+P6DBNmugNja4Rja9uZVxtQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2064224108; Mon, 5 Feb 2018 18:08:14 -0500 (EST) From: Thomas Monjalon To: Rohan Gandhi Cc: users@dpdk.org, ophirmu@mellanox.com Date: Tue, 06 Feb 2018 00:08:10 +0100 Message-ID: <12368344.hZFpxdNRUn@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-users] Using Mellanox ConnectX-3 for DPDK 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: Mon, 05 Feb 2018 23:08:15 -0000 Hi, 06/02/2018 00:01, Rohan Gandhi: > Hello All, > > 1) I am trying to use Mellanox ConnectX-3 to use DPDK on my server > (Ubuntu 16.04 kernel 4.13.0-32-generic). > > 2) Using dpdk/usertools/dpdk-setup.sh, I can see that the Mellanox > interface is dpdk compatible. > > Network devices using DPDK-compatible driver > ============================================ > 0000:01:00.0 'MT27520 Family [ConnectX-3 Pro] 1007' drv=vfio-pci unused=igb_uio Mellanox drivers do not use neither UIO nor VFIO. > 3) When I try to use Moongen to use this interface, it returned an > error that it cannot detect the device. > > [INFO] Found 0 usable devices: > [FATAL] Lua error in task master > ...ace/dpdk/moongen/MoonGen/build/../libmoon/lua/device.lua:100: there > are only 0 ports, tried to configure port id 1 > > > The same setup works with my other Intel NIC. I am not sure what I am > doing wrong. Can you please help? Please read the documentation: http://dpdk.org/doc/guides/nics/mlx4.html#usage-example