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 9E911A0C45; Wed, 22 Sep 2021 13:31:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 800C7411DA; Wed, 22 Sep 2021 13:31:09 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id EAAFE411A8; Wed, 22 Sep 2021 13:31:07 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="203066502" X-IronPort-AV: E=Sophos;i="5.85,313,1624345200"; d="scan'208";a="203066502" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 04:31:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,313,1624345200"; d="scan'208";a="702228693" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 22 Sep 2021 04:31:06 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 22 Sep 2021 04:31:06 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 22 Sep 2021 04:31:05 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Wed, 22 Sep 2021 04:31:05 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 22 Sep 2021 04:31:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ojqsj06/7vq2GyMkibiGZTD119vCM+AZZuxBt0AbPQKMOuOwE+B8r7HWQoC/+sG0xMtGeuCNAwEp6cAeJLXZVvjMzEDV60rOF77o4keJY+HkVqwdavQi+Hf0BceeqTEuU82uvAkBSs54+Tc7ziEjeWEb/ICCgn2fInit3dsBFEelxKGbyy/6cbqG+RQ+PTKA32t8BO4gRGo1NY1sXA2MBBqK/U5yYpofaJlSGKr8ajX0K9ac46di6Wd7tgFUcKgqmfdBLapgJ6sKNjJ75lURH/SIueu9oig7YEpc0peOxlz4tpYXdJ0q20IyCsTTBf6ilQAyckr3COKTJ/mjtqWcFw== 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; bh=B9D3uaLI9rsqRwt8UHWVP6FY5JycrBSgdZ9ENh+eQjc=; b=TsdpKrAPnOIZSUZyHPv01NG5nFJKqqG5xZkMflS9NuVmXGPNrDqSFVwRYa2DnAFEiOmCzEz08vX+Cpx668q4o9On/ne329WI9oAi/ly8qldkoaqd8b0kDRDx97PsmYYjTzCAAUGMpe5se+/O5I1pv+o+pKTvdCVLKz60UsupEmYocZTxMBGfUxcamcxfrI7cagL+tjkmjFNSqfsJFup6bjZcGa+CR2bOb7hEzrDRRh14HSNL3zIkozEieYp1G1scq2vEztRTcv9n79T9zWndNu63EtnSwbHtfh491BNNyl84B0m9rkjutyqoVX4ErXZLdNKPmqHNaatGVkvNHAVr8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B9D3uaLI9rsqRwt8UHWVP6FY5JycrBSgdZ9ENh+eQjc=; b=fka2gBIFo8erYeakbRx62hnRGUX8Ku08fJoltY2QOa4jb6cGzMXNP+jKdu4/3MVBOrVd4w0py4pRaTgDLdE8hXJ+6GRoY3b4aNClcwNip5KW4M7bOqsYDN7uWInOZRLOw/y6UXl6kayrfIw02JiAQV9atiJnRjuYY+uok7KYCEM= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM4PR11MB5439.namprd11.prod.outlook.com (2603:10b6:5:39b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Wed, 22 Sep 2021 11:31:04 +0000 Received: from DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3]) by DM4PR11MB5534.namprd11.prod.outlook.com ([fe80::3d9b:76d7:e274:bad3%3]) with mapi id 15.20.4544.015; Wed, 22 Sep 2021 11:31:04 +0000 From: "Li, Xiaoyun" To: Maxime Coquelin , "dev@dpdk.org" , "Xia, Chenbo" , "amorenoz@redhat.com" , "david.marchand@redhat.com" , "andrew.rybchenko@oktetlabs.ru" , "Yigit, Ferruh" , "michaelba@nvidia.com" , "viacheslavo@nvidia.com" CC: "stable@dpdk.org" , "nelio.laranjeiro@6wind.com" , "yvugenfi@redhat.com" , "ybendito@redhat.com" Thread-Topic: [PATCH v2 5/5] app/testpmd: add missing flow types in port info Thread-Index: AQHXr5i7Od1EJBCWBUOJHoJRrvd+o6uv6uiw Date: Wed, 22 Sep 2021 11:31:04 +0000 Message-ID: References: <20210922095742.229262-1-maxime.coquelin@redhat.com> <20210922095742.229262-6-maxime.coquelin@redhat.com> In-Reply-To: <20210922095742.229262-6-maxime.coquelin@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cf402e55-5d63-4374-ce99-08d97dbc7680 x-ms-traffictypediagnostic: DM4PR11MB5439: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1060; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: v0lsnUn0BNmf645b9Qy1Azw/bU3GjPxP1HLE1DSOOmQHDubSfmPzLio073uhxlpz8gs3keKEqeApCkXofkcIyCOLOOohSN+NW1yn3uI+cDHXeNTIXRIEEKEVuazo768RMKXhBkcOH2oJQsGMQSUw7X+ZLoQ6Py58jzSqnlQ0ArPkHkiTyHYJPYNDZSUBr+zHiJvax34qewmRUrnkFK55SDPMxlQbhTxBZypJhDNox/RO3GqGjTG2Nr+kZyv0/tLhwpTdl8kY+ccSWiNXBMCPlq5TqAx9nWG8vkmahXyVdKRWvbaocIyHd1xug8atgYgbgP50hcaMTI3GVxK8UFRa0eSOpp6kOHjjhzW1WYNJOHiHdtoecSsi38i4XXEJ0FYWAx4jvyp5Zs4zmxh50ypEwQuLt8vOTdM+l8rarJIrDZgKHHdVW+FRLBUunSppFwDTpdk03UYM+lVkdXLZn3SYyZGkOd7O3zJQHaPgxiTuVsOXekBiXq22mcFipekF71EUKVZ9oQfZccsG0RyiXlbAun9Y91zBjS09hKYZ4tRiLlZrxkpH7XJ7aVz/zulwCpBi9zSKd6n7uPdlQpw7sHHcVmZrzrfagbHOmZT28n7fMChhfvd5xJJZ2v8/hoWn/gM1BQhii8BmTFWGTRlN7fvnHNsJYFBQor1tpZdFREbVwXAsDOvnF+vpHYmzgxmj4GfOoyZ4Uxci61ihY9K1lX/38frTS7gfX+yvntiKScZuIp8= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5534.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(5660300002)(52536014)(86362001)(2906002)(7696005)(8936002)(71200400001)(83380400001)(33656002)(66446008)(55016002)(53546011)(316002)(76116006)(110136005)(54906003)(64756008)(38070700005)(66476007)(66556008)(122000001)(7416002)(38100700002)(186003)(66946007)(9686003)(921005)(508600001)(4326008)(26005)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QiMK4EROUTPoSJoJLDy302n2dUn6B5AoleBwvap/bQfPUUTBqfSlCLgnhrvK?= =?us-ascii?Q?NbJjy+X5GM979RqGB8nL/j4sAMxDHnhRWjoAyDGJwJNslyljHFyZdKS4106D?= =?us-ascii?Q?1QSUNwlE85Eu8xG1Rv8FGknbndBRLs9nt69D7Vc5L49Toi2aXMULyteKgvC7?= =?us-ascii?Q?usM2AQZdbe1K3ySB9AsAwpTJVViTMljhYDR09lVRrRvEeAsK2L2ZaCMFmHPY?= =?us-ascii?Q?tokNhMPoGQ1lhMTCukiJ/qSintAHgax9yBsmrI/izsEpUmg7/rzEGDh3Vp5Q?= =?us-ascii?Q?3jPwY0eaE3CbjVsA9KOMQdnAUY07A14W2D1fERWN2UwUP0GI7/QNs2ZkMtfG?= =?us-ascii?Q?e6wUmQ/q4N+rD5e2oZBi4I595qAGjHNGP/H5B9AYEMbw/VtPS9qhTbTnsafU?= =?us-ascii?Q?lsGsMJwBSEQpd7ur38JLLDPo6mebUA1sGHsr3QZtYlW0PA/W2j5BQtMcweuC?= =?us-ascii?Q?izetOIvysJ9Q2GnqUq/+Gqpzko2Zik+R+bPpZrr9LCCeXSn5L894h+B1jivP?= =?us-ascii?Q?U1Y8xhu+Ija6XNpuDw5g3q4I1NPAYVzrS4o80+u7gWVa4WOMFdtHo341jqVJ?= =?us-ascii?Q?AE6L0F4jbmNVuEX0bn8EPl346dCBxC5BHidPCAkCvRpw7i8uFO8oLhh1EjXf?= =?us-ascii?Q?azk9V4oNdga2XXoicwuzsdiGwWdt+P5n5vNTzf+Z9J8N/TkSflVtESFghP6D?= =?us-ascii?Q?8Wy7BwZZbQnPPUY7jM8d0Fwfa4uEarjY/NlN7F1NpupEqQNBAg3f+tN7RmYC?= =?us-ascii?Q?R//Xj0z3uO2SFdoZ3yYeQDi/mB7267k1Pj7njQIWtuNsBQF1YFW3Lws7ZMeX?= =?us-ascii?Q?9UfSX5rTzzvjpDn4iv8i9iMEoMEIAHW4Jsh5gCOO500OmnjWICVSpERYEgyO?= =?us-ascii?Q?7C5n9xOT/L2oUXdrEmAFbzU7hNM2pD9uSUDeTd2apWT5ZOvhMPGTx0DWCjW8?= =?us-ascii?Q?nbA+GBKtahzTsk441e2XtnBtPr89wMuhw/e7yVFAPftdZo+yn7D57UQz0CyG?= =?us-ascii?Q?OuLmMFy1+TQetiFacWy1yUlrwRsNF4DdvQUOnbesCcfhAguHfspa04QhZMsH?= =?us-ascii?Q?L+fLOfia55ExgGJdmlGGudPFgobfhYCdxCoUDy0PpzzoZrXNY23affREYtZT?= =?us-ascii?Q?mEs7R8CVw/pPWci8KywWqUEfcVL0mEkBNVtlTGSogjrFU674dlOuJOvAy4Bh?= =?us-ascii?Q?3OAoz5Ztmkm/Om7uFWgAkIhtmJC2P6Qa1C53Oqd0dR8LFGkrQuf2NqWOnVhr?= =?us-ascii?Q?9T2gRhYXY/GKma8CA2ZqSgYFmtugH0xl/oh6+aqc7D+xgJGuUrYbMAJiSsph?= =?us-ascii?Q?HNMIQOYe6A0PDWC03E1Yb3aD?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5534.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf402e55-5d63-4374-ce99-08d97dbc7680 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 11:31:04.3857 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9adPwCHBXyrnzSySLEqxB54N3AeMYP6gkg/ZYSYrfyz2shDE0f/LvT7tszeNiERqAMh8aJ3VX3+VGbXFSIEpxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5439 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 5/5] app/testpmd: add missing flow types in port info 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 Sender: "dev" Hi > -----Original Message----- > From: Maxime Coquelin > Sent: Wednesday, September 22, 2021 17:58 > To: dev@dpdk.org; Xia, Chenbo ; > amorenoz@redhat.com; david.marchand@redhat.com; > andrew.rybchenko@oktetlabs.ru; Yigit, Ferruh ; > michaelba@nvidia.com; viacheslavo@nvidia.com; Li, Xiaoyun > > Cc: stable@dpdk.org; nelio.laranjeiro@6wind.com; yvugenfi@redhat.com; > ybendito@redhat.com; Maxime Coquelin > Subject: [PATCH v2 5/5] app/testpmd: add missing flow types in port info >=20 > This patch adds missing IPv6-Ex flow types to port info command. >=20 > Signed-off-by: Maxime Coquelin > --- > app/test-pmd/config.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index > 9a4a0c232b..3550e0a18f 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -4528,6 +4528,9 @@ flowtype_to_str(uint16_t flow_type) > {"ipv6-sctp", RTE_ETH_FLOW_NONFRAG_IPV6_SCTP}, > {"ipv6-other", RTE_ETH_FLOW_NONFRAG_IPV6_OTHER}, > {"l2_payload", RTE_ETH_FLOW_L2_PAYLOAD}, > + {"ipv6-ex", RTE_ETH_FLOW_IPV6_EX}, > + {"ipv6-tcp-ex", RTE_ETH_FLOW_IPV6_TCP_EX}, > + {"ipv6-udp-ex", RTE_ETH_FLOW_IPV6_UDP_EX}, > {"port", RTE_ETH_FLOW_PORT}, > {"vxlan", RTE_ETH_FLOW_VXLAN}, > {"geneve", RTE_ETH_FLOW_GENEVE}, You add missing ipv6 ex why not adding RTE_ETH_FLOW_GTPU too. It's also mis= sing. Also, flowtype_to_str is added but what about str2flowtype() in cmdline.c? > -- > 2.31.1