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 BA92C43C06; Tue, 27 Feb 2024 14:53:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A51D740295; Tue, 27 Feb 2024 14:53:02 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2085.outbound.protection.outlook.com [40.107.244.85]) by mails.dpdk.org (Postfix) with ESMTP id 84A064027D for ; Tue, 27 Feb 2024 14:53:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ci/eCt5uh7AB4UgDQ5g9nDjndTHrqzeX/0D3xPx5E6Y9Jq3nwaqoBWqe9FfWaL5rZyFG9YNgYhm0kFy5AWHcWus+xHF25jQ+apGYtw/dRSxeh+OwrGyfgCgeH+M1LjIuOhujgA2VD6vb2uIHrQHkDqDU1ukAZpxI65Ykqf8re3gxdVbX7IpT+aaD9Xf8lOJP2jmorhqcL3jaXGGaLPKm9aiDmyCT80GzZD8m+U+gvhpKZtvYxOCDnWMmsXfplZ8nDRuU0kBnFKs+zsdXb2oweaQ1bLBsMfShxCtcg9CS8/X1iK/DUpNjWurTH9vRWGfkcJaG/z/euoeliJ6WZmcCPw== 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=GuX+YjxYeWjSNZMvRW6N1ks4aS6rFpouKRevCYpK9lU=; b=XwbWmQtebCwwyTbO2bnyYhs91NTCH/4vqjV8Bzx56uqp+MABeWx6Uv6zgfW9ggU1g5VW/9lkZvBLSQ9BwMHkKoA4ifjX7SigxCcOUu3jvuUgiXULUAYxm0b2IsnM8iKeYB+TlOPANI3YbzgEV3RhQrpzNDT97uwKLtFQyzg9a5gK7opsfenQnrjLFrRfCQ8zmnIcR6gO1QzBVUzqSEOceIumLEiSyBufL1A8CFNUeQiRohzsppWWjNDBCAo3ug3bxBWPdYqD3vMepch3mU5sgDdsrPzlGp7oRdnBeB7iuVhomRI+ajeG9acvtv/vkB76nUO5VV0Qnvk36SsjYUXJXw== 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=GuX+YjxYeWjSNZMvRW6N1ks4aS6rFpouKRevCYpK9lU=; b=k1kR6TZI6HeCz4ZSxgDw8goIjQQALiwlZdOHXt2cMQy6RAmPmziSXAxS9QIHXz7Pl3gCLiGndIDpFu/EX2YTCxp12kjzWAM6aHbmY6T4dNiGbibtphhRJrttV88fjDufrVAaYfKLFG8LGeRlwXA2od8nyKkp25Fa2+CknH3pQn+OMFm1AREvpBX3QXpjfXaRqbW6Kk+35bIMY+jdBMsN/g1M721Y7wygatZUPbBIqo7wuzAdiRJyxp8Pvboey4wc1Ip6iJmcOBuUp4zFuU2ayLQ2Kwu2G7hCtjGlhHDNu1eKgV2LHKb6zLkfb/GFiyUS8Es4FI1x06wZ+hzECjrQTQ== Received: from SJ0PR13CA0047.namprd13.prod.outlook.com (2603:10b6:a03:2c2::22) by MN0PR12MB6150.namprd12.prod.outlook.com (2603:10b6:208:3c6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.19; Tue, 27 Feb 2024 13:52:57 +0000 Received: from SJ5PEPF000001C9.namprd05.prod.outlook.com (2603:10b6:a03:2c2:cafe::fb) by SJ0PR13CA0047.outlook.office365.com (2603:10b6:a03:2c2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.26 via Frontend Transport; Tue, 27 Feb 2024 13:52:57 +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 SJ5PEPF000001C9.mail.protection.outlook.com (10.167.242.37) 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:52:57 +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:52:41 -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:52:39 -0800 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad CC: Subject: [PATCH v3 0/4] net/mlx5: connection tracking changes Date: Tue, 27 Feb 2024 15:52:20 +0200 Message-ID: <20240227135224.20066-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240223142320.49470-1-dsosnowski@nvidia.com> References: <20240223142320.49470-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: 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: SJ5PEPF000001C9:EE_|MN0PR12MB6150:EE_ X-MS-Office365-Filtering-Correlation-Id: 6772e3b7-daa6-44f4-8e15-08dc379b673f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5jqYs7Ch3rvjzCdly9RTECsksQDi8+pK5CnOfIhbgdieX3nmIc5yTmPgJdppaHXk9tWqisod3xGbE8gCws5WGrGJzQheFyVI9sYW+pkSfi8JaegrzNBgXmX7HVfUXTtbv4JgqTHX+P8tqjB6KaRJnuF0ADpyhTdpfg+3fPL5hWbdbPGMsqkryfPA+Icqj6r34uEjMNeJdpKEF51fTpUIWlbZSz6SuHloL5AV9v0qEMkQxBGjuWCB734iOJFjcmvMQWCbfITLtYcvHfxtVJWDw8U/mCQwrKws20UaRVisxRX0qNBxs95izIPyBnX/D30NZViVUQzMbXBe3uCTOFSsXE210h0mWu7Ks7kZoyBVCPLkqiPpAoK8sIWsQ8NCHJxbCDJ6fA8EQHhFaBH/UQiJsdUoyR83Upk63SmYUdM9KOvMPq0z5yXVHe0pvQ7Tah+g1fJX7kRp8M+JBIKlOYoemzS3OnOmYyRd7EpS/IrT/D8eAgvx0RimWPH332BNECPqkafHUU2Lyn0Liej2kEEV9Jr+iUwkxgtzu7LuH1jCs6hwgVwjBlUPNa67aFMssrNYoC4o9OfK62s+eEPg1iD8KZ8IB7V7iyzZfUC+hfmuedzKIexsPkFRA7srxNhA+vi07cJ3wye1TPm3MhgAcb5bCuJQwfSEt8WwgT7dqO2Q685hJNQ+p1ALHx7rMizGSS+SjxR4wIghmFgzgW9FwGIrZ3bIvvatgsy1tqBEZQ74SItpFnEHt50MEJDUGFE7Ogsg 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:52:57.0194 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6772e3b7-daa6-44f4-8e15-08dc379b673f 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: SJ5PEPF000001C9.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6150 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 Patches 1 and 2 contain fixes for existing implementation of connection tracking flow actions. Patch 3 adds support for sharing connection tracking flow actions between ports when ports' flow engines are configured with RTE_FLOW_PORT_FLAG_SHARE_INDIRECT flag set. Patch 4 is based on the previous one and removes the limitation on number of ports when connection tracking flow actions are used with HW Steering flow engine. Depends-on: series-31246 ("net/mlx5: move meter init functions") v3: - Rebased. - Added Depends-on tag. v2: - Rebased on top of v24.03-rc1 - Updated mlx5 docs. Dariusz Sosnowski (3): net/mlx5: fix conntrack action handle representation net/mlx5: fix connection tracking action validation net/mlx5: remove port from conntrack handle representation Suanming Mou (1): net/mlx5: add cross port CT object sharing doc/guides/nics/mlx5.rst | 4 +- doc/guides/rel_notes/release_24_03.rst | 2 + drivers/net/mlx5/mlx5_flow.h | 20 ++- drivers/net/mlx5/mlx5_flow_dv.c | 9 ++ drivers/net/mlx5/mlx5_flow_hw.c | 180 +++++++++++++------------ 5 files changed, 123 insertions(+), 92 deletions(-) -- 2.25.1