From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EB6BC2BA1A for ; Fri, 24 Apr 2020 10:45:51 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id D25D52064A for ; Fri, 24 Apr 2020 10:45:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D25D52064A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 108511C1C1; Fri, 24 Apr 2020 12:45:50 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 6A40A1C1C1 for ; Fri, 24 Apr 2020 12:45:49 +0200 (CEST) From: Bill Zhou To: matan@mellanox.com, shahafs@mellanox.com, viacheslavo@mellanox.com, marko.kovacevic@intel.com, john.mcnamara@intel.com, orika@mellanox.com Cc: dev@dpdk.org Date: Fri, 24 Apr 2020 13:45:46 +0300 Message-Id: <20200424104548.12655-1-dongz@mellanox.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200413145342.2212-1-dongz@mellanox.com> References: <20200413145342.2212-1-dongz@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] net/mlx5: 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. Bill 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 | 86 +++--- drivers/net/mlx5/mlx5.h | 63 ++++- drivers/net/mlx5/mlx5_flow.c | 201 ++++++++++++-- drivers/net/mlx5/mlx5_flow.h | 16 +- drivers/net/mlx5/mlx5_flow_dv.c | 370 +++++++++++++++++++++---- drivers/net/mlx5/mlx5_flow_verbs.c | 16 +- 7 files changed, 626 insertions(+), 127 deletions(-) -- 2.21.0