From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com [209.85.217.175]) by dpdk.org (Postfix) with ESMTP id 0E8252C58 for ; Mon, 9 Jan 2017 16:24:00 +0100 (CET) Received: by mail-ua0-f175.google.com with SMTP id i68so360060770uad.0 for ; Mon, 09 Jan 2017 07:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=r/xEm0tOdajakP7FZy4E3R/77A22JIp7dx0Jfp2tZNw=; b=uGGy3rGBvoRJObjpbzB6BYT4AvMkgmQBIJYZznFMVDuBe/EuTxEJ6eLYqmlw8JB8IC 2mXwAEa0gpy9q07wYUcvuLSMwSWxgO0ivDYiGYhwiyqw+wvI6a+xG2IST+dyy9IhXCrt 6K26Xbyw0vXSvx20U7QCjgmVQjXjY/7sxMM42Akz5Atrd930XUJIpwS3oZzSvNKHbL+0 KoeTJlfyliBLWOV4WKcd8Me0dFcsg/Dht1Mr72paX8W9r2eMtpOfCQw/0PWKzDLYbKEa o8czOhU8RXHTzs1ebemN8Id6Z0g6NopT8kVGpwhW12L97zjTGyf0umQDW9iCq14xP++K bR3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=r/xEm0tOdajakP7FZy4E3R/77A22JIp7dx0Jfp2tZNw=; b=agJBmAmzaLJMYtzC/QH9uosOo24RmATvk81TIO+pJEF5Q6A3/3e/glmx6u39wlIPDs wZFK30eE3HiFQ/jAvqq4F8inm9jmZpRrRLlwxD/2stvoMIaZP38HX6Q+lk76iAfBiMhH UaGk4qbbXKaGIfNoO+ssnUZMQM/mHGZxQkrt5LSk1BYJrg17WbPNj240Dg3Q7i0r/4UE 5ZMNvdbz+jyvLphaYRXs8q0mU7g9phhbWHrVzThbwSCkUqkm5q2yNcRtRYDn4xQHTf8l mxK18zxgFg/P4ZUoVbSNtXDY/2YOr1vc8/WbfO5nWTr+7BVuT4thM9LsIZ0uO2M6zJuA Aubw== X-Gm-Message-State: AIkVDXJkHU9Lq+JZxwtiU0jGDjeKffTee/gUhkAm6kHdlCkVTOqtI03FQEFd/7NOIZ/OXQ== X-Received: by 10.159.32.195 with SMTP id 61mr5087371uaa.147.1483975439141; Mon, 09 Jan 2017 07:23:59 -0800 (PST) Received: from mail-ua0-f180.google.com (mail-ua0-f180.google.com. [209.85.217.180]) by smtp.gmail.com with ESMTPSA id e2sm4826925uae.6.2017.01.09.07.23.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 07:23:57 -0800 (PST) Received: by mail-ua0-f180.google.com with SMTP id i68so360059918uad.0 for ; Mon, 09 Jan 2017 07:23:57 -0800 (PST) X-Received: by 10.159.37.202 with SMTP id 68mr10483660uaf.80.1483975437330; Mon, 09 Jan 2017 07:23:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.38.161 with HTTP; Mon, 9 Jan 2017 07:23:56 -0800 (PST) In-Reply-To: <20170109151353.GZ12822@6wind.com> References: <20170109151353.GZ12822@6wind.com> From: Royce Niu Date: Mon, 9 Jan 2017 23:23:56 +0800 X-Gmail-Original-Message-ID: Message-ID: To: Adrien Mazarguil Cc: Royce Niu , 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 15:24:00 -0000 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? 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