From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 5523CB7B1 for ; Sat, 21 Feb 2015 05:16:24 +0100 (CET) Received: by mail-wg0-f51.google.com with SMTP id y19so16419355wgg.10 for ; Fri, 20 Feb 2015 20:16:24 -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:cc:subject:date:message-id:in-reply-to :references; bh=NWfqjV8JCINmHoR/+spoKahuz7ce03n7ipD9SkmYqXM=; b=a6YuCM17atB+kUmeKFTERca3EaBzCrEy850ASa124cI5PKYjl22xx+gzWwdR2WRGAv GaAQQmBlXoK0aCd0DjDaLl8IBM3zXtR0ZRLoK5lPAGJ7POJqpmR2lvPts4Sfdmn92mHu p8nYb8Lq2y407M5QezJkCJULnEeUJ3isMBiMkUgqJv5NHRjPZ4t5H4feFJP3Wda6oCjf A5kxcu0uN1xzIH5uqoBTjuKth58MtNRq7nBiiCyOvJ+ucGETTOAVU7LwFskZXZ9KBUFL wCRICMaC9cqdpfDBUjvnLfnrOayTjlEIAE1VVtT69P1qqy8kuikT3j7zGusIiG/Y5Boy nPRw== X-Gm-Message-State: ALoCoQk6nt/ILRSxNLcnzbB9/QqL6tOualxXBVGjOS4EAuLP8VPkmjfhwjuV4zrD9IZ4K7BH8GtV X-Received: by 10.194.156.133 with SMTP id we5mr1429899wjb.37.1424492184123; Fri, 20 Feb 2015 20:16:24 -0800 (PST) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id et4sm44927575wjd.15.2015.02.20.20.16.22 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 20:16:23 -0800 (PST) From: Adrien Mazarguil To: dev@dpdk.org Date: Sat, 21 Feb 2015 05:16:10 +0100 Message-Id: <1424492174-27072-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1422544846-10697-1-git-send-email-adrien.mazarguil@6wind.com> References: <1422544846-10697-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v2 0/4] 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: Sat, 21 Feb 2015 04:16: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. Adrien Mazarguil (4): scripts: add auto-config-h.sh mlx4: new poll mode driver maintainers: claim responsibility for mlx4 PMD doc: add librte_pmd_mlx4 documentation MAINTAINERS | 4 + config/common_bsdapp | 11 + config/common_linuxapp | 11 + doc/guides/prog_guide/index.rst | 1 + doc/guides/prog_guide/mlx4_poll_mode_drv.rst | 327 ++ doc/guides/prog_guide/source_org.rst | 1 + lib/Makefile | 1 + lib/librte_pmd_mlx4/Makefile | 119 + lib/librte_pmd_mlx4/mlx4.c | 4739 ++++++++++++++++++++++++++ lib/librte_pmd_mlx4/mlx4.h | 166 + mk/rte.app.mk | 8 + scripts/auto-config-h.sh | 137 + 12 files changed, 5525 insertions(+) create mode 100644 doc/guides/prog_guide/mlx4_poll_mode_drv.rst create mode 100755 lib/librte_pmd_mlx4/Makefile create mode 100755 lib/librte_pmd_mlx4/mlx4.c create mode 100644 lib/librte_pmd_mlx4/mlx4.h create mode 100755 scripts/auto-config-h.sh -- 2.1.0