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 C626943251; Tue, 31 Oct 2023 11:52:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF2D3402E6; Tue, 31 Oct 2023 11:52:01 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2056.outbound.protection.outlook.com [40.107.101.56]) by mails.dpdk.org (Postfix) with ESMTP id 170A0402DE for ; Tue, 31 Oct 2023 11:52:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XI/0PBeN0TFKr3GcSV2UIsslafSG/bT+p+ANyRU88cr8Bx/lziLtdgMFIVoLEk0FFNKgCM9ta9VMNZSj4QatP4gNjagE9mvvCcCQfBF1R+i+oDxOzqRpOASZ70xp3a1o0T/4cwoQQQIzSjZnVl/s+4UWyIa8EpKiuC5H+gctKF8qQtNj3rFqjdzGz9oMrgRaXfIE7kP9n+YypN/HaDyjhnh7hPg436JL2otyi1Ntw+n9eZHuxz4lXFvoAC6d09rh5kPY/SQudqWC2c+g0AftDG1+xuRUEnT3771ASb2sifs+zL59rd01umb3ohGDXX6TqqqVFMbj4IIzDYamMYUBfw== 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=i8yJ6zopUVVYwVQZJpxlH0XPC6iV3o7EY5mOZSAazHU=; b=Au1Skc0chBLsRcTsTTCiqFQOhXORE5YcReLXdtBZBi6N+TufczllnWqQGA1AyJev6s+boKcv1UMGy6zKMjYgq/N8MDy7G2QIaWBmkiPn6ZAGVFalkfQZnk7PCKU4nez/jRa6Vf9yuKxlTYdWW/6JL2JPuQWxUIpl5HsWpzL49svEQE2ZbiaUGPDWp27cWEfOaMi8dUlr3uzhyJjA8iIDweccWLSGSQWYBUz6MZ9NONmySInwrmEX6Pic3PXuOazAkZR2ZJq1t98AY/GTWbM9STNXISw4Fajc/YSDHG3Lg7tTRFVZGGOlGuUGrxrYTX15/r0VEkoYECWt3IX3sPrw3g== 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=i8yJ6zopUVVYwVQZJpxlH0XPC6iV3o7EY5mOZSAazHU=; b=rp0DAvdmcrX/BKZqgW4ruy2E8OdA/S7TNooSYnpi5c2owFpO57ClVxJX99rNyxjYacS7kXzPyfeQlxfdEXV6SvN6b7Ks2CcALGQcdR5/jcSUpNQ+/QRdYHzC+YB81ZFVI6ey3AjMjSOURaNGb1YixQE+P/uaxrP6n2iFvL2g3kTfW6ueOxbpgpw9tk+Yy09zLJCtn86B7zKMjYSBh0zjsiseoID9QYayxtVUDCJ1xL/d2eyOCENG+5LHaW2V5uscA0hYtuV+5LfoBg/qFs73dWkbIANiUazF9+9xP9P3zlOs4HPi122CvRlz6R456CxhVByvNlZgy4K9gtYm41P2dA== Received: from SJ0PR13CA0211.namprd13.prod.outlook.com (2603:10b6:a03:2c1::6) by MN0PR12MB5785.namprd12.prod.outlook.com (2603:10b6:208:374::17) 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 10:51:59 +0000 Received: from CO1PEPF000042AE.namprd03.prod.outlook.com (2603:10b6:a03:2c1:cafe::4a) by SJ0PR13CA0211.outlook.office365.com (2603:10b6:a03:2c1::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.17 via Frontend Transport; Tue, 31 Oct 2023 10:51:58 +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 CO1PEPF000042AE.mail.protection.outlook.com (10.167.243.43) 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 10:51:58 +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; Tue, 31 Oct 2023 03:51:44 -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 03:51:42 -0700 From: Rongwei Liu To: , , , , , Subject: [PATCH v3 0/6] support IPv6 extension push remove Date: Tue, 31 Oct 2023 12:51:25 +0200 Message-ID: <20231031105131.441078-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20231031094244.381557-1-rongweil@nvidia.com> References: <20231031094244.381557-1-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000042AE:EE_|MN0PR12MB5785:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e6f63b8-cb6c-4b16-3113-08dbd9ff67ab 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: tYb7R9VExkf/lv0sFC3+wFzn7sefVTr3i9NUA832aYxt0BCYm5WUnTriQsToJEHVveu+BNhZC97vzBOdVTrSiv4TzpYgoqp1vn+LmgI9slEIp3nm6otrUiUx4WLl+XBYgg7kRg+sdKv0vyftCV4kJR7kYGPRW4X9Bhc1ZOAqDwWDC6We/lTmE++lqBQPXFiQFjXWOqhISJiebTAQ4EqpuT/OnLym3NnXoqSClbbvueo4sPoFkmXctzuXAoQXwHwxrkgwXlRcg8otJxGlFPZHSL/WcW0Hkn0WgJDIdmyOJdWP8nEw4joF/Lc2wxAJeGTGijwzR1GXCK7DR2Dp037l4EhcV0u8bM3nrfd/8HABPVfAdhNjXHxROXt0oz/dxd98BF9Ty7ZSQ6Titf5XZPdX7MLQRdGDi5NB/5k1TKaZtg2MJDJ3zMcic0E2V7COVkgGUIFhNY31gsviE8ezU+0i+VrYl/CcF6fgTaX1IMZAjmtBjr+7RKNcHH7AJHbEz02DYXMF2ncBTyv0l+OE2hYVGnsIB+f/wDdf2VVwtz8s/Eq/YDaTTSg7c3V2F7TSeJwFGSfnGgZ9mSZXMaIROhfmwSNerlwgmfCDAcd0DkJYf9IdZpdGswWIufQmgSd5zXNwGqLqXf1v9r93Zp2mNwFsDywvxMStzC7mWtSvIDTCB3ipoE2u2k2DQsQpjZT4shpohxHoRCPRzUPIS8QxOLWvkawrLOsvCYhK1X7Taz0//8Y= 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)(4636009)(396003)(136003)(346002)(39860400002)(376002)(230922051799003)(1800799009)(82310400011)(64100799003)(186009)(451199024)(40470700004)(46966006)(36840700001)(47076005)(316002)(86362001)(2616005)(40460700003)(1076003)(2906002)(426003)(336012)(83380400001)(26005)(55016003)(16526019)(110136005)(6286002)(70586007)(70206006)(7636003)(356005)(478600001)(7696005)(41300700001)(36756003)(6666004)(8936002)(8676002)(82740400003)(36860700001)(40480700001)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2023 10:51:58.0654 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9e6f63b8-cb6c-4b16-3113-08dbd9ff67ab 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: CO1PEPF000042AE.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5785 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 actions in MLX5 PMD. Routing extension is the only supported type. v3: rebase. 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