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 0094F43B61; Wed, 21 Feb 2024 11:02:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F504402D1; Wed, 21 Feb 2024 11:02:24 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2082.outbound.protection.outlook.com [40.107.96.82]) by mails.dpdk.org (Postfix) with ESMTP id 64786402CE for ; Wed, 21 Feb 2024 11:02:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZDzEisyU5v8vNufJmo2jyeYEU4j4V+l/zkhPOcN08kVVoJrX/FvM/70R+QR+loC94g6pva2zFEk2s9kmp+l7nDpWSe+w+1dUFp+z06/actCWm0lRyQqTymk7p5Ch2TzLG/D1EbwmFd0rUjNAM3A3j4c3eM0MnaZUuk2LT39ryjXqE8qhGF+AOY5Iui4692JJvqI1nUxJo0yDUalCIfm3hjLhNKydTxkaTFbitc+KgSudvBW1o2yHJYcnLd4NK/n8rqifgTS+2/5rJdSgN39myhWH64gSL39WWryePmmPx7/UWaP7wqI94KDtAFtdUm4k3asQD/29JUjprmSCfifE/w== 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=g9DRj8EbF40mqWfRZPoveYcyyhyn9OIP1nAyvmkx4xM=; b=l6i64vfgVoK2wZ2fufeH5LEi5LMJZ8yNVd9cmyvjjrRK85JP8NZ+/4nQT4lZeGQk7EPtiiHXl/vbOp19VGyMEjGVcY/tmnWSNqZWdyhtLlr2HPAakdjR0kroF5+tyvCsRhoeWApaz4GT8SLjIhmrZKzh2geCCbKwTqhGnjAeh36C/64AMUHvxqHmQ33WSqF7oJX1xzLvBwgt9BKVir77NDwdn9OtJwwWouwAXgBFCZVYiKSMtMYNiAMSwOQB7AHPAPWDc4j4cLYUVId4mskvNoyGeqCwDsZ/fhnMln2qd+FFDJ20xKtbPXiC1FpHty4mJJfrUx1k7/ByW7hMAba8xg== 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=g9DRj8EbF40mqWfRZPoveYcyyhyn9OIP1nAyvmkx4xM=; b=NGSoZAVWWjYy9V5Wb7KYu+hHaZNYeOeFvwtKujEHTrA2QpEJd3teQ0n1cbbei8INWZuqIe5KnvGZK+FLBp6/R9lMBc1XZsfXqGwf0g4IGVbD4Ax38yPb+SXMA0ztPMU6IP9MqaniJRMytXZoS4Ta6E7tgo+1sDFs9zGg8vjQznv4ocFNZR8X2hncwHQ8qwITWkBasEcYMtDizSdk8FeRpjz8xC56Ww7MA8vPz29uLBDnJf6CmBmne0DeThkOZJWR+Z+bl5BvKsQXwfb2F1z5kvqMbk+HPwzeePmUATfJryAFE8uDNKgGAl7i4WCZCWDauMDPdQEjLSekdgjAEald9A== Received: from CY5PR19CA0075.namprd19.prod.outlook.com (2603:10b6:930:69::19) by SJ1PR12MB6291.namprd12.prod.outlook.com (2603:10b6:a03:456::22) 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:02:20 +0000 Received: from CY4PEPF0000E9CD.namprd03.prod.outlook.com (2603:10b6:930:69:cafe::86) by CY5PR19CA0075.outlook.office365.com (2603:10b6:930:69::19) 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:02:20 +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 CY4PEPF0000E9CD.mail.protection.outlook.com (10.167.241.140) 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:02:20 +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; Wed, 21 Feb 2024 02:02:07 -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:02:04 -0800 From: Dariusz Sosnowski To: Viacheslav Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad CC: Subject: [PATCH 0/4] net/mlx5: connection tracking changes Date: Wed, 21 Feb 2024 12:01:41 +0200 Message-ID: <20240221100145.8234-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.34.1 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: CY4PEPF0000E9CD:EE_|SJ1PR12MB6291:EE_ X-MS-Office365-Filtering-Correlation-Id: 357bf2db-8812-4ec6-86af-08dc32c43161 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F9Bskr3Ib9gTS1yJLeEYu7ZIAje9j0OskUxTCKJe84l+OufaHi2XiSrQP3G0X34pr/tHsJMDLJoX8fhxRuhybxh2N2jezKtmkxuE+1HXMA9e7J3eKuaqNh1iTyu5vfWSnAsD9vuXwxJ8Q7V2Vt+7N1xOfEjSxbrd+2J7g43yziDG5UjSoWU09/aCyip0BPe/BOWazln4zYUN6i0nn1IdDLwM7789YGK8yPJcvmI09E/zpZpG3kaUzGWG4UkBHtVTAZ+rRNiT9R6pGfUOBU/UpP4Co841NIb3HH56BMYMicwdKIlL0DhOBRe3Y34/XocUCLL/EIfRGqyF1v4lBmwJCArikXVyljEkuOcpneOtebQTVDsZFmYWGKAxvSazjkJ1Xugky20d51iMBvGjvZlUtHDIGkd1Kw80SI5Ncf43NpLX/YUXsmlUnn14BMD3OqYHAP8PPBtlNbPW9qOBil1jyGglBL4jI7M1HwgNfDZLAd7iDEc0A9Q1E4a4S3u+oBuGpB+XKtXEc1UsCw8m/huVCfRrn628yyBAjNOlbXO5KfErOYVx2C0TdbRnqiSRXdJMh63kga9V0MUZOsBDODEYTLjzDBI3fUGnWy5sS5HlTpzf9HiPZaU77GWAtYNZ1deWpcBcFEPJrR5j5VF/wkk5eAqu4CNAQA9FmLVNa7RrEhs= 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: 21 Feb 2024 10:02:20.1034 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 357bf2db-8812-4ec6-86af-08dc32c43161 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: CY4PEPF0000E9CD.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6291 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. 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 | 3 + 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, 126 insertions(+), 92 deletions(-) -- 2.25.1