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 CA88B43C06; Tue, 27 Feb 2024 14:37:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F943402E8; Tue, 27 Feb 2024 14:37:49 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2074.outbound.protection.outlook.com [40.107.95.74]) by mails.dpdk.org (Postfix) with ESMTP id D2571402A7 for ; Tue, 27 Feb 2024 14:37:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I8kp/y1CgAndg3KvxDpznjwTH2znfWojtcpNr2XXUjiY0xO0KLT4SD+V8VvjBHR8kATGOFmz0PvGi65h/itqfJSZlHS06tPO/vWrUyLuDiniEH5OOPU6bwUIPe5VhMA979QryHhnYKi2HQx/c4JGvq3+PVeijYfc0bXHJ5SKIznXkuQ3NMmutss+abgRh+AGQhcH2X9zvHv2aPQLP1BROfFVjUHY1kScz6CtrqMJscXYrJwp7PrrgVQwNoV+b9G6AuUcScsobruDnw4i4NMe6/qdaNtPKe9MEFotjCWUAXn7S0e3VYd0qQ14wtdQRNYnHQ2cQ+sfYAXWFfhZ+XxENA== 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=+mzci3qVCs0/GcgaCTMpEvK/yuDsjQJ3BZcnO0d3tAw=; b=MO59Y6HrzQKQl6Z1LZPDB8lT7OjoCAvaw9iB7UP9lcwRytModrkW6P6pFeSMuikQSTd2bjFTj6P4YpZ+M43u0rm1T6hVfq+/c5gD4c34C8kNv9h3/GfoccNKIejk2rtWOkdXgK8WGR/2v7Isr8rL2anPm4QuepPdyCaHgP9duEgLTvxpekjadVzaXoYXjvucKSnR/FXzbMtPdL6caDmy7byOzmy8rCRCl+UmPT/OPA5D+slibgVuuLLVil25oxudASl3zB0VgdF0tMprZ5/VX8XPpfpEK9DPUeVy0i2/3XR5SiruWdY+v47mH8nwA8PztIDISeUsVIXSvJo1pvp96w== 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=+mzci3qVCs0/GcgaCTMpEvK/yuDsjQJ3BZcnO0d3tAw=; b=M3lIQ68eGKG1gW+CIo38Msyu8LcvT56vJ98VtxTCr/nwQZusUXOVfdR+gcxG0YCrvl+ZBmdT52TUakB3FmQ9xCKc+Gk32i0nVucCWNkgyAIkpnUl1l/2Y3/ZpimPMwfD+yE5ayxnU5drBRH/DWsN4gW4Rq8AoaWAA+QRI6iijS8Lbc3cWjbNEVSvtoBXPN9kX+xuYQtD3vkyuhXPFGgr8VEd26K0pES5hSaKkMHaxjvjwYTdnHQJ886bzI4cQwvFCMlEatEK3v1L7znuy5VksfaKBEtX05/uZYp1AuOTgiIjnmChyHhnA/ft1gx/gITeAP17+9hN3fblmDPDozl+/g== Received: from SN7PR18CA0003.namprd18.prod.outlook.com (2603:10b6:806:f3::23) by SJ2PR12MB8955.namprd12.prod.outlook.com (2603:10b6:a03:542::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.33; Tue, 27 Feb 2024 13:37:45 +0000 Received: from SN1PEPF0002636A.namprd02.prod.outlook.com (2603:10b6:806:f3:cafe::d5) by SN7PR18CA0003.outlook.office365.com (2603:10b6:806:f3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.50 via Frontend Transport; Tue, 27 Feb 2024 13:37: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 SN1PEPF0002636A.mail.protection.outlook.com (10.167.241.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Tue, 27 Feb 2024 13:37:44 +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; Tue, 27 Feb 2024 05:37:30 -0800 Received: from nvidia.com (10.126.230.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; Tue, 27 Feb 2024 05:37:28 -0800 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad CC: Subject: [PATCH v4 0/2] net/mlx5: add cross port meter mark action sharing Date: Tue, 27 Feb 2024 15:37:12 +0200 Message-ID: <20240227133714.12705-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240222180059.50597-1-dsosnowski@nvidia.com> References: <20240222180059.50597-1-dsosnowski@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002636A:EE_|SJ2PR12MB8955:EE_ X-MS-Office365-Filtering-Correlation-Id: f738dccc-4de6-4a75-15e7-08dc37994791 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZGYGK3Rh3e5zjK6DFwvyx8lQ4ysHONDKOUh0BgEbAcNFHhnULVmyTP4zWyDp3yUtJXAGdFn1LJ2vWNVF3TMDZry0V3NgW311Rtdq8Sg+8FAhst/kjWSo1PmP6bnw6iliUBtcZaEqUZ5FxV4TDea1z3vpBi3z2+9eWHm+pEOZa5WNl1BJ0ylfH9JvDmdnngc3jBZ6JdHkJ7qys5XFhD5ZBEa8UeMU9qDtxQ4r6Q5y0qbWrvlklrWvYuLJ7EQCVbk9NNWY0CSftuoa+BA67w6EmgjbAwWTYAvc6IDE/POuS3ygNBka9oEaxObDcEyWfmH9CxlS9Ca09o49w5SQNd5U6IDIzK3Rtk2i9OE4v/+QGd3zZrOAh0lu1AzGOxMsEKd18R1akRvJ+SmDFlu07avI4V6df3gwqAn1w2o9eVQp3Oq8Kxa1zxd+7suM83FbsZq22NWe7Zzx0+PQFFvB+hjYydWXrSh23XMzw4Lf3gJnUzkzPtO960fhs0RjqCgJeLS+ftmmUys+9evRHrQ/WEk6oORVEWwahEuPz2UQkstjX5BDgcb15bt4DyiiCbdG49IKyvK9AM+egC7y6TzPebmlDQxB7no+q4qamLK2BvOkS9FmvOJHzMzXkb6puZmKqfCJpSpIblJFaq6pN1r/xSx2ZWPyAntxFUi6p6LbtRRSIyZVwHL8T4N70oYs4EyMNQJT5VquIDsdee0jMQLcWV6MNbJCEdFZ1iiG+JJT2PAZJTW8sSZB4SAAbhSPGQW5gOMB 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)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 13:37:44.7169 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f738dccc-4de6-4a75-15e7-08dc37994791 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: SN1PEPF0002636A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8955 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. v4: - Rebased. 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.25.1