From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) by dpdk.org (Postfix) with ESMTP id 57264133F for ; Mon, 9 Jan 2017 17:57:58 +0100 (CET) Received: by mail-vk0-f54.google.com with SMTP id t8so11979068vke.3 for ; Mon, 09 Jan 2017 08:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7KMba9f13BujyhA2HDoCbkFXCrUVZjtK2KPwxeNcTD8=; b=trBXKHpqHLiXLs6ucwqPaN6twM5hGQMM0tFq2gRhCCzhHjIt++HLPFYppgXEZpIvPr ecWyAtNqBnSz5ddC3NSLUpltdxJTWdE1VAKuMJ0UAPIO6TY3+FG4OvDKvdBi46z0nzcU ogxBSS7eu61MsoEhMUhpSXuD9/Ln7xkoUqDgWbHftF4NLXelWThfavXWkAmo8ILDA3c4 1A5whIfujzQpqXAUuSGjL/O5WXWety2UN/h4hI92hG+WbS4cxpKkvYHw7BNlVX3LPH4o yryAJAlSF9s8jy9EK4gkECT68GO/2Qxf4JXISvSrEMxb5yysQVrinm1MzxGJ4zomoBu0 DOyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7KMba9f13BujyhA2HDoCbkFXCrUVZjtK2KPwxeNcTD8=; b=pyASYSE4T0Ew3TIO+0blclBto7XUnRBIC/vL94vTA7Wi0LEnW+Moi8vMdIHCNJvFs+ yzsUGx51oYn6sSvJHn1+dT1K5v3RA4T6JtLhmlh8bdZoQGhr3sdd4D8mvQjxET502yY6 rsDlSkPTw+EpJn2EdvN0dkLXY1dJ8pqs7+vMGW27ctO1JmFJSheYOB+xzbzhGFf68nEl xJ3By/ctI5neZVu5uTVQzDJf4NLdWUbMIZzXYasPQqq8YAZl8D+6qXVDCGyX+G/NAz7A wPTdl50t495MPwX62tRTH9l+djzSwhqwlCGEsltwJOk8mVi30mrMRYDt62XX1O+Z6r4p I0Zw== X-Gm-Message-State: AIkVDXLeRXTyLpKAGOIWCrPSWxF4liUlRwm+eqstqbP8C6xb4jlHSATgns6I6dlD25Nkng== X-Received: by 10.31.115.142 with SMTP id o136mr3144656vkc.139.1483981077054; Mon, 09 Jan 2017 08:57:57 -0800 (PST) Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com. [209.85.217.170]) by smtp.gmail.com with ESMTPSA id q17sm21703430uaq.22.2017.01.09.08.57.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 08:57:55 -0800 (PST) Received: by mail-ua0-f170.google.com with SMTP id y9so136378392uae.2 for ; Mon, 09 Jan 2017 08:57:55 -0800 (PST) X-Received: by 10.159.37.202 with SMTP id 68mr10782731uaf.80.1483981075143; Mon, 09 Jan 2017 08:57:55 -0800 (PST) MIME-Version: 1.0 References: <20170109151353.GZ12822@6wind.com> <20170109161326.GD12822@6wind.com> In-Reply-To: <20170109161326.GD12822@6wind.com> From: Royce Niu Date: Mon, 09 Jan 2017 16:57:44 +0000 X-Gmail-Original-Message-ID: Message-ID: To: Adrien Mazarguil , Royce Niu Cc: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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:57:58 -0000 It is a simple L2FWD. It can be 14mpps in x520 nics. So, do you think where should I check? Thanks On Tue, 10 Jan 2017 at 12:13 AM, Adrien Mazarguil < adrien.mazarguil@6wind.com> wrote: > 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 > >