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 2DA6043BA9; Fri, 23 Feb 2024 15:24:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5F744027C; Fri, 23 Feb 2024 15:23:59 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2049.outbound.protection.outlook.com [40.107.92.49]) by mails.dpdk.org (Postfix) with ESMTP id 400C04021E for ; Fri, 23 Feb 2024 15:23:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxDhn2mTRDkrMOV2yLaKyDPMSJxcewmI8HnW7gaT8MX+t+o3Zbr/p9ht3tVLh5cUsm4uApVPzq5lxUzz4xtMKxjysXAqr5L8YBCtEbunhcAywGIfPS5VDFvyB1N5+PIwGWruf2cK5TJvr0yrT6nZMyvtTncmd8MDSSFmPBCE4wcdwl48erK3lSnZm11UVFpL7e7a8opaRfMEUG1psCh02Ghvb4PKLIWZAo6s+Mpnrl8+vyZDSdMTX8O04K5gmlrAUOyKFgX4jwXWjhccR0mWOgNJ6aRPzKKkwLztCRYv2OhwZ9oESpHex6yzPpP8F943IFoUEEr7onHN1k/lDHfgYw== 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=udf8T866sk/HbGWiCHNXfFHIX3SKEjc1VATgSaKAo9w=; b=VMMHLakldDNSaDtKtRku+vsoLuVlBpebsnUR15WkhzrC1PYI6UW1UfdojO+16lfRxxhSVrTTWqEaACCJSLU7/LFzQgZ+q87jiEXg3ORUPusLDoUaXxwQYstocx8cKRtWCz3DpCHCTSSBCoSVWwVV5GzyBssxhd73DiNedFHhfTd+0IjV8m0bgQVzlR0Iy+TsJF2gpqrymaOn6bV0YepL/4W2YZAPrr606RlW8UP5KeoZAD62SO4BjUzmaah8ZW0OmgFLGTxOp1QZpay4mjIvoYDeDOeXwMPvs6K3j6pITglmXJs4MGKT4neD8S8/6WrVZkD9updcJhQtdlFk17E91Q== 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=udf8T866sk/HbGWiCHNXfFHIX3SKEjc1VATgSaKAo9w=; b=odc2bQfldaaUP51Crni0rBdg4DodNqYQ5+PwApMglJc0h9+5GlCK70P7ZchW2EeIOd8VmHxeDSSKbanzGROVXNGBdfc+BicaszEm+aJXCYl3zBzhXmaDdw5VA3B5ZhEf64oq1MReqg9tzljy4iP+a4k6ebMseaB6tel3kmw+93naFFOBykF0GnK4Q5U5cI+MltPwRaQr8/4QRvaMDPrBfBo/VopIAZ2uUOxhrBeXY/8IXuXh/2uHLZAjQa82PVjl2/fO8XajoXMwxVi1fiD3eC+xIbda8Q/jx+hUoNa5XMh63zrGUareN2EW03uwnx9g5JWPfCvAqGA60OI5ZpXhbg== Received: from CH2PR11CA0001.namprd11.prod.outlook.com (2603:10b6:610:54::11) by CY8PR12MB8339.namprd12.prod.outlook.com (2603:10b6:930:7e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.24; Fri, 23 Feb 2024 14:23:56 +0000 Received: from DS3PEPF000099E2.namprd04.prod.outlook.com (2603:10b6:610:54:cafe::7) by CH2PR11CA0001.outlook.office365.com (2603:10b6:610:54::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.45 via Frontend Transport; Fri, 23 Feb 2024 14:23:55 +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 DS3PEPF000099E2.mail.protection.outlook.com (10.167.17.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Fri, 23 Feb 2024 14:23:55 +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; Fri, 23 Feb 2024 06:23:36 -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; Fri, 23 Feb 2024 06:23:34 -0800 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad CC: Subject: [PATCH v2 0/4] net/mlx5: connection tracking changes Date: Fri, 23 Feb 2024 16:23:16 +0200 Message-ID: <20240223142320.49470-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221100145.8234-1-dsosnowski@nvidia.com> References: <20240221100145.8234-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: DS3PEPF000099E2:EE_|CY8PR12MB8339:EE_ X-MS-Office365-Filtering-Correlation-Id: baf00539-3a7d-4afa-767a-08dc347b116e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iZoXHzwxLRTZX9ZGCoTngEbCln6woviIT5dj1b/tRy47XYRarddzwDGwhOaNDRUOaVqZBBUwE1eubRcRmfamVAYvH4hr44SgP5OewvPzU4pVs8RT02CizmgK5wP42blatp/RfcYvHJHcyiMhkNIAkIMi/9N0YbCtvwKo9P8Y0G6M8dFYBsN5QpVJD3SeW7mcHMYuGsqluE34mR9zHJ9Dj3FHHQ2JbpwIkhOfNIiHwVpUDZxcck2DV8dIwfdldBgH41BuDALNh7r6E0q51BUs3Lb8vMB3sy8RcVg9CVMwsMI2lS9o4WSh27ZP5/klh3AlorE9Gbyb+Ga6f0rRgo4E0FYDwv9yH0y0GEPOon5wrT4A47vfHrktw3vYj5mzS/pJVNGsc5JWluFXDrBycZOyeyZdDA2oKaLEZI5yTMk8mghisvvUsNQIO2MDAbUaw3tLgEwMz2vCcN3vIr7qydTzfQ0SkXz9cR4hDWmUCfqt/4XluArfOI41IU4LPG/+aclKjHxh4MucAocb8fpjeHYYAmYeF4G9oR8IAYUB2c0oQRFRKTzNjC0PhO95GUxr9ea/NBuqpuX7QAiV28FwO/F4FeMfZ7zHxE/scmFxiDM6Pt5jYkc3JgnzjMqXpmimuT0jJ3h1ejTNp09R2OKfoVxihXzd1OWUEnt+ljFxnBor/EU= 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)(40470700004)(46966006); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2024 14:23:55.5029 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: baf00539-3a7d-4afa-767a-08dc347b116e 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: DS3PEPF000099E2.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB8339 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. 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 | 182 +++++++++++++------------ 5 files changed, 125 insertions(+), 92 deletions(-) -- 2.34.1