From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by dpdk.org (Postfix) with ESMTP id 45189376E for ; Thu, 26 Feb 2015 12:51:43 +0100 (CET) Received: by wesx3 with SMTP id x3so9865068wes.7 for ; Thu, 26 Feb 2015 03:51:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to; bh=UTYD/bniAn6oE2JX95CQczoyOeSGDTrzQ3tXLZLQqfQ=; b=DbBDAkRp4+mrqdp+O/MSWDu2m2pOmF2sFuwu4dhnCuDnhlgVpSwv8KbdV9gd8zQpJ2 YSIJ4+Pa4OAS8pw5PG2CJciASW0c2RP93XfhXGaw77hi6NHKo4Uv2SODw90Hl3R3mpbT b1Y+xhYtynHl03RfWM86nHvpjqULg3ZZLQTgSn5FUfS+XbWdejmkp1zYYE/3K2Wpdaym v6LbDbx/gUvZnPaq1AIOeJLzOVLcuL+Kkiagnr6fZ4TLE9FT2b7aQ9ogMixfQ4nAvF0D 1ItzS72TgRnQtP5nt0iZebGCIOPqZkQ+zcx3mtVS6ZB+hlqe9jYe7BwoMhC9qt6Wnmis Jl0g== X-Gm-Message-State: ALoCoQnHh19tIeuwRY6zidBIPZW2OepyJ7IzDdkoppG5tNaTGcFthh4BZhDF5UEFwjCwOTT66DN+ X-Received: by 10.194.59.209 with SMTP id b17mr15190586wjr.67.1424951503034; Thu, 26 Feb 2015 03:51:43 -0800 (PST) Received: from trex.cloudius-systems.com ([212.143.139.214]) by mx.google.com with ESMTPSA id p1sm2437254wib.23.2015.02.26.03.51.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2015 03:51:42 -0800 (PST) Received: by trex.cloudius-systems.com (Postfix, from userid 1042) id 8ABDD83EC2; Thu, 26 Feb 2015 13:51:37 +0200 (IST) Date: Thu, 26 Feb 2015 13:51:37 +0200 From: Gleb Natapov To: Adrien Mazarguil Message-ID: <20150226115137.GU3806@cloudius-systems.com> References: <1424492174-27072-1-git-send-email-adrien.mazarguil@6wind.com> <1424872326-17930-1-git-send-email-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=cp1255 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1424872326-17930-1-git-send-email-adrien.mazarguil@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 0/3] Mellanox ConnectX-3 PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 11:51:43 -0000 Did git pull today. After enabling mlnx pmd compilation fails with: dpdk/lib/librte_pmd_mlx4/mlx4.c: In function =91mlx4_pci_devinit=92: dpdk/lib/librte_pmd_mlx4/mlx4.c:4636:14: error: too few arguments to functi= on =91rte_eth_dev_allocate=92 eth_dev =3D rte_eth_dev_allocate(name); On Wed, Feb 25, 2015 at 02:52:03PM +0100, Adrien Mazarguil wrote: > This PMD adds support for Mellanox ConnectX-3-based adapters through the > verbs framework. It relies on external libraries (libibverbs and user spa= ce > driver libmlx4) and kernel support to do so. >=20 > While these libraries and kernel modules are available on OpenFabrics > Alliance's website [1] and provided by package managers on most > distributions, this PMD requires Ethernet extensions that may not be > supported at the moment (this is a work in progress). >=20 > Mellanox OFED [2] includes the necessary support and should be used in the > meantime. For DPDK, only libibverbs, libmlx4 and mlnx-ofed-kernel packages > are required from that distribution. >=20 > The following kernel modules must be loaded before using this PMD: >=20 > - mlx4_core (hardware driver, does global initialization) > - mlx4_en (Ethernet device driver) > - mlx4_ib (InfiniBand device driver) > - ib_uverbs (user space driver for verbs) >=20 > [1] https://www.openfabrics.org/ > [2] http://www.mellanox.com/page/products_dyn?product_family=3D26&mtag=3D= linux_sw_drivers >=20 > v2: > - Include minor bugfix for VLAN filtering. > - Add maintainers entry. > - Add documentation. >=20 > v3: > - Add script and documentation to MAINTAINERS. > - Make cosmetic changes to copyright notices. > - Remove unwanted executable bits. > - Fix coding style and typos found by checkpatch. > - Add shared library compilation support. >=20 > Adrien Mazarguil (3): > scripts: check features to generate configuration header > mlx4: new poll mode driver > doc: add librte_pmd_mlx4 documentation >=20 > MAINTAINERS | 6 + > config/common_bsdapp | 11 + > config/common_linuxapp | 11 + > doc/guides/prog_guide/index.rst | 1 + > doc/guides/prog_guide/mlx4_poll_mode_drv.rst | 326 ++ > doc/guides/prog_guide/source_org.rst | 1 + > lib/Makefile | 1 + > lib/librte_pmd_mlx4/Makefile | 121 + > lib/librte_pmd_mlx4/mlx4.c | 4749 ++++++++++++++++++++= ++++++ > lib/librte_pmd_mlx4/mlx4.h | 165 + > lib/librte_pmd_mlx4/rte_pmd_mlx4_version.map | 4 + > mk/rte.app.mk | 8 + > scripts/auto-config-h.sh | 136 + > 13 files changed, 5540 insertions(+) > create mode 100644 doc/guides/prog_guide/mlx4_poll_mode_drv.rst > create mode 100644 lib/librte_pmd_mlx4/Makefile > create mode 100644 lib/librte_pmd_mlx4/mlx4.c > create mode 100644 lib/librte_pmd_mlx4/mlx4.h > create mode 100644 lib/librte_pmd_mlx4/rte_pmd_mlx4_version.map > create mode 100755 scripts/auto-config-h.sh >=20 > --=20 > 2.1.0 >=20 -- Gleb.