From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f174.google.com (mail-wj0-f174.google.com [209.85.210.174]) by dpdk.org (Postfix) with ESMTP id 9E2091094 for ; Mon, 9 Jan 2017 17:13:35 +0100 (CET) Received: by mail-wj0-f174.google.com with SMTP id i20so67474028wjn.2 for ; Mon, 09 Jan 2017 08:13:35 -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:references:mime-version :content-disposition:in-reply-to; bh=0/HPx2ZfV2e/ET8ZI9022xt9VkLe4cWMNiEm/2jVY6w=; b=n4fC/4gMHDApOXTBTK3VLl1hW06gJT9k6G1XZMR9Gg2PvPCIwyHXzNicdcgbx2bRy8 kPiVklfnbZHcMMna3CqoPWoHyjuVBww14EUWqd0ZZbMCN/kNYeFVNX3pqC14B+CE1c05 A2J3HrcVlH9RVuK2DUoiBegLayafmp712IFRPBZgDTFFJFUXxiozdi1hFCnz/1ybnA+H t2qqpO9cuWFsWLsmUEMrH6YqAaIHyPTh7ULWvgiwfV4NPXlzW1kz+upNbe/1rpCWHJqt Aa7gt8Nm9R/+WmirpxTzZIfqcksTVuYX0ody8+5fkwggUkWIKfBNZS90pJ3kztJ9/F6C jHlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0/HPx2ZfV2e/ET8ZI9022xt9VkLe4cWMNiEm/2jVY6w=; b=pnb5Z3tuQqXSrx0u9z4RTWfqduSqB/rvjYHAhdxJ8f1o7H57OpWYvlNi9yUvmLv4x2 QU4BkZtggAwa+IY6BWJd5El2esThQHZ+CaNTRy1ZUlXdjn7LIt2iGeuHJp1rVlKhJeOZ i5q+IgLwmhI8Tgh+c8Kw0cgBowOwCBD7ze0p1domdOXeJCK8Xy6CExmtnZs+BqTp37Vu DZ4NSRc/bgjRPzLjaUauCzL+hcZtxOMUU7FL2GO7LwyKZbG90qcHp5IcUch3uRkIutZP FFqQ2WXerg6hm3VW2hrbPT8UEz63v+e4zIC1ogsl9H4lwQMEHGNC69/6IpePMSFTQQTl WNag== X-Gm-Message-State: AIkVDXLOsOYcMEFgM1enYpkZk694qK7rjRuMSWmVHmIbNZfRD2uPJMsbtipbNfEK7Wios8LN X-Received: by 10.194.200.69 with SMTP id jq5mr65518339wjc.93.1483978415210; Mon, 09 Jan 2017 08:13:35 -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 204sm19653049wmj.7.2017.01.09.08.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 08:13:33 -0800 (PST) Date: Mon, 9 Jan 2017 17:13:26 +0100 From: Adrien Mazarguil To: Royce Niu Cc: dev@dpdk.org Message-ID: <20170109161326.GD12822@6wind.com> References: <20170109151353.GZ12822@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] Cannot use MLX4 with igb_uio driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 16:13:35 -0000 On Mon, Jan 09, 2017 at 11:23:56PM +0800, Royce Niu wrote: > Hi, Adrien, > > Actually, I tested using the original kernel module without binding. It > works. > > However, it is only 6Mpps for 64B in pkt-gen, which is so slow for a 40Gbps > NIC. > > Is that right? That's difficult to say without knowing your specific setup or application, however 6 Mpps seems abnormally slow assuming testpmd performing basic I/O forwarding using a single thread and two ports. > On Mon, Jan 9, 2017 at 11:13 PM, Adrien Mazarguil < > adrien.mazarguil@6wind.com> wrote: > > > Hi Royce, > > > > On Mon, Jan 09, 2017 at 10:53:37PM +0800, Royce Niu wrote: > > > Dear all, > > > > > > I cannot use my Mellanox 3 Pro, after I binded it with igb_uio driver. > > > > > > It always shows when I use my DPDK application. > > > > > > EAL: Detected 32 lcore(s) > > > EAL: Probing VFIO support... > > > PMD: bnxt_rte_pmd_init() called for (null) > > > EAL: PCI device 0000:02:00.0 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 rte_igb_pmd > > > EAL: PCI device 0000:02:00.1 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 rte_igb_pmd > > > EAL: PCI device 0000:02:00.2 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 rte_igb_pmd > > > EAL: PCI device 0000:02:00.3 on NUMA socket 0 > > > EAL: probe driver: 8086:1521 rte_igb_pmd > > > EAL: PCI device 0000:81:00.0 on NUMA socket 1 > > > EAL: probe driver: 15b3:1007 librte_pmd_mlx4 > > > PMD: librte_pmd_mlx4: cannot access device, is mlx4_ib loaded? > > > EAL: Error - exiting with code: 1 > > > Cause: Cannot create mbuf pool > > > > > > --------------- > > > I have added CONFIG_RTE_LIBRTE_MLX4_PMD=y in .config, and > > > install MLNX_OFED_LINUX-3.4-2.0.0.0. > > > > The mlx4 PMD does not operate through igb_uio (see mlx4 documentation [1]), > > PCI devices must remain bound to their original kernel module (mlx4_core), > > however you have to additionally load mlx4_ib, mlx4_en and ib_uverbs [2]. > > > > [1] http://dpdk.org/doc/guides/nics/mlx4.html > > [2] http://dpdk.org/doc/guides/nics/mlx4.html#prerequisites > > > > -- > > Adrien Mazarguil > > 6WIND > > > > > > -- > Regards, > > Royce -- Adrien Mazarguil 6WIND