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 4F3F2A034C; Wed, 21 Dec 2022 09:43:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4197C40A7A; Wed, 21 Dec 2022 09:43:35 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2043.outbound.protection.outlook.com [40.107.244.43]) by mails.dpdk.org (Postfix) with ESMTP id 6EE5740698 for ; Wed, 21 Dec 2022 09:43:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DRzjE4pOZyGFPtdzZWXpJUCyWuEsa9MW5/KixGa8S/mw7rh6nQr2aiU1FSjiohSl1jwv5X/3+0SmC3mEt4Vu+XYFHunF5dKnVdRz1zweC8ewCHcEtLdUXAn0e7q0i3JEG/ZV4kzUFl7TmeuwEOj4sryFMbhHItmbb4vJ5EJ5/ducI5H+2eYKs6sVcrEm40vW/OgE4NfcqIzJjhLdR/P3zBgTqvk8e6ay5TwDQ2JXjEIgKYsPd70827Tg/KNPTFcTM7lfOyNekh9yW6a7LK53+kBx6beH+1FkHscSGasROkQyP6tc3ZAyiAyVsvEtJJZtbYOCBNOv5elnwC1Kxr3p6Q== 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=o12Ac8Yfyk8znJDx0HYYfvPXd4FUfpbP5RAwRflZoLY=; b=ebzeR8+d1k4JGwyhF9GidzfGsD5Ex+MX1Nu5V6g9vcbSDlY305W4UKE8yA1cMf1yQk6bkrAbBX+j2YGBhZ7UY1Ch0RrzvuR6dDzY+A5zHsqAOfq5pnAhvq5tynAsOBsK6oLoCyt1FFGJt4bzwf6OJ8k9zfpbuOYrA0mkQfYI+YKUbVKsGh4ddRVpDJGIIE1nAOolSS/phHNRzV5UbpUcdJOwYy+A1G3FZfs/5Xo3iZjp8rhF348xepeB5stUx2aF4HKxMfLdZLrpqPXfjlhbEQlZvPDSHACykSDkoKsqtwyuf5IXYWC8hflmPQaCvlHWDtZrUj3vcctfTzveosFfFw== 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=o12Ac8Yfyk8znJDx0HYYfvPXd4FUfpbP5RAwRflZoLY=; b=pVWejp1s4fV7T/vyEki6TNDdugf6RC2nBmWDrcP5nnhjCgo2SS5cFw/BmpSuZxhx9f77rw92wbviZppynN0iGxYGy3/QOZGxedKWvhrbHpGGsc8sDhAC/+X/ARFuUw04K30FRUamm658F+weh28rZZNGxMkL6+qUR9pUOs8FrCaeK32S8Da8VsAazfj4JeLa0yEp0IuaIUa9/cjyzfi+AVREMt7xauuCW1PHNBVkcmLAA9zZ6099t5scp9rTdUiMu6BjShAw5DcuWCbJB8duDUBCb++R8n4W2ed2Pl7L0vVpabTi+//WnNs8fXcNeav6MyNgoOsUJZ53a0tW9IThIg== Received: from DM6PR07CA0118.namprd07.prod.outlook.com (2603:10b6:5:330::31) by DS0PR12MB8413.namprd12.prod.outlook.com (2603:10b6:8:f9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Wed, 21 Dec 2022 08:43:31 +0000 Received: from DM6NAM11FT011.eop-nam11.prod.protection.outlook.com (2603:10b6:5:330:cafe::54) by DM6PR07CA0118.outlook.office365.com (2603:10b6:5:330::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.21 via Frontend Transport; Wed, 21 Dec 2022 08:43:31 +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 DM6NAM11FT011.mail.protection.outlook.com (10.13.172.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.10 via Frontend Transport; Wed, 21 Dec 2022 08:43:31 +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, 21 Dec 2022 00:43:19 -0800 Received: from nvidia.com (10.126.231.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, 21 Dec 2022 00:43:17 -0800 From: Rongwei Liu To: , , , CC: , Subject: [RFC 0/9] support ipv6 routing header matching Date: Wed, 21 Dec 2022 10:42:55 +0200 Message-ID: <20221221084304.3680690-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.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: DM6NAM11FT011:EE_|DS0PR12MB8413:EE_ X-MS-Office365-Filtering-Correlation-Id: a3751ad5-6397-405d-fcf0-08dae32f7054 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: Pg9OfhB1Suf6zaRctdwrIjux1tH5JlBxH1ablv1PpwCE/SFz1RFSX0jFv4oHlr8wGHKluw/Mj4dkeBfGESx5h3akYuobNi9vEy2G9wSsg/ej3IV6IO+T0F/jUFunIl1xQ2MMKaPJoeBqPc3dCCgD+1nRs3bXReZyHzMbrBEayNdop4G7K2t1kQgjwm+rj+NxbSdR/eFbmxM4GljtPThejvva/E/BUSKLtbDAQa1VkKqAb9EeGVZo77ueB1l4fXrWWVy3NHMXW0klSDPDFvkLM+cLzFi4fRlWWQeXnykomwpcYzDMNI+tUeWpsWwnKnJKxOvCuiSn56DsrRK+MuEnMz66watTMrCvfajCVX3k9eYGf6Qwn57mj+6euJqzxhsVsWcD3baUyQ8/fPSYz5pJdoHLWwoZdwTmpVM3N7dGVlQfsKVrsUYRDktfnZn4n+ThcDQOn9YK9kCcKvlaa+srm0U+oFacvhyNnir7+Un8Pn78WEJlbE3rPFB123xvYw1dpcyffJOtXLdl9NqfMgccHVpD2ZBRocNZGNRoMBdbcxmK2FvmmT8VZX/cipFHe25H2U9wHBFcGozm7k3Mc2HFpMu1F8ryCSyTWwJz/nxSQoF69v38/hkNQc0/s68IAoKboK4E4fmDjAJztz+CrI6x3Ufopx7hJRyM6j9cH8aIZB95G7gAeypoPf4W9Ef1dG9O0+270LimtPw0GGzZB8NQqw== 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)(136003)(376002)(396003)(39860400002)(346002)(451199015)(46966006)(36840700001)(40470700004)(36756003)(7636003)(82740400003)(8936002)(86362001)(5660300002)(41300700001)(83380400001)(16526019)(426003)(336012)(36860700001)(2906002)(47076005)(54906003)(8676002)(110136005)(55016003)(316002)(356005)(478600001)(6666004)(40480700001)(107886003)(70586007)(4326008)(82310400005)(7696005)(26005)(1076003)(6286002)(186003)(2616005)(70206006)(40460700003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 08:43:31.2370 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3751ad5-6397-405d-fcf0-08dae32f7054 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: DM6NAM11FT011.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8413 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. Rongwei Liu (9): ethdev: add IPv6 routing extension header definition app/testpmd: add IPv6 routing extension header support net/mlx5: adopt new flex item definition net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data 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 app/testpmd: add modify IPv6 protocol command line net/mlx5/hws: add modify IPv6 protocol implementation app/test-pmd/cmdline_flow.c | 61 ++++++++++- doc/guides/nics/features/mlx5.ini | 1 + doc/guides/nics/mlx5.rst | 1 + doc/guides/prog_guide/rte_flow.rst | 9 ++ doc/guides/rel_notes/release_22_03.rst | 11 ++ drivers/common/mlx5/mlx5_devx_cmds.c | 13 ++- drivers/common/mlx5/mlx5_devx_cmds.h | 7 +- drivers/common/mlx5/mlx5_prm.h | 23 +++- drivers/net/mlx5/hws/mlx5dr.h | 21 ++++ drivers/net/mlx5/hws/mlx5dr_context.c | 81 +++++++++++++- drivers/net/mlx5/hws/mlx5dr_context.h | 1 + drivers/net/mlx5/hws/mlx5dr_definer.c | 144 +++++++++++++++++++++---- drivers/net/mlx5/mlx5.c | 15 ++- drivers/net/mlx5/mlx5.h | 13 ++- drivers/net/mlx5/mlx5_flow.h | 3 + drivers/net/mlx5/mlx5_flow_dv.c | 10 ++ drivers/net/mlx5/mlx5_flow_flex.c | 14 ++- drivers/net/mlx5/mlx5_flow_hw.c | 39 +++++-- lib/ethdev/rte_flow.c | 15 +++ lib/ethdev/rte_flow.h | 40 +++++++ lib/net/rte_ip.h | 21 ++++ 21 files changed, 500 insertions(+), 43 deletions(-) -- 2.27.0