From patchwork Mon Apr 13 14:53:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Zhou X-Patchwork-Id: 68274 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 80CCAA0577; Mon, 13 Apr 2020 16:53:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DED7E2B83; Mon, 13 Apr 2020 16:53:45 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 3A68B1B53 for ; Mon, 13 Apr 2020 16:53:43 +0200 (CEST) From: Dong Zhou To: matan@mellanox.com, dongz@mellanox.com, orika@mellanox.com, shahafs@mellanox.com, viacheslavo@mellanox.com, john.mcnamara@intel.com, marko.kovacevic@intel.com Cc: dev@dpdk.org Date: Mon, 13 Apr 2020 17:53:40 +0300 Message-Id: <20200413145342.2212-1-dongz@mellanox.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200316125205.22169-1-dongz@mellanox.com> References: <20200316125205.22169-1-dongz@mellanox.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/2] support flow aging 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Those patches implement flow aging for mlx5 driver. First patch is to modify the current additional memory allocation for counter, so that it's easy to get every counter additional memory location by using offsetting. Second patch implements aging check and age-out event callback mechanism for mlx5 driver. Dong Zhou (2): net/mlx5: modify ext-counter memory allocation net/mlx5: support flow aging doc/guides/rel_notes/release_20_05.rst | 1 + drivers/net/mlx5/mlx5.c | 34 ++- drivers/net/mlx5/mlx5.h | 59 ++++- drivers/net/mlx5/mlx5_flow.c | 147 ++++++++++- drivers/net/mlx5/mlx5_flow.h | 15 +- drivers/net/mlx5/mlx5_flow_dv.c | 336 +++++++++++++++++++++---- drivers/net/mlx5/mlx5_flow_verbs.c | 16 +- 7 files changed, 518 insertions(+), 90 deletions(-)