From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id D39699A8E for ; Wed, 25 Feb 2015 14:52:23 +0100 (CET) Received: by mail-wi0-f171.google.com with SMTP id ex7so12962935wid.4 for ; Wed, 25 Feb 2015 05:52:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=v1qvyIk6IfR8hMm87mfJRFXKbVoF4kuj6VbbKV3crrs=; b=WDyur7ztv0ncVsD1lH9Aym8cog+8XHRZxXN3tORqxG9fx8lZKMhubvA1J9WeEKuEqz 0Wv1z37Hz6FftE+vrOrGSe6RrjijuENvZgj/DTdgh6Va8PEygJ4L+rqOBi0KRWTK8R5m gx8iCrWOchsCISwAluqLMMxPWEh7EF4NKh0t+gYYKGtVHU3AUIYc6XdWBfzZ+O1JBcgz pJEre3DF3NVdlaW6j2nJ1xHa+ghWJ6NhkVxBpj6pil5mREDxKsR+WR5tZFnzn0Ow0V18 BN27fF9yf7T/PDs1VD0ktP8806xCke2NEutXtJWz7ZOtrVt3LVMGPGCe6TmgJONG4cyO naKw== X-Gm-Message-State: ALoCoQkULHuf58w250w0qoEHlxp4RJN90qS5L5qud0Y0bEgucgkHq6vLyifS/4h5FBCzIzr2DmyY X-Received: by 10.180.20.177 with SMTP id o17mr39370170wie.66.1424872340766; Wed, 25 Feb 2015 05:52:20 -0800 (PST) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id l6sm64945385wjx.33.2015.02.25.05.52.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 05:52:20 -0800 (PST) From: Adrien Mazarguil To: dev@dpdk.org Date: Wed, 25 Feb 2015 14:52:03 +0100 Message-Id: <1424872326-17930-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424492174-27072-1-git-send-email-adrien.mazarguil@6wind.com> References: <1424492174-27072-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [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: Wed, 25 Feb 2015 13:52:24 -0000 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