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 D9AB4A034C; Wed, 21 Dec 2022 09:44:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7CB7C40698; Wed, 21 Dec 2022 09:43:56 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2076.outbound.protection.outlook.com [40.107.244.76]) by mails.dpdk.org (Postfix) with ESMTP id B1FF542D37 for ; Wed, 21 Dec 2022 09:43:54 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bnTAi2ISpJHDIub5Bht/3iuk2Vhg1UrHZ3LtIps0rrrUo72lcsI1Wei0EmJapaxrXldU4sQp97Zmwj4jjSnAYOvHiNwdEbD7EC1x3ZOY1PWeAXErWUusxKL5Kr2FQDecBJcFDmgDKLQXpGuI+YZbVH/PpfaJzZwq+RVDRS1GVqD61iMu58bjyYNmv1McX/1FZxUhXuwTM5W+QCa7FCvkyBX0+O5BFP1ic9TZVKrhH6r7JIaAWJTUDmQxbf0tnQ4LF1DY9iNiUlwscq5EAN53z0CriIKjXpTgJ1NTJgexJx2Sv1LoR0fh+CgWKdyEvPIAUdGE6IZoqCaCfQWXfMjllQ== 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=ZiXrkIWjF15e2G4NpjKPjSTXsCBcgaddjQOTdyZHS1U=; b=UUzLu9UWXoaq0xGmIyfVIxu7vjq7swP8VgoUSEmyOMra+pYTxgfcpnj6USgzfJ/rRbUAOtEcBDIEckCmqEpZe6EHTzifZrPRGpiGIGRnbZSRQ2lCy4emUqyZht4sM7/1BITr+aH4UNgZsMsFjDovOUEwcL65Fz0D48ufSdo2wEkZ05OglXBm2KLRRh515LInNz/kKHUbosC9x+EfO/xNcaQWlt8CyG5jelM9R6QQIXhGGo+vtaouA/a6s6T4l3yoJtHqzpx4j/NSJVUfh2tKCNJPnNO2lxMKSSzLAa0bv/9acARxG2A4eidJlcvlF03pwceJjh3kvVSo/niwy4raIw== 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=ZiXrkIWjF15e2G4NpjKPjSTXsCBcgaddjQOTdyZHS1U=; b=rMku+XXiSXnIugTwcM+GBw2GOHktwDSk6n/kSdcRB6AGN6mGQWXoRH5DYDbOmFHV7DYLdk1hQXFX5fZJ+EQPaey6jl8wvDOtSlvXv/abcwxP/jJbFlPUn+iJc2jyZsUcB5dSH8SO87lgJV/E4yMSapctVe2sQLhhfEPOA+1zheGlxfMrsUA1Oh6QSiKnxDFfJ2H4UWNPqhce9xGvGYfVsKfdXIYNSqyripdWHFf3b1vEH3tQqBAFc0lFdHFq3ZSpkVN0UdtbbwH0tIoa/5uFaP+oEKhAQlQnvxV9XdRvaxM0a/8kkp231VxPyTTyCYZEdPIlxkg3jo2XQALWu96kEw== Received: from DM6PR07CA0039.namprd07.prod.outlook.com (2603:10b6:5:74::16) by MW3PR12MB4346.namprd12.prod.outlook.com (2603:10b6:303:58::20) 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:53 +0000 Received: from DM6NAM11FT026.eop-nam11.prod.protection.outlook.com (2603:10b6:5:74:cafe::8f) by DM6PR07CA0039.outlook.office365.com (2603:10b6:5:74::16) 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:53 +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 DM6NAM11FT026.mail.protection.outlook.com (10.13.172.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.6 via Frontend Transport; Wed, 21 Dec 2022 08:43:53 +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:43 -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:40 -0800 From: Rongwei Liu To: , , , , Aman Singh , Yuying Zhang CC: , Subject: [RFC 8/9] app/testpmd: add modify IPv6 protocol command line Date: Wed, 21 Dec 2022 10:43:03 +0200 Message-ID: <20221221084304.3680690-9-rongweil@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20221221084304.3680690-1-rongweil@nvidia.com> References: <20221221084304.3680690-1-rongweil@nvidia.com> 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: DM6NAM11FT026:EE_|MW3PR12MB4346:EE_ X-MS-Office365-Filtering-Correlation-Id: 99bbda0c-b762-4027-9f96-08dae32f7d61 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: NDYgg7wzf4p5X57/oK3SAxAZa88Zgt31BwVK1pDgOxZfvCl+bub3qBwnguSU/cWpuOKfqHO82TuqQ9C8LhRVOIdS2VCL9/ba0ybljTQXQZ3OMYmeQOvTd5CNBTTEgaR3copGGfD2M4RT/zwqjARPEgKMwqgJttMr6xE4t/MxtzVtIE7Sn5GjoDVzsvhic9WSwArU0dw7+adoZtS3oK0QVKsh2g4OysRM+G2yqEbtai1frJoGpdEeu0HY7KZYoYEdDKqt3VgVIp5LvpOwce07C6x1c70BuEj07skMJlqdq32FiKKQaGFR0bv7jWz8LJ2/70siJH+4kKlqaJ5VuVQ8foEXMyY/tPZMyGBA3SiJVpOOUUR1UKTI22dKWunIF6E/+Q3tiMl4EleJAKtyUgLiZ+oeV43fvYXgWiEupBG2OvLRoYoUBP6jjMAD9YNBIqHPCBz9NOkF+SuBHVl7qycUakIJd7MrvrY2tXBu74MMnAKyIPVEhSWJE5PHXTsN4Aizxq9eL6y8b+SVzzdQDcGO+U96Lw4E+jrzQZptP4g91SsVIZBMHq8/vLkQEqnOHovwjIkyYdj2yLZmknHYSIUH1YrhsbF4zi58LvX6zbI1Z9ym1/RwPhGAyVi27PnvjGpBmGkwJTXTg2FefzdOjJo+XSg6p0WDjaV2aPfm+pj37NCX5q4mNQ6n4yCo9qoebrBnucZ7+ch29r/j4Ecxn/BSkw== 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)(376002)(346002)(39860400002)(136003)(451199015)(36840700001)(46966006)(40470700004)(47076005)(8936002)(426003)(6666004)(40480700001)(4744005)(83380400001)(107886003)(6286002)(186003)(16526019)(41300700001)(26005)(55016003)(5660300002)(336012)(2906002)(82310400005)(40460700003)(316002)(36860700001)(478600001)(54906003)(82740400003)(7696005)(86362001)(36756003)(1076003)(70206006)(356005)(70586007)(2616005)(7636003)(8676002)(4326008)(110136005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2022 08:43:53.1302 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 99bbda0c-b762-4027-9f96-08dae32f7d61 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: DM6NAM11FT026.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4346 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 modify field destination type string: "ipv6_proto". Signed-off-by: Rongwei Liu --- app/test-pmd/cmdline_flow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 24fdb260e9..374c89d434 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -811,7 +811,8 @@ static const char *const modify_field_ids[] = { "udp_port_src", "udp_port_dst", "vxlan_vni", "geneve_vni", "gtp_teid", "tag", "mark", "meta", "pointer", "value", - "ipv4_ecn", "ipv6_ecn", "gtp_psc_qfi", "meter_color", NULL + "ipv4_ecn", "ipv6_ecn", "gtp_psc_qfi", "meter_color", + "ipv6_proto", NULL }; static const char *const meter_colors[] = { -- 2.27.0