From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id A74235A98 for ; Thu, 29 Jan 2015 16:21:16 +0100 (CET) Received: by mail-wg0-f48.google.com with SMTP id x12so23427418wgg.7 for ; Thu, 29 Jan 2015 07:21:15 -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; bh=Z4bexYyxII/lkeHNrsMWTdJpm18owcqUk+fI7dPzo3Y=; b=ZoPKL/nOCf+EOa7Fo0XwLE67xa5ToTRGqLmZJFDwZXBMtZ0HRgOHO8y0Xlb9JK8ySx deA0+hqkLtxYo5/uvSOz/IvijJI/LEXT+NfTrBkmsuB0gcSzkGBFreuKGIMucDMHWF8+ VUtMKCASemJI/THGQbx6hLZgaSq5I+NpK74Ka62DE4LiaFd5ObhCUE2Gl/VFSao6PDXw 68iUW/mxX7CU3Ielq8aNFSQmPX3zgadQ6APMpQDrBZFxxfw177hmaedujd1djs6Dj4i9 tR8QX6LvoSFxjuuXDsC+mPxD92tYbJr1B5jRbo0eMxmgSrk5LdyR4kXdLRl+roO1Qc2Z 0Nnw== X-Gm-Message-State: ALoCoQmqxNyPV3MUpFNh+2y/kmatoMVcqgLgGH6GGAaydHXxRQKf83AFfJ7/6TyBVGAkQhLGckA0 X-Received: by 10.194.184.76 with SMTP id es12mr2156914wjc.110.1422544875642; Thu, 29 Jan 2015 07:21:15 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id tc2sm2854212wic.21.2015.01.29.07.21.14 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 29 Jan 2015 07:21:15 -0800 (PST) From: Adrien Mazarguil To: dev@dpdk.org Date: Thu, 29 Jan 2015 16:20:44 +0100 Message-Id: <1422544846-10697-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [PATCH 0/2] 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, 29 Jan 2015 15:21:18 -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) Actual documentation will be added in V2. [1] https://www.openfabrics.org/ [2] http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers Adrien Mazarguil (2): scripts: add auto-config-h.sh mlx4: new poll mode driver config/common_bsdapp | 11 + config/common_linuxapp | 11 + 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 ++ 8 files changed, 5192 insertions(+) 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