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 898F3424B9; Mon, 30 Jan 2023 05:00:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 19DD540EDD; Mon, 30 Jan 2023 05:00:08 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2078.outbound.protection.outlook.com [40.107.93.78]) by mails.dpdk.org (Postfix) with ESMTP id 513B340A8A for ; Mon, 30 Jan 2023 05:00:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SM0gaDey1Q+gQITvJFpGHSmdZGGZBt+t8RUqA9HpU6CjuM6iuw5li2vBAauyJTs6ia5/hEw11Sl5JJG6cz/KTXGGnTq12IFfxq9D8+/4IKzOtafMayA8BA4a+m3PxB0RIba0RSxk293JK49ic7J+MO8PFxrMj/vHEY55y/0jB7wpu4srcuLcpwzYucLbI6o9Bf5ps9Tprihj1jsfJCVYNTySZGhgFTbhhZx1Kr2+shrDma0fOuiOO3h+Ds4ixNQiQqZkYQ0IEI+tExPrsMVNm3LNkjWEPn+R489nhLbvwBrrejRsEU4SS6VD968WZLnvgp/3ayftHm//TCISuk3+yQ== 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=WXGDriSpz4KutBTqPKAO9T8on4bgGJjMPPGF+ZbqeEY=; b=n3dMGKf/v65azD/a6NOo6bjPl1AlrwRwKA67n/YbpeVLTFR4jCCIuslH5qQ2CDHXoHZRFJNANnaj1AJhMFYH40yjMtvMNNgxYAeXKA5LrGkX/JAcTftTU9onlJeeUrBzeApHubNYVjKn2Mu8nj3eQtY/g7b04kWrEvlMnFIFrn1KUcwV5VduUHlJiZEmtgplsz6dUyHYHqe+LrvKPJs+W4noPLIW3H6JiZ6Dcn6NrDUNDhkRJjXI0sQQaVc1kqLHZEZm+Op6YjGcgiep3hiI3/739LyHa5VfMSqpHBfEYaMLJ8za4n5J34TJTsZhlzN9fd/0jYvwlpgAGJ5CRiAuFA== 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=WXGDriSpz4KutBTqPKAO9T8on4bgGJjMPPGF+ZbqeEY=; b=Os0ZRNgyVSUWXqhbMp0VDcaar859E5kcwA9RhhV+T2RkI/C9jioIrEMelyfqcdjU6ow0XDQytYqdU9ZdgGiANkUNAVLRjrkYEM+hi6V+ChFdURHmvQJjJhB55QfkYly3MK5kZ8XmMEXGf4APZiHhEQXar8sBdGkAYlz04Baox7nn3tUU+jDuxRY29SRGk5CY8xiqVyx1+IvUPjSTt1Dtz5qNfUxkSUpU3ic6pu3NxWurAG3ygj8KCNJJVxuCvySNlxXUDExPPSq3uD8ydpudLaVB3gjpBkeZB2XZfkwxkeKwcD+VF2dG0t2o4rDMSCtajR2UTzcmjzch2ABZy7O0rA== Received: from BN9PR03CA0237.namprd03.prod.outlook.com (2603:10b6:408:f8::32) by LV2PR12MB5991.namprd12.prod.outlook.com (2603:10b6:408:14f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Mon, 30 Jan 2023 04:00:05 +0000 Received: from BN8NAM11FT110.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f8:cafe::75) by BN9PR03CA0237.outlook.office365.com (2603:10b6:408:f8::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36 via Frontend Transport; Mon, 30 Jan 2023 04:00: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 BN8NAM11FT110.mail.protection.outlook.com (10.13.176.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.22 via Frontend Transport; Mon, 30 Jan 2023 04:00:05 +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; Sun, 29 Jan 2023 19:59:55 -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; Sun, 29 Jan 2023 19:59:53 -0800 From: Rongwei Liu To: , , , CC: , Subject: [PATCH v3 0/8] add IPv6 routing extension support Date: Mon, 30 Jan 2023 05:59:32 +0200 Message-ID: <20230130035941.1495874-1-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <5da6632a-0976-dc1f-facb-f778c8aad8e6@oktetlabs.ru> References: <5da6632a-0976-dc1f-facb-f778c8aad8e6@oktetlabs.ru> 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: BN8NAM11FT110:EE_|LV2PR12MB5991:EE_ X-MS-Office365-Filtering-Correlation-Id: 144f136a-2731-4187-7d9c-08db027678a4 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: 0ty5rcQa78utpNtB+QjKWyyhSZ9xC1mraj3RFVs9kzZaI5+RDhCZuRfNghUc1QVNL1hyn5Sk7PlEchhQAQjpj8TFT/ED55Cr2sP+0s7dijRQJj9BiLe/n9jm/1mQoLDpuQ0mUgqz4gOh3V6lS0L4V3C6YB4AVTSpykhsRRc8naVf/W0uoWidK8ts2tHhQfbkFJT++8JLrI2w9h/4Oa0pyKUD2qV2+RPdrd7ERSwJTqCnRVLF4QTrxJE0gCiUwSIvitC8DQ+qUSkJ6eRslM7gStggoA/Vl2EdrrSUjL7O2Jf4OltvGUuNDtpp05i3L8oPMU95GT/C/h9lkrI5/VEdZ+xtkxPb654E74quFUivRiELNWmQ71nfgD01x1Eg/fQSFRKmJnzlsebEbPNw35qYh8oVX3l3+tF94YuDlLqDF6kVXn2DEMUXFwyq7lV8ybXlg/OBJrWsPEqkRL/1Tx2wSCCOrIRZIo2Arde5dF5Hh9IaN/24NWnqCGkFIvKHs157jFPTA0n7q2VF5RUZzVa1fo1WxkJNcfVFmgF/9LmbynOBtn4eG4TK4MzpCRiMGZ56J6mcECPGyShJs0ZBOMsdU3YiCyfR5PjdtreDK+oGQBTwSXbDA6C1nyEochZZQNz/X844uHX8aqTOg6uxtFPkHQXIe7NCpV8oRyN6NuhHE5fKPL5Ai4uJhvWu8XyHL55aOMnh1R+uuPgvYhrK7oQH6w== 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:(13230025)(4636009)(346002)(376002)(136003)(396003)(39860400002)(451199018)(40470700004)(36840700001)(46966006)(8936002)(41300700001)(5660300002)(36860700001)(47076005)(83380400001)(426003)(40480700001)(55016003)(40460700003)(86362001)(356005)(82740400003)(7636003)(36756003)(7696005)(8676002)(70206006)(4326008)(70586007)(316002)(110136005)(54906003)(478600001)(2616005)(16526019)(6286002)(336012)(186003)(6666004)(107886003)(26005)(1076003)(82310400005)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2023 04:00:05.4468 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 144f136a-2731-4187-7d9c-08db027678a4 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: BN8NAM11FT110.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR12MB5991 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. v3: enhance the format and use be32/be16 in network header structure. 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 | 9 ++ 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 | 19 ++++ lib/ethdev/rte_flow.h | 20 ++++ lib/net/rte_ip.h | 21 ++++ 20 files changed, 517 insertions(+), 41 deletions(-) -- 2.27.0