From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D67B0A0548; Mon, 26 Apr 2021 14:43:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D6F341104; Mon, 26 Apr 2021 14:43:19 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2083.outbound.protection.outlook.com [40.107.223.83]) by mails.dpdk.org (Postfix) with ESMTP id A070E40140 for ; Mon, 26 Apr 2021 14:43:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XR0yDXYXHTn6qhhdyA59448xFl6dnCpHydM7zG2Lk2/VeYra1DTw/gzaPa00Rhqh7Tt/51aZYsaRarkwjM5caN6FrMM/2BCkVwsAoL8iQ6h5EM5bRcHWY6FYnh/T/W/U6c4XGJEst1yZdl6qGDiZs7PhvOp5Ei4/glJy6gHNKT9EAHzkqaxRCnpiRmdG38qeQvN6hD6bqRdu0D+VMywt+SFkoKGZpEDAGRUsk+kCgagLq7nIdulv/C+FWjGAmg6FraqPom+5kEG3ftsHcYFmNoxv3HZPt2wibqoZ7KFuAA31tfk+A2ttX4pfo4xzfgc+oy8SfDZ27oixiNz/rLdBBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NEnIMHwwekfG0RGabglLVw/Ql2XznEB/lm4zOWTEosU=; b=M7szyF8dPvcFaW87oY1ceX6tKCA3pACIjrGkpUkWcdK2Sn87eqo+Bpw1+9gTU/TRKCW6CEiUe1M4cGmOAQ+DRmlvRmJwApZxF7hYvxhO2JB/5wVv57m0FvYb5iPnayXxspYmBpZm2Y7pCfzYXCTskXhCuOuzU5myw7kXgNYefZ17gaqzmmLC7QPFY0XmZCxOafPgzOSZmbT6+kb9Caxpsr9cMKJC9zvtV4NqO39vzf1YY/Mij6Mw/2QslFdZafXqluAsQMpEQO+XghlRRxMROMC/ZK1Iun66EpDs5g9/razb8402urGYY+0OOqPRIjfIu5/V5RXxjRyEPYNP8srf1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NEnIMHwwekfG0RGabglLVw/Ql2XznEB/lm4zOWTEosU=; b=D6w0SX3vcBaPGWN8JfQ0gXHr3/jArr0mtrqyi2BG/EhoeOvXCO3wB3C7uT/4Pfe5Ujv0L8Kj72g+NkocPeallq1ieHRCAj1cvAxzJ8cKlj1LLfNzq8Qah62sn9ema3KjkhnijJstBfJW6eFXAUt3Fe+8ynjaitdQ0J4mrONj/ahpiwN5o6zTSRE5ftsuo/sraRTXrbzsZ49g1+SvdXIuc4gl0kb5xVx//aPI8IqmrUep40Qj+9+zhg2s7WLaLahHyYD2y4fh/dNiGKqKFIs23VNFjRSqRd1fyVFaqGU5EaJQoIu3ZpLIJccJW09qJpdFRP6UO2oTF4D+q+cG7g8tQw== Received: from DM5PR12CA0052.namprd12.prod.outlook.com (2603:10b6:3:103::14) by MW2PR12MB2394.namprd12.prod.outlook.com (2603:10b6:907:f::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.24; Mon, 26 Apr 2021 12:43:16 +0000 Received: from DM6NAM11FT066.eop-nam11.prod.protection.outlook.com (2603:10b6:3:103:cafe::7c) by DM5PR12CA0052.outlook.office365.com (2603:10b6:3:103::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Mon, 26 Apr 2021 12:43:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT066.mail.protection.outlook.com (10.13.173.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4065.21 via Frontend Transport; Mon, 26 Apr 2021 12:43:16 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 26 Apr 2021 12:43:14 +0000 From: Michael Baum To: CC: Matan Azrad , Raslan Darawsheh , Viacheslav Ovsiienko Date: Mon, 26 Apr 2021 15:42:45 +0300 Message-ID: <20210426124250.42771-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d01c1a14-654e-4694-5abf-08d908b0dd0c X-MS-TrafficTypeDiagnostic: MW2PR12MB2394: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /YVLAdULB/1UnEGG7NXWeskOyX335P/Qfqlgipvamf/ItyMab/djHvZUBQtWL3rIpjNrpJQN3KzI8k7D5SkJeZuZ+iBd2e+qbnQLqWVjAQiUqGzLrL1hB9R6nJXTm6j1AWBSEDtWFeS4IAxJpveylNRcrKyI23e6rCEMaOJDRTW33ZuQHb4khuGvcgrFFgIPunYnAlEw/Emzw5+wt3o+Gqosm2R7zoieyimMnMQw5ZyrycZ79vxgzwW7MG7ur0jSGrUGfGzPp7UIERFNDKJGAlpv+IFEjuFKFWwRnrC11DFxiMTnXii/O/A0gMy8YrLcbaTEO1ahwtMfYpsdqax05g7ilYTd1BS2/5YW6e7n7XAuFrEyVTT/wIClRmxb+BJpY1axtkw/QDfoC/wNPKqyiOTPEMnki9QfBfsdkg4RuUUqDxDMZP8z4hEWkaHLB5LvlnJqRnWoFDs+DJWVE97MtK3McqwBpUQ+Ks9WzzZfTUiBjBLIqVpKFEXpxOINIuyxNM3xird8dLFiAPxBBlH1Jq8406o560d6apqffSUJ1BuCA2Fsxvv1UV0fmi5KRnJf0dO8e+kpTjo+ZOsz7PtDPhK0PNxaJXOglEirO1ShQZJ8dwo1h42GHN1N/EraGOpAJ8P9aEb8uRkDNF1IHKrmCA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(396003)(39860400002)(376002)(346002)(136003)(36840700001)(46966006)(7636003)(4326008)(6666004)(356005)(6916009)(7696005)(36860700001)(4744005)(70206006)(36756003)(478600001)(36906005)(86362001)(2906002)(55016002)(83380400001)(82740400003)(107886003)(8936002)(82310400003)(8676002)(6286002)(5660300002)(70586007)(316002)(2616005)(47076005)(26005)(1076003)(16526019)(426003)(186003)(336012)(54906003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2021 12:43:16.4417 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d01c1a14-654e-4694-5abf-08d908b0dd0c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT066.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR12MB2394 Subject: [dpdk-dev] [PATCH 0/5] net/mlx5: add indirect count action X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Add support of indirect action API for count action. Michael Baum (5): net/mlx5: support flow count action handle app/testpmd: remove indirect RSS action query app/testpmd: support indirect counter action query net/mlx5: fix flow age event triggering net/mlx5: use aging by counter when counter is existed app/test-pmd/config.c | 152 +++++++------- doc/guides/nics/mlx5.rst | 13 +- doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/mlx5/mlx5.c | 8 +- drivers/net/mlx5/mlx5.h | 9 +- drivers/net/mlx5/mlx5_defs.h | 2 +- drivers/net/mlx5/mlx5_flow.c | 6 + drivers/net/mlx5/mlx5_flow.h | 3 +- drivers/net/mlx5/mlx5_flow_dv.c | 369 ++++++++++++++++++++++----------- drivers/net/mlx5/mlx5_flow_verbs.c | 2 +- 10 files changed, 360 insertions(+), 205 deletions(-) -- 1.8.3.1