DPDK patches and discussions
 help / color / mirror / Atom feed
From: Gleb Natapov <gleb@cloudius-systems.com>
To: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v3 0/3] Mellanox ConnectX-3 PMD
Date: Thu, 26 Feb 2015 13:51:37 +0200	[thread overview]
Message-ID: <20150226115137.GU3806@cloudius-systems.com> (raw)
In-Reply-To: <1424872326-17930-1-git-send-email-adrien.mazarguil@6wind.com>

Did git pull today. After enabling mlnx pmd compilation fails with:

dpdk/lib/librte_pmd_mlx4/mlx4.c: In function ‘mlx4_pci_devinit’:
dpdk/lib/librte_pmd_mlx4/mlx4.c:4636:14: error: too few arguments to function ‘rte_eth_dev_allocate’
    eth_dev = 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 space
> driver libmlx4) and kernel support to do so.
> 
> 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).
> 
> 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.
> 
> The following kernel modules must be loaded before using this PMD:
> 
> - mlx4_core (hardware driver, does global initialization)
> - mlx4_en (Ethernet device driver)
> - mlx4_ib (InfiniBand device driver)
> - ib_uverbs (user space driver for verbs)
> 
> [1] https://www.openfabrics.org/
> [2] http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers
> 
> v2:
>  - Include minor bugfix for VLAN filtering.
>  - Add maintainers entry.
>  - Add documentation.
> 
> 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.
> 
> Adrien Mazarguil (3):
>   scripts: check features to generate configuration header
>   mlx4: new poll mode driver
>   doc: add librte_pmd_mlx4 documentation
> 
>  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
> 
> -- 
> 2.1.0
> 

--
			Gleb.

  parent reply	other threads:[~2015-02-26 11:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 15:20 [dpdk-dev] [PATCH 0/2] " Adrien Mazarguil
2015-01-29 15:20 ` [dpdk-dev] [PATCH 1/2] scripts: add auto-config-h.sh Adrien Mazarguil
2015-01-29 15:20 ` [dpdk-dev] [PATCH 2/2] mlx4: new poll mode driver Adrien Mazarguil
2015-01-29 15:37   ` Stephen Hemminger
2015-01-29 15:45     ` Adrien Mazarguil
2015-02-21  4:16 ` [dpdk-dev] [PATCH v2 0/4] Mellanox ConnectX-3 PMD Adrien Mazarguil
2015-02-21  4:16   ` [dpdk-dev] [PATCH v2 1/4] scripts: add auto-config-h.sh Adrien Mazarguil
2015-02-25 13:52   ` [dpdk-dev] [PATCH v3 0/3] Mellanox ConnectX-3 PMD Adrien Mazarguil
2015-02-25 13:52     ` [dpdk-dev] [PATCH v3 1/3] scripts: check features to generate configuration header Adrien Mazarguil
2015-02-25 13:52     ` [dpdk-dev] [PATCH v3 2/3] mlx4: new poll mode driver Adrien Mazarguil
2015-02-25 13:52     ` [dpdk-dev] [PATCH v3 3/3] doc: add librte_pmd_mlx4 documentation Adrien Mazarguil
2015-03-02 17:45       ` Butler, Siobhan A
2015-02-25 15:13     ` [dpdk-dev] [PATCH v3 0/3] Mellanox ConnectX-3 PMD Thomas Monjalon
2015-02-26 11:51     ` Gleb Natapov [this message]
2015-02-26 13:36       ` Thomas Monjalon
2015-02-26 13:49         ` Gleb Natapov
2015-02-26 14:18           ` Adrien Mazarguil
2015-02-26 15:03             ` Gleb Natapov
2015-02-27 18:38           ` Adrien Mazarguil
2015-03-01 11:07             ` Gleb Natapov
2015-02-21  4:17 ` [dpdk-dev] [PATCH v2 2/4] mlx4: new poll mode driver Adrien Mazarguil
2015-02-21  4:17 ` [dpdk-dev] [PATCH v2 3/4] maintainers: claim responsibility for mlx4 PMD Adrien Mazarguil
2015-02-21  4:17 ` [dpdk-dev] [PATCH v2 4/4] doc: add librte_pmd_mlx4 documentation Adrien Mazarguil
2015-03-01 11:15 ` [dpdk-dev] [PATCH 0/2] Mellanox ConnectX-3 PMD Keunhong Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150226115137.GU3806@cloudius-systems.com \
    --to=gleb@cloudius-systems.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).