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 046004296B; Mon, 17 Apr 2023 11:26:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E891840698; Mon, 17 Apr 2023 11:26:10 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2071.outbound.protection.outlook.com [40.107.93.71]) by mails.dpdk.org (Postfix) with ESMTP id 64AE540144 for ; Mon, 17 Apr 2023 11:26:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j1/bmlcyXfsAX+h+zyB0rvYva/1bfk31MRdH68fEzqk8zbdlRs1efPcH4LlDCPRA+wUFYdSbSIUCk8rFMi5L7mf18vnopWmZQvJBLHWkc9k2WIV6v4TBEI3y9DaPB0aundeMcM5eIF/3/gO9ty0HqfKXbunZ4ZfoXca7MQdTfTUU3gwuaslNdnUUcZyd66omYHEd7NrS00spclfYMtR1Whn7a6d7P3cpjmqxDlOXpFOjWt/Uv4woYUAZM/q9XTY5w7S/PKj7cgMwf2RBz6WLy+2aQEbkovSRiMzMZ1nWQfe/IuXGWW/xxxKsrdmESlo3YTTsD7rtuPj0+eWFl/sM0A== 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=jfmG7CSzG8y9S6GkdNXBYZTr0u6BGqw7ByDWFrf6PE0=; b=kobv22Ub4AC9iDWP0Cg20cbTBPiypvOmNAwfyb8V0v00wIIvU/CLxLFbcQyegZ9h8mpErxHwTN06FXmvJRd+O/RcJuOigP3CQWSXbF1eQulyCaxu3Jjy4hd71ARrPEg9ZZx0fdUQiVRGfvohM2hT4JJcurGSYW75WpWUjLpHpjf5cHXsjpUmfzWznKOhKQ9BGQG9tZGhR8Y1tStIomBhSz9dWFtEzTeezqQHRNaVhnthphNpFCBD9kUQ3g1GD8zRJXLbcS4kO/DgjItXuUYlbNUvSXsMTP/gVTR+0YtBZcXYuN30O/vzbbh7+4Ec+6TatkRXr3zocJEzlsLqbH7r3A== 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 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=jfmG7CSzG8y9S6GkdNXBYZTr0u6BGqw7ByDWFrf6PE0=; b=MJ3kVmA/LlrAsege0zxqg+56TLuPFxrrHRrDhTV2lpnklO73W69RhcW1Jsotac8Ob/Zqn3Bq8RCfIrtyXTzMwBLH/BAqzh9Spy+Rs+Im8OyYCwCbEH+0GjKkuI05HJrHnRtR92OU1BxU1KhsmIRBFfysekFaw+znOqRW5f/F9l/PWA2hXFZJP9svYRM32KNVNMYH1snJ5Co324sM4GjiOcQyzdLKpoMKhPNTfcwWVP/AQ+fTwG2LllCL0lH1sPpldhILCsKjF1DjqUP96IzzwIAroMIYCaG/HucG4U7baQ5Bz2BpuDfisgrA3Ufz6o60oHp1MOTL2Pk7YarIw8IdpA== Received: from MW4PR04CA0207.namprd04.prod.outlook.com (2603:10b6:303:86::32) by CH0PR12MB5217.namprd12.prod.outlook.com (2603:10b6:610:d0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Mon, 17 Apr 2023 09:26:07 +0000 Received: from CO1NAM11FT063.eop-nam11.prod.protection.outlook.com (2603:10b6:303:86:cafe::cc) by MW4PR04CA0207.outlook.office365.com (2603:10b6:303:86::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.46 via Frontend Transport; Mon, 17 Apr 2023 09:26:07 +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 CO1NAM11FT063.mail.protection.outlook.com (10.13.175.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.19 via Frontend Transport; Mon, 17 Apr 2023 09:26:07 +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.5; Mon, 17 Apr 2023 02:25:54 -0700 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.37; Mon, 17 Apr 2023 02:25:52 -0700 From: Rongwei Liu To: , , , , Subject: [PATCH v1 0/8] add IPv6 extension push remove Date: Mon, 17 Apr 2023 12:25:32 +0300 Message-ID: <20230417092540.2617450-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: CO1NAM11FT063:EE_|CH0PR12MB5217:EE_ X-MS-Office365-Filtering-Correlation-Id: 2a40519a-298e-4045-0053-08db3f25c65a 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: YBywMLKScMmhK0PCEO+cCzKDTCpk0DyFM/ZSNbGuR9b3jam5ZRVj0wzFybrDeQKCWNWcYFpjC+EY5z3RTEeBliUeA72qEBO7kMZcXdAQ4PPQqkWaL8n8tWr5LguCsgeuIgyjDPGB/o5ZaurY1q1eMSx8nDu8NHHDeTW6OUB3lJjiXc/xwijw1tpL7oktIGip04nsPUC5+BK6ZtaQ21ZamyYRdOh/3jMvhpETYIsHsrXLYxDKbt41eoQWlAZSLvY86KfrZ0VB0QH7z6YE/WdESg6mGt659dELFoFaq1Py3R7EnHE94w65dDJ9Z1hYm3yJuva8KtRyMZMM5XV9e2flTId/9LM8a0r3WSrd3GjHaQOZLXmCKywhas1ymHyhD0uhj3QO1LePaJtsjGcqgV+LhgSzP3pHezcyeTmM0QPYJYjt7+K3a2KEv7HnaeCtMSu5OrrTQH+fEu5/F78EMOVfndD1cZgpYgCYrr5N2tsdGdUdIXSkrk7nqC+9ct+SFz2czSVrrhnZcKb62HCjNt9Evz6lgbgvQMuTasNgPsSn5KNmE0V28MPWACE6a3UBSqUik8UKFEXCtfkFXbs5JQPs5wRRJFoV0S5xgW0lkcK4gTNsYIpHVATvFONfU5bxnSqGmHhVu6c4nzAHkBBmyMrGlUArQe+1573YetR/axgmNiGfhRzylvs0MCiuuy2KwFHf04lch+0n++t+rDpxMA5AzqayYZ+Vkhhdw6CnZcKpVEGA/6A5PRrCew683pq81NJm6Dt5AkSrOc5JKJw+3+83hlPaoFTTCdhgZfb4wk11A3k= 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:(13230028)(4636009)(396003)(376002)(136003)(346002)(39860400002)(451199021)(46966006)(40470700004)(36840700001)(110136005)(40480700001)(55016003)(34020700004)(7696005)(6666004)(478600001)(41300700001)(356005)(83380400001)(316002)(7636003)(82740400003)(426003)(336012)(47076005)(2616005)(36860700001)(16526019)(6286002)(186003)(26005)(1076003)(70586007)(70206006)(5660300002)(2906002)(8936002)(8676002)(40460700003)(86362001)(82310400005)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2023 09:26:07.5621 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a40519a-298e-4045-0053-08db3f25c65a 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: CO1NAM11FT063.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB5217 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 Add new rte actions to push or remove specific IPv6 extension header from the network packets. Rongwei Liu (8): ethdev: add IPv6 extension push remove action app/testpmd: add IPv6 extension push remove cli net/mlx5/hws: add no reparse support net/mlx5: sample the srv6 last segment net/mlx5: generate srv6 modify header resource net/mlx5/hws: add IPv6 routing extension push pop actions net/mlx5/hws: add setter for IPv6 routing push pop net/mlx5: implement IPv6 routing push pop app/test-pmd/cmdline_flow.c | 443 +++++++++++++++++++++- doc/guides/nics/mlx5.rst | 9 +- doc/guides/prog_guide/rte_flow.rst | 21 ++ drivers/common/mlx5/mlx5_prm.h | 1 + drivers/net/mlx5/hws/mlx5dr.h | 41 ++ drivers/net/mlx5/hws/mlx5dr_action.c | 524 +++++++++++++++++++++++++- drivers/net/mlx5/hws/mlx5dr_action.h | 5 + drivers/net/mlx5/hws/mlx5dr_cmd.c | 5 +- drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + drivers/net/mlx5/hws/mlx5dr_debug.c | 10 +- drivers/net/mlx5/hws/mlx5dr_matcher.c | 80 ++-- drivers/net/mlx5/hws/mlx5dr_matcher.h | 12 +- drivers/net/mlx5/hws/mlx5dr_rule.c | 65 +++- drivers/net/mlx5/mlx5.c | 42 ++- drivers/net/mlx5/mlx5.h | 31 ++ drivers/net/mlx5/mlx5_flow.h | 40 +- drivers/net/mlx5/mlx5_flow_dv.c | 386 +++++++++++++++++++ drivers/net/mlx5/mlx5_flow_hw.c | 268 ++++++++++++- lib/ethdev/rte_flow.c | 2 + lib/ethdev/rte_flow.h | 52 +++ 20 files changed, 1958 insertions(+), 80 deletions(-) -- 2.27.0