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 A3711423CB; Thu, 19 Jan 2023 04:12:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45D1A410DD; Thu, 19 Jan 2023 04:12:10 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2078.outbound.protection.outlook.com [40.107.220.78]) by mails.dpdk.org (Postfix) with ESMTP id 9287B4068E for ; Thu, 19 Jan 2023 04:12:08 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LQglVLHmU5MpwH6Jz6WHY6VjZNfoA8VGSGJdqcgdYzbkbBzb26H9p8pJTFNwLsluIwGnJ+kplsZVqgCb7KGGEOMsaxAIwOwVDE2B89Vgeh5xuhSMTIZ10vJZHhL0bcwjFd3rL8PwNNmJt0XBEStEm28ZqvjnWt5wU5vwTO0iU01LSU8UWKA3hz9Hp7E+lmsabWMjbZzqGE4ks+FddP5TiRpQAr0Is+Idm39XcD8HUCmdrfVgEs2rtsmHd2+k0GrhNpGFJfssOue3S1W2QkrX+SGFhIphbx9w7JEtsyTEFQ27OYX+p3HQMluFGlZIBtlVQJ9NnEwZathStzq0c+earQ== 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=hSXTAilCbkCy2Y3p2Es4pgFrSV1oIDvpmP5I9/kRpek=; b=NpyGCd3bAwp1JXeNB+PSC9sDRBehSkWTl4PuP1ktTiq97GT+/X77gzxn3xTLgjhpQ4ZYfTWWDAd1ejRCaJ2qDr23MPKe7iVe+vq5lg0Mq3/H56tzd382PvVirSTTDE3VnALqs8D7erLxl2q6dm20ti/iwH6Lro46O2/OIacP5970gAa7Gfprl6LhtAxd+YggFq0Kz3xoSlHU7rRUeEifEAwpNF7//t/yl9r2IkFtLzBhApiFUiqFZNXUI+QYOwfLyjxVnt8vfUUUp4upi5soJW5Iib6jvxWv9J3SzTRdGUKU/7NOz7vvT6VabT1lELtNglBjX5jIWaPZ8QEI+ESVBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=monjalon.net 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 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=hSXTAilCbkCy2Y3p2Es4pgFrSV1oIDvpmP5I9/kRpek=; b=pbDvH+Fb6kj7hHvpTcoFAHIEMO8cViL/ZecGjArFLa2kOsoH2FtBk47sjxHZKCcWNp83HQM6u0eIisml+VxOlwzv9+JK5gS8XM6AYgQ1KAoru/NlkU35wzD+pD50mjc292K0Dt09vmL/ERLkinDm0iUyeMhxLV7sBMrFgWEXIhelGTzKWnblN2Hgoql8FAL+Hh7jidyBeFd1idWEJbLfq79oS//L2e6lySMaURV1QwsD9p9f6zot0+Cekws92RIJmz9am2fXL/ZtkpJoe6pAV54CPXTtt7+bldwD78+0eldOA6s06+EF8K64UNSXXdfv9J7VytigT2/sweEbYVIpcQ== Received: from BN9PR03CA0987.namprd03.prod.outlook.com (2603:10b6:408:109::32) by MN0PR12MB5835.namprd12.prod.outlook.com (2603:10b6:208:37a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Thu, 19 Jan 2023 03:12:05 +0000 Received: from BN8NAM11FT103.eop-nam11.prod.protection.outlook.com (2603:10b6:408:109:cafe::ae) by BN9PR03CA0987.outlook.office365.com (2603:10b6:408:109::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.19 via Frontend Transport; Thu, 19 Jan 2023 03:12:05 +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 BN8NAM11FT103.mail.protection.outlook.com (10.13.176.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13 via Frontend Transport; Thu, 19 Jan 2023 03:12:04 +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.36; Wed, 18 Jan 2023 19:11:54 -0800 Received: from nvidia.com (10.126.230.37) 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.36; Wed, 18 Jan 2023 19:11:52 -0800 From: Rongwei Liu To: , , , CC: , Subject: [PATCH v2 0/8] add IPv6 routing extension support Date: Thu, 19 Jan 2023 05:11:31 +0200 Message-ID: <20230119031139.621217-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221221084304.3680690-2-rongweil@nvidia.com> References: <20221221084304.3680690-2-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] 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: BN8NAM11FT103:EE_|MN0PR12MB5835:EE_ X-MS-Office365-Filtering-Correlation-Id: 2acb6a42-e0b7-4c8f-835c-08daf9caf133 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: VadrKRKTBiEUuBrPvXENx6lAlIR6Pnju+BVQkoz1kvfI8dsi2rpluh/Gw3RSHHQaJiQ8AfHz8Skr850dBLYm+naYCsfdbp9oBrJ3LzN6e7RDOlrZpHhlt+/iiQYWKX7hb8el0ztp2NxKibMWXruCmAdjsEDHO1BC0spbmHujacqp2CCSpiN/5gSNEuHAQoHmUn7Nv/AJeIjrmHx2+Fap3uAB6XSAxUEH/+tEz/QycsEV/H9LsowDd5jpGMFVzV4t08SvlA9k16CJozQeYzeUXCOaRZH5N3KDMUnf/Ir8FL+SJ7NI8KUS0I17KR+pU2zetsn+V7gePFePSdnYlM3sg7/Du0Js4yUKXp82JfCT35MWau2D3zeVHSHwCaIQ4WDLMuXZSfSKZMjsNuSs9kgSLvoX4VZfOYX7Xh+UBcSTrf54Z/qjNfHydmTyP99sCo4GP+6MyS9LQgJRRvJIgsltOdufuJ7fnYzh2gMlTEXsv4xvC70vuj4U5zA8UUq/lBgZHvLeZ4AJIRBDNjVjj8ZsTNc/YbDTHsIVj4yDBlHf6khfEsG/oWRIpA7bIqxMO5kGBQFTE9Wi3byhXK3b1P2C8SOlKnJq0Z68uhbyQym8OLLzrrQKMOcP8rAd+7/cathcvUigYE6AswvdNpsiiYq8JYbiBcm6Lw6QcBOsG1LB88oabeED5VSlIloHFtkTim4Lc6mBL4gdjr93BkeM3TPplA== 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:(13230022)(4636009)(396003)(346002)(39860400002)(136003)(376002)(451199015)(36840700001)(40470700004)(46966006)(40460700003)(82310400005)(356005)(7636003)(36756003)(86362001)(40480700001)(55016003)(82740400003)(2616005)(478600001)(6666004)(107886003)(186003)(16526019)(6286002)(26005)(8936002)(36860700001)(2906002)(5660300002)(7696005)(70206006)(4326008)(8676002)(70586007)(110136005)(1076003)(336012)(54906003)(316002)(83380400001)(41300700001)(47076005)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 03:12:04.9710 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2acb6a42-e0b7-4c8f-835c-08daf9caf133 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: BN8NAM11FT103.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5835 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 routing extension header matching with new rte_flow item. Add encapsulation support for IPv6 routing extension header. v2: remove redundant rte_flow items. include the commit from Gregory to pass the compilation. Gregory Etelson (1): net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data Rongwei Liu (7): ethdev: add IPv6 routing extension header definition net/mlx5: adopt IPv6 routing extension prm definition net/mlx5/hws: add IPv6 routing extension matching support app/testpmd: add IPv6 routing extension header in raw encap ethdev: add modify IPv6 protocol field net/mlx5/hws: add modify IPv6 protocol implementation doc/mlx5: add IPv6 routing extension matching docs app/test-pmd/cmdline_flow.c | 72 ++++++++++++- doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 2 + doc/guides/prog_guide/rte_flow.rst | 9 ++ doc/guides/rel_notes/release_23_03.rst | 10 ++ drivers/common/mlx5/mlx5_devx_cmds.c | 17 +++- drivers/common/mlx5/mlx5_devx_cmds.h | 7 +- drivers/common/mlx5/mlx5_prm.h | 29 +++++- drivers/net/mlx5/hws/mlx5dr_definer.c | 133 +++++++++++++++++++++---- drivers/net/mlx5/hws/mlx5dr_definer.h | 15 +++ drivers/net/mlx5/mlx5.c | 103 ++++++++++++++++++- drivers/net/mlx5/mlx5.h | 19 +++- drivers/net/mlx5/mlx5_flow.h | 28 ++++++ drivers/net/mlx5/mlx5_flow_dv.c | 10 ++ drivers/net/mlx5/mlx5_flow_flex.c | 14 ++- drivers/net/mlx5/mlx5_flow_hw.c | 29 +++++- lib/ethdev/rte_flow.c | 16 +++ lib/ethdev/rte_flow.h | 20 ++++ lib/net/rte_ip.h | 21 ++++ 20 files changed, 515 insertions(+), 41 deletions(-) -- 2.27.0