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 56F0D43251; Tue, 31 Oct 2023 10:43:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA2AA4067B; Tue, 31 Oct 2023 10:43:22 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by mails.dpdk.org (Postfix) with ESMTP id 6C0E940633 for ; Tue, 31 Oct 2023 10:43:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e7HEDxxzTlJ3WlrVwhCdG6zc/H3JkpBA25cqGDDXMml6BXC3j6ecpCwb3VQDhMtS3XlZbJd010EAe6TyWAlTAWMxEPn6WQJlFEHLZCLIBf9OoaTjNsx3pPMH59ST/ML56OmJeAXtRXs9LkjAXEaQnJRC45WwjugGLQf1LD1pyh3Js7IVy4iKBYK3DVQduIYGiURMgToSmdyNT/oFM5ZARIgxkMlN9z9mu12NvHx5VVnUVYptuSGDzXDEbnqPMPHvuns0AKXaWe5BtZTVWp2Y2En5q95tTzw5oLQ5EPOwt/VQzKMYgRgZMdnQdd8uB1KiIL4Yitp2C9zJwuqmrxZJLg== 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=TpzgRNvjxHeovcAY7i0Xsqpdfxaso7TOYlZaoNPGdcI=; b=OLcMpOrudNhZWiGIIpsr7agAu7p+29qmOGiAghWni8i8/v0MWTzq7tYL3U84oWuvg2DPkzAOyv7gzDe0beqmrbL8/ToJu7wgYNtkrcxj+5xquZqKJsyJIaUNHP65yE3k6hZfv4UjqUr9SjTBCOygwMDLh44MeQh8J50VTjL5hjMx50oLrh6/M0PuPbSvIXp0atpiAkq6cHaASkBlDyP5oFYwV5uMJw7LgNeXmn4VTHiWm67P9nDIhp5aHQsj8jb/eIV5vtwAn+bVjFQKSX6W11qORlkluuR+Y2IdloZlrBHxxAbdQsPrKojY6taoHEum2Tsf52gW2uZjsdqntvMLVQ== 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=TpzgRNvjxHeovcAY7i0Xsqpdfxaso7TOYlZaoNPGdcI=; b=QYtHfB9IJM4HKDlwzgSFrE5KhixHFUpPyrjBTISXQvRSOQZMiQddCf6vNeCN4VEo+5b11g/hGfNXP87OMRTKQ+mY2eReXhHPW8SvE5DSJBO0QeuZMRnDxuANmO+7srTz2tK5fP9arr5jPT0wgAFdXPS5jAs+d1pHIK4oYxZdp1KfVsjrxpX/jXFy/1Hu989sgrKh8WCKMQdtFP+f8wbP2gZhZnU+h1FZg9YmKX/uwKJkzqNLuIU1wg9uvwOEcjsruZqkHmQBPY+ZMXBkzFS2OA0dacatsO7nx3Fh1CiccQGS4JLnRw9V2VuEeVUaZVPtcVYYhSRPHJHK/stNRQZzOQ== Received: from BN9PR03CA0794.namprd03.prod.outlook.com (2603:10b6:408:13f::19) by CH0PR12MB5041.namprd12.prod.outlook.com (2603:10b6:610:e0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Tue, 31 Oct 2023 09:43:18 +0000 Received: from SA2PEPF000015CC.namprd03.prod.outlook.com (2603:10b6:408:13f:cafe::5f) by BN9PR03CA0794.outlook.office365.com (2603:10b6:408:13f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Tue, 31 Oct 2023 09:43:18 +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 SA2PEPF000015CC.mail.protection.outlook.com (10.167.241.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19 via Frontend Transport; Tue, 31 Oct 2023 09:43:18 +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, 31 Oct 2023 02:42:59 -0700 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.986.41; Tue, 31 Oct 2023 02:42:56 -0700 From: Rongwei Liu To: , , , , , Subject: [PATCH v2 0/6] support IPv6 extension push remove Date: Tue, 31 Oct 2023 11:42:38 +0200 Message-ID: <20231031094244.381557-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20230417092540.2617450-5-rongweil@nvidia.com> References: <20230417092540.2617450-5-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SA2PEPF000015CC:EE_|CH0PR12MB5041:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b9032b5-bafe-4647-fe65-08dbd9f5d022 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kkO0WMzEh/uxVhgEbVORdPpizZVYK4aFiREaMuGGnZY5NqvIzJO8Cy1z/6yX26qc/eUpCcrt+T2OciXLstUFdaUWfq1+/CjSkLtOwxBPviiKeaNV96tCXh4LQpDMOWKDQDYE7ikuQVMRDKsceUigZBO7oz0eNXdaxZIW2TpoRv09QDnmSb4VCwn3LhJ3zDpXtSlQv4u7Baj+S8Iz+J+Kylj+UQ/GDqVuJauyCmVWAMhjn12Cyfkvvh7fckSo7bZYMD2LS7a2PJQk9Dw0YkYCR7H/e2SSQZK8Ag70i0t/n8BwDb7gOW3/rzNjCefCxGVyjelDblUV8ElTDg/LANRLfAHSmhgYa1GTDb+GjEiM6XCjF2LZX1Sc7Ne+xRUSiLGrQ7r6xjMqTQyqCycBz4m0Ekly6tO+Qwl2QX3W+lWKhzV0S1lk02PkIxP8LJyY6B1zP125f4flKQbakTFR0hfos7VUlsLiD5CRMHjTUs49Mh4UyyHS4VGFIKy0dwxEHYvvvEAHt5OS8mojrZPuDxqPv0G9bGRTA2sQIW7srIRxxo4nCCOCMLzCw5gVT59XtjaIqAhbCxbJStnkvClNczNeXvOosTkeJyDMLPo8c9K6tqTMwFRh2npxfOkId8ov+5pdyhR63SRSs2xhZDSrHaw7oQQNlNnIdBGrdPQviOCzYwNY0hUZ6iYwOe/a2baFEYhn1vO/ZpJGmjoXKIaCZ2NYoQjP02pwi8Tn0PIGmTlzkxs= 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)(4636009)(346002)(136003)(39860400002)(396003)(376002)(230922051799003)(451199024)(186009)(1800799009)(82310400011)(64100799003)(36840700001)(40470700004)(46966006)(47076005)(83380400001)(7696005)(6666004)(16526019)(2616005)(1076003)(336012)(26005)(426003)(6286002)(82740400003)(86362001)(36756003)(7636003)(356005)(36860700001)(2906002)(41300700001)(5660300002)(478600001)(8936002)(8676002)(110136005)(316002)(70586007)(70206006)(40460700003)(55016003)(40480700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 09:43:18.3976 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b9032b5-bafe-4647-fe65-08dbd9f5d022 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: SA2PEPF000015CC.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5041 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 Support IPv6 extension push/remove in MLX5 PMD. Routing extension is the only supported type. v2: add reparse control and rebase. Rongwei Liu (6): net/mlx5: sample the srv6 last segment net/mlx5/hws: fix potential wrong errno value net/mlx5/hws: add IPv6 routing extension push remove actions net/mlx5/hws: add setter for IPv6 routing push remove net/mlx5: implement IPv6 routing push remove net/mlx5/hws: add stc reparse support for srv6 push pop doc/guides/nics/features/mlx5.ini | 2 + doc/guides/nics/mlx5.rst | 11 +- doc/guides/rel_notes/release_23_11.rst | 2 + drivers/common/mlx5/mlx5_prm.h | 1 + drivers/net/mlx5/hws/mlx5dr.h | 29 ++ drivers/net/mlx5/hws/mlx5dr_action.c | 621 ++++++++++++++++++++++++- drivers/net/mlx5/hws/mlx5dr_action.h | 17 +- drivers/net/mlx5/hws/mlx5dr_debug.c | 2 + drivers/net/mlx5/mlx5.c | 41 +- drivers/net/mlx5/mlx5.h | 7 + drivers/net/mlx5/mlx5_flow.h | 65 ++- drivers/net/mlx5/mlx5_flow_hw.c | 282 ++++++++++- 12 files changed, 1033 insertions(+), 47 deletions(-) -- 2.27.0