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 0FABA43B7F; Thu, 22 Feb 2024 19:01:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC8B0402CD; Thu, 22 Feb 2024 19:01:44 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2044.outbound.protection.outlook.com [40.107.243.44]) by mails.dpdk.org (Postfix) with ESMTP id 0A47540281 for ; Thu, 22 Feb 2024 19:01:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EkTAd5bNLlAu3cJ+Gg7SwM/oRWvKMV1iGj2I0bbgL55HrYZUirqbd2gTk8oN7LRemsdWsp0t96/SzxCfi2P663frgVjzZVC8ZyIY0xde3QUHs3S0PdqrNfTZt8WDwRayiGKrjJuPpSFqzTc5/9tUpgCWaxoz8iS1JEmYJr9BDoVJfHp+dBExwXrF169QcdAzdN2+UluH9g/hg9t2ux3FNNay9hgVjztIs1hQcZeUJh4oPFGqVqeSXRFooo80zl4zkB8KO1KCGpohFF5iTC8uKemK5Zyeq/oR0TwSVUgn1F1310BcAi39iRpi4MsLymX3DigmVS+kAyhCVicP6TriFA== 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=fEqHVzEPvQBTpJptrV8rV2ndTqqLWyXn1KlPVMiYJN4=; b=bz3bIA6/KaCWlzJsunGq3un2HtbtzWbehRJ1mJeEZGvC4+3phhcFS+7YWYOvAfWuDXBa9ekHWHw9i6NwoRw5Y2JM8fJAbaCYF257+/EEjlZkokBppi4ZhBIvqXi7vs9ipLdPZUfbG5GLDeGAeJm0BJKHG0kMUYn88YuehtpUea+kxb+UCQKPAa8dmrpJE4y5POOgYnW/eta0WJYlarukOvNYVHs5cXSiuVphUkyrn24ThFek/Sn10mbLP/rBzxicwkjYoby3rGvwV+ABuQuAkcgnkhqqCTNhPtUVjclqRaNu0+oW9eQ7c4UgMrMXC70F6bBtlhGBznAhlJPtSbdvaA== 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=fEqHVzEPvQBTpJptrV8rV2ndTqqLWyXn1KlPVMiYJN4=; b=CugrrsZPK9JRbQGP4twUDdKKyG+UVrOELKQI5k6avMC/MxLyNLBVz2/YTaRUsoKeOlwJu+XWBDejGAxdNmttpBQDIkcf8PtsnggryvIlK1pwi41bg/tP6YUB+iH6x0WmoR1jTnrzrqMJGS2ZCT1gxMbofQk0HGmkeDcLxg3s0ehtzbgsV+eXJ3/gZgrU+Y5UwBVAJBuzarGUkVin55HleJp5zjignkIvgoDOnO+MH+vaU6YP8/bv2U6t3kv1iB5l7eWH/xAhef65pZDkca4Wt+YW26qGpjdG6QK24tMgXpqDSpYs6r47W59rTc6CpPfdIIHiZ9NFvMMBkoxp4qYjdA== Received: from BN9PR03CA0303.namprd03.prod.outlook.com (2603:10b6:408:112::8) by IA1PR12MB6137.namprd12.prod.outlook.com (2603:10b6:208:3eb::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.19; Thu, 22 Feb 2024 18:01:41 +0000 Received: from BN2PEPF0000449D.namprd02.prod.outlook.com (2603:10b6:408:112:cafe::5a) by BN9PR03CA0303.outlook.office365.com (2603:10b6:408:112::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.43 via Frontend Transport; Thu, 22 Feb 2024 18:01:40 +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 BN2PEPF0000449D.mail.protection.outlook.com (10.167.243.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Thu, 22 Feb 2024 18:01:40 +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, 22 Feb 2024 10:01:15 -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, 22 Feb 2024 10:01:13 -0800 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad CC: Subject: [PATCH v3 0/2] net/mlx5: add cross port meter mark action sharing Date: Thu, 22 Feb 2024 20:00:57 +0200 Message-ID: <20240222180059.50597-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221102130.10124-1-dsosnowski@nvidia.com> References: <20240221102130.10124-1-dsosnowski@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF0000449D:EE_|IA1PR12MB6137:EE_ X-MS-Office365-Filtering-Correlation-Id: 0710ee6f-08fa-40fe-e28e-08dc33d05238 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3iS8oaZzIqCWiVwpaxfiDoSmgY+cdXsUEF73HKHYOSXR/uUVYGakX8sSHo3sSDzEL74FEETudevOOhwP2CEBORWbDvJHwGiW17VdoM0XCCeJN6ZooqwZvOyQDxah0kp2gXjM353DhnE/VB9tzoctuoS04wZOjKhQfriG/AOR3Ps3mfgXGVfrVSwOD/ztFU/mr/ERNCpQkdmA5jcqLMocCxfWEFOmz1gF9N87Zg3aa/mTfdUK+o3JIEWORoJ7XBGpL/DcuETngyFiLC7j7G+8X8QFNI7hPwKZWpBiSPbidTKGp322nwogEceZa1t6PKSGJCBBYZ9CVy0XIqPc5SwG4zftgSHHMkYYmbd1Pb4nTjsLgO/cIRGmzxDp7V4h6mChekC/5ZuziQ4VWEqScIYIZ08KQ0gT5TVi41lqBgQrHl/U0zeA2EgFHGKKP6lO09suiGFX1ynShMhBX/AgD5QYCOUP5xffmh8flZTqqUZqoGwMD/qHtcRpQYOcB7wnZllaLv8P+QOTRAeF15BTlPAVe7QWreVbAe836YS9PSYqt3nhxB2Fgzg9WgLKElbHAeZbY+mhvZ9fYKHr5dB02Tb33wZR40BKnCJc9Ja5T1I7j65z25Ca8a+BGba4SVYZQPDkhEm5xYiyMdZMgQUFsOJ0iLqd1nSu3rUexbfKJf+c5XA= 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)(36860700004)(46966006)(40470700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2024 18:01:40.2941 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0710ee6f-08fa-40fe-e28e-08dc33d05238 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: BN2PEPF0000449D.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6137 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 This patchset adds support for sharing indirect METER_MARK flow actions between ports, when flow engine is configured with RTE_FLOW_PORT_FLAG_SHARE_INDIRECT. v3: - Rebased on top of v24.03-rc1. - Fixed completion polling issue with meter queues. v2: - Updated release notes. Dariusz Sosnowski (2): net/mlx5: move meter init functions net/mlx5: add cross port meter mark action sharing doc/guides/rel_notes/release_24_03.rst | 2 + drivers/net/mlx5/mlx5_flow_hw.c | 245 +++------------------ drivers/net/mlx5/mlx5_flow_meter.c | 284 +++++++++++++++++++++++++ 3 files changed, 315 insertions(+), 216 deletions(-) -- 2.34.1