From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: Re: Cannot use MLX4 with igb_uio driver Date: Mon, 9 Jan 2017 16:13:53 +0100 Message-ID: <20170109151353.GZ12822@6wind.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Royce Niu Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 48BE21E2B for ; Mon, 9 Jan 2017 16:14:02 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id a197so101166825wmd.0 for ; Mon, 09 Jan 2017 07:14:02 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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