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 4BDFC43BA7; Thu, 7 Mar 2024 11:19:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D35F42E98; Thu, 7 Mar 2024 11:19:50 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 5523D40E50 for ; Thu, 7 Mar 2024 11:19:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g3qNylONONCfqRO2pU0peUUgF6/UFXdf1a5eZEtIHAv/PQDUrdv+KFIxJ7tOMPbFHawJxv93EIvQSWjdDaWrUV5GmsSCKJcN+GJWl/fU2/LucHvR++8+j8B5AQi0brPLfaKUX0YTYmibHwmUKLRBNRHB94MOv2lLAn4VOmi1iMmfunYo70N+juSmw/qB5R5rpiRy5fB2r0b4blT930JpM8N2R94YYvcSX3YvmP99FjSZLFKFFsukgD+PAJn0MTplH7Da/rAkn/pT3AWFGHPQESf4QrmP4y0lg2Up8RE5ZRo4Y1rwVvzpiUBhV5ZweMJSJvMaa9mtncJ4n/58D/gNGw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Jcr6BpP/LwChSH+8Ml/lI3GG89BpSGsveUWUAvkZcS8=; b=fzfWz7Clx53E/+mP6wUtsScla/Bh/Fn2hOZ5bM5IBvWuCp1pOLVgr2LjOPj0ZFpeu+1EViZBLp/ZLaYS9dIzv0U+kh32V9aksDh8nIgf7fjUrNGMbA1F0R2M1Uy2p3QB8HOdrjgYbEOobNWe26nJ9gQdxcfNA4vl9Pi4UmuC1ZYTMARTiEXRAhU/Bhw5NAzcK688DXMaqTZFrK1t3NQxNRduR0nYT2/BSjLxiqNq8HZwCRb0XjWkPA+sjqP1hqDR9KTLKk1Utb7+cwLt0W1J9wWHB7now8gTqGcFijay+xgf6pEnlr4sSvFM17KC2rQSTsTCShvtEMvkkgrHlA84WA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=Jcr6BpP/LwChSH+8Ml/lI3GG89BpSGsveUWUAvkZcS8=; b=kyWtUC2Ke94aU2jhOgAg5ZbZWzD7z2IMpREkrg4jRPHsR13xfQgdIvwNRDE+AeLT6Vh8QG2b+E2/3/EKUKsqg/ofkkfXh5iXbvpHO4s4VLCD0P40IDQzBCbzmtHuSQH8p0fiUH2t23lwpctowqReNXx+IUdRt9WtMVasnKToy2wwTPrTXQl8JlyqLb6qGK6cBSxDLGGpAB/xqSANCj/sUfZCJAAAVEBqB0oe9uMJkOx2tGvFojyvnJpLtV+/0PjQKVxBDCfNNUfGcYl7qtGL4xOA891DEWBskkTk+GVa32XtcF3DVIAXgGCuVm35EiNkspwvDT6kxrPKpI2nrzGWTA== Received: from BN9PR03CA0177.namprd03.prod.outlook.com (2603:10b6:408:f4::32) by SA1PR12MB6728.namprd12.prod.outlook.com (2603:10b6:806:257::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Thu, 7 Mar 2024 10:19:46 +0000 Received: from BN2PEPF000044A6.namprd04.prod.outlook.com (2603:10b6:408:f4:cafe::85) by BN9PR03CA0177.outlook.office365.com (2603:10b6:408:f4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Thu, 7 Mar 2024 10:19:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by BN2PEPF000044A6.mail.protection.outlook.com (10.167.243.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Thu, 7 Mar 2024 10:19:45 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 7 Mar 2024 02:19:26 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Thu, 7 Mar 2024 02:19:24 -0800 From: Gregory Etelson To: CC: , , , Dariusz Sosnowski Subject: [PATCH v2 0/3] net/mlx5: fix sync meter processing in HWS setup Date: Thu, 7 Mar 2024 12:19:07 +0200 Message-ID: <20240307101910.1135720-1-getelson@nvidia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240229105614.593391-1-getelson@nvidia.com> References: <20240229105614.593391-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000044A6:EE_|SA1PR12MB6728:EE_ X-MS-Office365-Filtering-Correlation-Id: 467d0b99-eaa2-4ad5-9efd-08dc3e901cb5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RYDcccbbQ9LBKhzB6na7xofytBTwRRCTqjpjlNEvx+FfEhH0AXyPQ81V94/Juk8w5EJWGloHyFluN/tikHN/FQe8yOlDFkMGZ/Q7vozvnl727vt1LpD57luy0ZvEdsQnJVdqSsd2BVJl461qqthGaORKJQovaW/PjVUoJ4y80FkchASDseohRu5Sx89H9RvOH3h8R+EkL85HRarNCLsFkuZEcKPa0kp1ACACE7+1EttUhHxCIO6fT3dZ5dPARXxHgRF6K2gGjJLHejpLDphleuhhheuzSkvKkW/RtyhkZ06S3vN9CeTZokoSzW1rWERPIKN4U0Xup80Ia9abIi94FAK7Ct2bE1y/cuqNZPo9PWirVekeL1IHKUMBUQ3CNFZaXBsxMiVI/nDkNOK6HC3iTvCxNY+i8dGSyyGxq0VacWfZ42EbKK9cPJ8FZnMHo1frIRTIYHXa06l4LtC8Sf7K1RQjcngmnFbz5Y5MCniqweT/2OSDlt1Fnm66RObfwdDtFKLtaDahvrP2AfXTFEXrASwaUiThVGB60NQbeaWIF3Lw06x0RtJSbWMhw9lS9fpZjr29ChCyWnBDYOITdgPzre90svPL4kyXuq9AheyhX9oWPSiw7GN2JkQAbUW0f203nmaBeMdxtbT+bII2MJVcmBDKsfNT5pM208+OP4oaMFVppwa59iwipqnpltYB7F35YfcNjNmA1MIkZQZJ5vb6GUtc4YG2GLIarayyTfRjfDJlaPNU3X/ToWrNLtI0M/ha X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(82310400014)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 10:19:45.5770 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 467d0b99-eaa2-4ad5-9efd-08dc3e901cb5 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF000044A6.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB6728 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 Implement sync meter ASO interface for async calls in the template API environment. Gregory Etelson (3): net/mlx5: fix HWS meter actions availability net/mlx5: fix sync meter processing in HWS setup net/mlx5: fix indirect action async job initialization drivers/net/mlx5/mlx5.h | 35 +++++- drivers/net/mlx5/mlx5_flow_aso.c | 178 ++++++++++++++++++----------- drivers/net/mlx5/mlx5_flow_hw.c | 119 ++++++++++--------- drivers/net/mlx5/mlx5_flow_meter.c | 55 ++++++--- 4 files changed, 251 insertions(+), 136 deletions(-) Acked-by: Dariusz Sosnowski -- v2: Fix Windows compilation. -- 2.39.2