From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 56DF22C37 for ; Wed, 11 Oct 2017 16:36:17 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id i124so5308127wmf.3 for ; Wed, 11 Oct 2017 07:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Ml9ymGUAke1m3QyBgdmYaPsxZDggjJkIW2Gb362X26Y=; b=GquMKxAkiHFbAskXKMgkheOXkbDJOj5iwe9uqfQOYe7pR8/MuzhVy01N1F6g8IQfyo GwHGOZ6mutcL0cnZ9NNIFFv2sxfK2EDDef5pcT0MWHmRJxNmFDYfwprmOwxeONS1lfLm 3Nm2G5lUrwT5DiFziPUsSk4kjs4BqiYVC5EJkxgcLgDYHu9Y2kFafZEtAIallGMfgQlF S/vMY6JRK53yQ7sVUgwzQ1oRy7yg285mJnA8cf4rAneg6b3km0jtvWz7je3Hnb/tWSCv C2xjt9yR3TdYjp/0qeOb4N4rqVLVVTYYxLhljYl+eYjtU0emcYLx2GErtnOfBkMr9x/F jO+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ml9ymGUAke1m3QyBgdmYaPsxZDggjJkIW2Gb362X26Y=; b=MPuNYAOKTKuzF3T8MsF6xOAL/yqOOBzGYwlx79TdtsfvHLQ8z0eTAp6HFD1SBwRLE1 6zTOiOMwSSz9+thygcLAzQYp6fm/8oolOPTfAaor4z62XRvriaetCAEFYEuGbJHkxQDE HWwU4sr8IE7K7p+cn9MG5WT2AdUr2tTrOa2Ylx+2Ewb7lQ+IrKyz5G0w1q+iTUM25AzD 9nN3FA2l4PeMlE6Qb7PyIKHzh8MbZlPgPGTUpoSMEArGP2kQn9sPy7d8lVxN3EtgIrjc enl39UXIceoU+DgUeAJSEDrEI1MZb7RYhmAGd8x/MdbGibigVtlbDmg3S28VhkNi6vFo /MEg== X-Gm-Message-State: AMCzsaX5/S90QtS8we/2U1gwo57HLFfJWaiXyzns/TUk9jJ+UxTQ96yk M0alSwAoK1gGgAdkvyLOAgw7CA== X-Google-Smtp-Source: AOwi7QCqG1m3BK1qysJ6iE2VcAzWHUmg6zAPnnSJD2wqwTWwTzSvJO8Jx5wI/ApsjxnEX8fwM0OoUg== X-Received: by 10.223.163.90 with SMTP id d26mr7293182wrb.35.1507732576940; Wed, 11 Oct 2017 07:36:16 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 5sm4458318wrt.59.2017.10.11.07.36.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 07:36:16 -0700 (PDT) From: Adrien Mazarguil To: Ferruh Yigit Cc: dev@dpdk.org Date: Wed, 11 Oct 2017 16:35:02 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH v1 00/29] net/mlx4: restore PMD functionality X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2017 14:36:17 -0000 This series restores all the control path functionality removed in prior series "net/mlx4: trim and refactor entire PMD", including: - Promiscuous mode. - All multicast mode. - MAC address configuration. - Support for multiple simultaneous MAC addresses. - Reception of broadcast and user-defined multicast traffic. - VLAN filters. - RSS. This rework also results in the following enhancements: - Support for multiple flow rule priorities (up to 4096). - Much more comprehensive error messages when failing to create or apply flow rules. - Flow rules with the RSS action targeting disparate queues can now overlap (as long as they take HW limitations into account). - RSS contexts can be created/destroyed on demand (they were previously fixed once and for all after applying the first flow rule). - RSS hash key can be configured per context. - Rx objects have a smaller memory footprint. Note that it should be applied directly before the following series: "new mlx4 datapath bypassing ibverbs" For which a new version based on top of this one will be submitted soon. Adrien Mazarguil (29): ethdev: expose flow API error helper net/mlx4: replace bit-field type net/mlx4: remove Rx QP initializer function net/mlx4: enhance header files comments net/mlx4: expose support for flow rule priorities net/mlx4: clarify flow objects naming scheme net/mlx4: tidy up flow rule handling code net/mlx4: compact flow rule error reporting mem: add iovec-like allocation wrappers net/mlx4: merge flow creation and validation code net/mlx4: allocate drop flow resources on demand net/mlx4: relax check on missing flow rule target net/mlx4: refactor internal flow rules net/mlx4: generalize flow rule priority support net/mlx4: simplify trigger code for flow rules net/mlx4: refactor flow item validation code net/mlx4: add MAC addresses configuration support net/mlx4: add VLAN filter configuration support net/mlx4: add flow support for multicast traffic net/mlx4: restore promisc and allmulti support net/mlx4: update Rx/Tx callbacks consistently net/mlx4: fix invalid errno value sign net/mlx4: drop live queue reconfiguration support net/mlx4: allocate queues and mbuf rings together net/mlx4: convert Rx path to work queues net/mlx4: remove unnecessary check net/mlx4: add RSS flow rule action support net/mlx4: disable UDP support in RSS flow rules net/mlx4: add RSS support outside flow API doc/guides/nics/features/mlx4.ini | 6 + doc/guides/prog_guide/rte_flow.rst | 23 +- drivers/net/mlx4/Makefile | 2 +- drivers/net/mlx4/mlx4.c | 71 +- drivers/net/mlx4/mlx4.h | 61 +- drivers/net/mlx4/mlx4_ethdev.c | 231 ++- drivers/net/mlx4/mlx4_flow.c | 1671 +++++++++++------- drivers/net/mlx4/mlx4_flow.h | 32 +- drivers/net/mlx4/mlx4_rxq.c | 697 ++++---- drivers/net/mlx4/mlx4_rxtx.c | 2 +- drivers/net/mlx4/mlx4_rxtx.h | 34 +- drivers/net/mlx4/mlx4_txq.c | 343 ++-- drivers/net/mlx4/mlx4_utils.h | 10 +- drivers/net/tap/tap_flow.c | 2 +- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 9 + lib/librte_eal/common/include/rte_malloc.h | 85 + lib/librte_eal/common/rte_malloc.c | 92 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 9 + lib/librte_ether/rte_ethdev_version.map | 1 + lib/librte_ether/rte_flow.c | 49 +- lib/librte_ether/rte_flow.h | 24 + lib/librte_ether/rte_flow_driver.h | 38 - mk/rte.app.mk | 2 +- 23 files changed, 2173 insertions(+), 1321 deletions(-) -- 2.1.4