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 1396843B61; Wed, 21 Feb 2024 11:22:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DABAC402D1; Wed, 21 Feb 2024 11:22:00 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2066.outbound.protection.outlook.com [40.107.220.66]) by mails.dpdk.org (Postfix) with ESMTP id 9465A402CE for ; Wed, 21 Feb 2024 11:21:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B9JtJ9q8WVAsgRAQNiznFqzWQqnRTHtaozVC2NFvbXxB3Sq0pFsGyzOBJw4lmzBaHU0+bSLAWPGSW4MXP/hqi85QgSSYqb2cnHKbyreMFpLKrCiRoZGJQVbVfNCQhquSDTuEWQ/a5QqJa2dIFHcNUn76jUHTdH0UdApN0tYKS3SxBIw8e3FPgDfOtwoRorgct/nYPHJ6T/iTTh40jfPXC5NNyA4gpGnDqhwlSq+LDJIXN96Lka+dsNkh3llknw8vj0qTCqH6d6gjAsp2ZmJG/K1y6ms3ZWETcp06KAOcJBxc/wGljk+4RbEIOJKPzMwCuAg2gyZ4yDjIHLnmgbiiAA== 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=6F8FqQOWvcCjqOjdlJZQpVnKtn92SH6s6RuEmt7JHVE=; b=WMzqJxcW2/XOq7REF0Yo+zog28siH2mmdA1ogxNtyPPI52WqZ+qVYNVSGucBrFQxJt9Vnnt2AksNLl6c+f1jGbaq5LposJvTMucuPUWHP0dYSntKXutR7x+MSlakzAKPlsOXvlDYiVJMZc5QGv2psHRE7uKC4QORmqJ9xy1ENrJHCYQK/u0o/KIkjiLzV9aK9UuYBJu8MC8MA+EfZvgoWjVbmn24u8zXVLdyDhbuI3nfg7mMqgg3Te4LzW/9uDZt0rZ8yrLnA+tOJRRWLSbqhiVWT5NWv9npHR2DcluHxmUvogy2gao9VJFHQDHK/lnRMpTTHrzvbuThUt6YX14cbQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=6F8FqQOWvcCjqOjdlJZQpVnKtn92SH6s6RuEmt7JHVE=; b=Ue0LHGppq52b2zxKa3j5qq2bzmJNpT14zHUN7p71eVTkb//s3NLeDQTXodd87tgmZn9B9ZBZSQiHzoKMVUY7QUfN22l9mMfFdbeBqUYGjoAO8oXBrdL+z49+Z9DOeWOiXYZgKVlJ9OlGkEr2PpZzp519sVIRJgdb33MyHb+nOY8mYf1QEedRT70DS1DaUpzNdAJQF+Hu4Doj/x8NJWkGgZRCHigATNbKPUODiqDXEtd6FLhsDPDNW0NcAIeEL3O8d/CRETp99/F0iBzUvHi1vI4xjN6pVQuzVqqxkFAFdXLA/5nT9kK6n1xZp/k5QE2jI20qIgoS2uijL9UVItKgcQ== Received: from BYAPR01CA0031.prod.exchangelabs.com (2603:10b6:a02:80::44) by PH7PR12MB8123.namprd12.prod.outlook.com (2603:10b6:510:2bb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.20; Wed, 21 Feb 2024 10:21:56 +0000 Received: from SJ5PEPF000001D6.namprd05.prod.outlook.com (2603:10b6:a02:80:cafe::b1) by BYAPR01CA0031.outlook.office365.com (2603:10b6:a02:80::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.41 via Frontend Transport; Wed, 21 Feb 2024 10:21:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by SJ5PEPF000001D6.mail.protection.outlook.com (10.167.242.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Wed, 21 Feb 2024 10:21:55 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 21 Feb 2024 02:21:46 -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; Wed, 21 Feb 2024 02:21:44 -0800 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad CC: Subject: [PATCH v2 0/2] net/mlx5: add cross port meter mark action sharing Date: Wed, 21 Feb 2024 12:21:28 +0200 Message-ID: <20240221102130.10124-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221101327.9820-1-dsosnowski@nvidia.com> References: <20240221101327.9820-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: 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: SJ5PEPF000001D6:EE_|PH7PR12MB8123:EE_ X-MS-Office365-Filtering-Correlation-Id: d3034c89-8c7e-4d7f-a7b3-08dc32c6ee3e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CYAu22vt2cGSoTla58PLjQcFA2cg64dwRnuDPZaZIS4KxEEIL0TNl2ubwmsPMFDQkqNt9DXeKjnBsJMtNeEbYUC9xBb9rlqPQjkitRh7sLvpb/+Xr7S22nt1P/p/EUmFfGAWl5eKGMq2tJmZu8FEouC++aHyboAeWNle6XOMgjDCTcczg+cEJC6u1eFLDh9Km5b/RuHkmUGK6KQejiV8b4Pdyestr8nqRZHKOf1PlNfvbHAWcfBA7t7NjuAdJ9bOe0dI6V3y8mKf/NnSfi/88iSZ6XFQ/4HNfBWCbflNfkU8lq/cy2ukM5xo9lz8S05OUZzkXGWzORRG0NaacBqgAMEuXtdKEeI01udGadOsshV0ZK1tS/DE4OTMk3ZuULcO+YxSxSPpB6qrreN3x3s3fWbl0k6hO+JCscT/zXwJUXYVgtenvO/WiWbXZJXtlxT6uFvYo9dxroPZNbZe8piP8oWCRl8DSSOEVHgjZnSXwbFozBpWLqJfp6Sr1BQYUniKugMsqtzIs8x03Ky/HdlX4odv36iO06P9jRPiaUux7dXs6hlB9BzBBVbfOrvK87EcjxYwwJII/rWtK2ejnwQTK6ULd9VesDz+UajgQH02IUhdC69Hk6FBTGcexTLCcXMWRWFBkvFFnN4pLYGPFqziaSym1H37t3yaBGAMyIHr4JE= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(36860700004)(40470700004)(46966006); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 10:21:55.9733 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3034c89-8c7e-4d7f-a7b3-08dc32c6ee3e 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SJ5PEPF000001D6.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8123 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. 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 | 3 + drivers/net/mlx5/mlx5_flow_hw.c | 237 +++------------------ drivers/net/mlx5/mlx5_flow_meter.c | 284 +++++++++++++++++++++++++ 3 files changed, 311 insertions(+), 213 deletions(-) -- 2.34.1