From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 4B481231C for ; Fri, 30 Oct 2015 19:53:04 +0100 (CET) Received: by wmff134 with SMTP id f134so18461852wmf.1 for ; Fri, 30 Oct 2015 11:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=Bp0CEy12LxUI9u6H0A8Z1ejrbwyQU7Qebmycpxr2qtQ=; b=Pn9QK4P6AzyqUqhMy3Q9pc29oEDosMM1PJM8QgbYe/jDOV3c9qVbf7gGbmKFQYstEu 47pGqwhCgFcchQHmGfiBeE0q8Py6QTznLnQ68RYIeXAF/wf3qOsQdokOidS2TfqSo1iX x77MPmqL6NWn8fxlGw7n9B4oa8hO5UQZZENg2XHaD6MDIEWQ52LX0XMTTxzF2tPoBFo4 Yxx5MjZJPpIQBTv2GYFMH/0Z6alI5Gbszf4oCx7mzIPbTMU84L2dwRmb190/wbWX+0TB H5WtsWC1UXPxF+0df8lvnogdr71Y0vpJsTvW/FWdP7/cWrf4/K3I0uC/xvGWCN08uItN AaSA== 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=Bp0CEy12LxUI9u6H0A8Z1ejrbwyQU7Qebmycpxr2qtQ=; b=jc6qNAaqJwC3dtlrPOPbLvfAL43r85fQBgSzYW43TqCEvCUcbRqfzYNtac7BgvRijw A+AaO85lqNKGMPmARrrCPfCx7eomZb4cm/pjd0AbDdNNr/AmWS+GJ/71JMu2upd9WqBy tpXap3O5PWxILPFiTWQtr5w0R1hp1tYCWJMMolaytrIzaWYU9kz9fl1QcLA3EXZTtMB2 q6RcTfMjAsRVNIZ2Eu+W48OlvaKRfSsKKbRLBT/KYNO2hWQqYesCEnRVKodRnQL7jbAa 6a6p3qc9rJt5U+oww2Wzxs8PUqSLT0wQpVi2vimSlrTKFwLbqwGlZxf302Mk2JnyOtf/ pK+g== X-Gm-Message-State: ALoCoQnxwD8KExrwqsN91jCth+9tiaNDU6yAdkD8ivUeJkbyoyC4AEaa8Lg922IASvpf1wbMWnkf X-Received: by 10.28.139.18 with SMTP id n18mr5470578wmd.63.1446231184099; Fri, 30 Oct 2015 11:53:04 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id 79sm4214166wmf.13.2015.10.30.11.53.02 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 Oct 2015 11:53:03 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Fri, 30 Oct 2015 19:52:29 +0100 Message-Id: <1446231162-8075-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1444067589-29513-1-git-send-email-adrien.mazarguil@6wind.com> References: <1444067589-29513-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v2 00/13] Mellanox ConnectX-4 PMD (mlx5) 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: Fri, 30 Oct 2015 18:53:04 -0000 This PMD adds basic support for Mellanox ConnectX-4 (mlx5) families of 10/25/40/50/100 Gb/s adapters through the Verbs framework. Its design is very similar to that of mlx4 from which most of its code is borrowed without the mistake of putting it all in a single huge file. It is disabled by default due to its dependency on libibverbs. Changes in v2: - Removed useless port inactive warning. - Simplified code by replacing configured MAC addresses RX queue bit-field with flow pointer checks. - Replaced allmulti/promisc status bits with request bits to fix inconsistencies when restoring these modes. - Updated comments about maximum number of MAC addresses and VLAN filters. - Improved performance with better prefetching. - Fixed deadlock in case of error during port start. - Simplified VLAN filtering configuration storage using a basic list instead of a table (with holes). Adrien Mazarguil (13): mlx5: new poll-mode driver for Mellanox ConnectX-4 adapters mlx5: add non-scattered TX and RX support mlx5: add MAC handling mlx5: add device configure/start/stop mlx5: add support for scattered RX and TX buffers mlx5: add MTU configuration support mlx5: add software counters and related callbacks mlx5: add promiscuous and allmulticast RX modes mlx5: add link update device operation mlx5: add flow control device operations mlx5: add VLAN filtering mlx5: add checksum offloading support doc: add mlx5 documentation and release notes for version 2.2 MAINTAINERS | 4 + config/common_bsdapp | 9 + config/common_linuxapp | 9 + doc/guides/nics/mlx5.rst | 308 +++++++++ doc/guides/rel_notes/release_2_2.rst | 9 + drivers/net/Makefile | 1 + drivers/net/mlx5/Makefile | 128 ++++ drivers/net/mlx5/mlx5.c | 553 +++++++++++++++ drivers/net/mlx5/mlx5.h | 212 ++++++ drivers/net/mlx5/mlx5_defs.h | 78 +++ drivers/net/mlx5/mlx5_ethdev.c | 844 +++++++++++++++++++++++ drivers/net/mlx5/mlx5_mac.c | 464 +++++++++++++ drivers/net/mlx5/mlx5_rxmode.c | 311 +++++++++ drivers/net/mlx5/mlx5_rxq.c | 1064 +++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_rxtx.c | 1009 +++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_rxtx.h | 194 ++++++ drivers/net/mlx5/mlx5_stats.c | 144 ++++ drivers/net/mlx5/mlx5_trigger.c | 154 +++++ drivers/net/mlx5/mlx5_txq.c | 513 ++++++++++++++ drivers/net/mlx5/mlx5_utils.h | 166 +++++ drivers/net/mlx5/mlx5_vlan.c | 156 +++++ drivers/net/mlx5/rte_pmd_mlx5_version.map | 3 + mk/rte.app.mk | 5 + 23 files changed, 6338 insertions(+) create mode 100644 doc/guides/nics/mlx5.rst create mode 100644 drivers/net/mlx5/Makefile create mode 100644 drivers/net/mlx5/mlx5.c create mode 100644 drivers/net/mlx5/mlx5.h create mode 100644 drivers/net/mlx5/mlx5_defs.h create mode 100644 drivers/net/mlx5/mlx5_ethdev.c create mode 100644 drivers/net/mlx5/mlx5_mac.c create mode 100644 drivers/net/mlx5/mlx5_rxmode.c create mode 100644 drivers/net/mlx5/mlx5_rxq.c create mode 100644 drivers/net/mlx5/mlx5_rxtx.c create mode 100644 drivers/net/mlx5/mlx5_rxtx.h create mode 100644 drivers/net/mlx5/mlx5_stats.c create mode 100644 drivers/net/mlx5/mlx5_trigger.c create mode 100644 drivers/net/mlx5/mlx5_txq.c create mode 100644 drivers/net/mlx5/mlx5_utils.h create mode 100644 drivers/net/mlx5/mlx5_vlan.c create mode 100644 drivers/net/mlx5/rte_pmd_mlx5_version.map -- 2.1.0