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 6F525A0C41; Thu, 30 Sep 2021 03:05:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E749740DDA; Thu, 30 Sep 2021 03:05:05 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 0A2694067E; Thu, 30 Sep 2021 03:05:03 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10122"; a="212330066" X-IronPort-AV: E=Sophos;i="5.85,334,1624345200"; d="scan'208";a="212330066" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2021 18:05:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,334,1624345200"; d="scan'208";a="521027281" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 29 Sep 2021 18:05:02 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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; Wed, 29 Sep 2021 18:05:02 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Wed, 29 Sep 2021 18:05:01 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) 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 via Frontend Transport; Wed, 29 Sep 2021 18:05:01 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Wed, 29 Sep 2021 18:05:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LnTVDO8yFDg/Fhm3O6Rky3oydrGkbUbUCkwjKWeFvSub+KuG6AODAEND5Nwn18iHUglJHEeM83gtI4IRJND7RBs9X9Nr0MD88iE9+MfHerTjDzdo3AL+uAB5dUy3xjRh1xD1Y40dWHDcCiphiS1b5vLTEWy7iOMjRptFMnupGdXKiCNZvlBz9HKJFHWygctMtRa6nCuv48QMpDCSmK+W+e2hDH8TJ/0R26b/lzMT5iH+mQtdUEMNFUNUnfIGOE6576liUnY+W3aQD2H84Cv/HhSHLK2FOzgs7vHQ97867RZnGb/hs7mmyIMPGlSXkrjH7eMSnzEzTXDd9k2crFFBdA== 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=FwI1AXVfv6nMXzWXvTBe1vuLaA1peDaH1IveOaKbxtQ=; b=b+zADH1z3vhlDK3PLhACKwfFBvVyAIBHKLvYrGdTlK47Saj6Hx/TUEiA0WtbOzodCMuYRoyAZTAmmCw0tTsi2nBqpsqJ+XWTnGIQc8F2B35VsJbeeSu7T93Jmp0wIbhAcrmaGyjLzPbALitnC1MALc3lQj0NY+IbMjigoNTV8+u883fq4KlbKtLHMqHuBUhgQIyCJyeFwaEdkzX47s05RLvg28MEpCA5Cgztg9NNLbKRuprSnRervVQ2vj/f2CAFcbzs+MZ0RkPxgNh+iBCYCIb9B5mV/HDV1SisrZ1+u0kPImrvxav9B8FbsCJ0fQsJbuPZEkckt5NTGl1gs7XXGw== 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=FwI1AXVfv6nMXzWXvTBe1vuLaA1peDaH1IveOaKbxtQ=; b=OI1D88DBn+f/VTr4HZw6d0u7nTwKbuPNNpUCztmf8tGJHQIieTvHxavEySMg5ncTpXTxc/nBw1QHYbkqZ1eiYV0mgWYbu1Uq7AV26zEm/JQpsVgPzS+4nF9ZzJSq9NFek5SDpnYZHA2somUuHfy6vFQv7RRzicF2k9NSMwbnLfI= Received: from DM4PR11MB5534.namprd11.prod.outlook.com (2603:10b6:5:391::22) by DM6PR11MB3897.namprd11.prod.outlook.com (2603:10b6:5:4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15; Thu, 30 Sep 2021 01:05:00 +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.4566.016; Thu, 30 Sep 2021 01:05:00 +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 v3 5/5] app/testpmd: add missing flow types in port info Thread-Index: AQHXtRL2jMRyU//v0EaEq50jrk2V+6u7w18A Date: Thu, 30 Sep 2021 01:05:00 +0000 Message-ID: References: <20210929091701.158047-1-maxime.coquelin@redhat.com> <20210929091701.158047-6-maxime.coquelin@redhat.com> In-Reply-To: <20210929091701.158047-6-maxime.coquelin@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 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: 830a104c-46c1-4d58-55aa-08d983ae541a x-ms-traffictypediagnostic: DM6PR11MB3897: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tzcGeG2TglRPcwtE4uCvbnXZz1YYjOWPqTV7NDLBqXrHCwRW923hrpEs93Pu3BBHEqf2j5ZZ5gNvpQsns5LtqJbe0KWV0EJfB+JWWFkvcS2oROkl6Ux6FlUVIvbX5WPVuSEtNqbbgNvbWM9c/srHYRiazPHLk7j63NEyVfiLznO0jLrGYn7JJMSQq3gpyXi+tr2VBwuXP2rlMLiUq4hs1NFpN3CoJfK58LtyqBHFcto1CTYfK7Z1g2ITn0fwjWAXS/pY7tBQ8AHy/HIChIbVyU2T0CJWYa5R/DaX5lgpeki76Kltbbl7A/YF/g/zgE4RTgtUS5O3pZgKQJfxFCGqbLyTOk0Jl4zb+qQQZwoX1pPqyCJS0hXmIdXMWcVzeouE73HiGSYxEnKlhVkYaSrzTCuKuVKsb31lNw8pp0Ly3k+yMKLVLf8R96GMxx3aU5BglHEiDNF6MacRc++a410bV1Ln9sp7PhWUVPVhwgudzSLL+1R0ebogoTLLuEuRHGS0UfyU3hXJggFUDZ23vHH8iaZYF/UBOGE5J6XHlkFGu0axD6J+G/alqbyk9U078l/28u5FRNdl8JLuL3pjjTGIGo2YD3G9XCDKGQjqjq3YZsqC1li6NcfwvqLdA/cpJNLnS85CazRQD196bmneZwJKqooGgTjPXuhUwHDC7lKLxL78KYmEsKhYQsstN1YRuEPAb0urLs9wY3ONCnC9Dke8Dd8bESb1zYBEtKegE5lUAUg= 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)(38070700005)(71200400001)(86362001)(83380400001)(8936002)(316002)(66556008)(64756008)(66446008)(76116006)(66946007)(9686003)(55016002)(66476007)(921005)(8676002)(5660300002)(2906002)(54906003)(52536014)(4326008)(53546011)(110136005)(6506007)(38100700002)(26005)(7416002)(7696005)(186003)(33656002)(122000001)(508600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GcY1rwhbZH4f+KUmm/N7LRETsC3nhqoHa8AG8Gcg4UH4VeqYaKpr1RhQVioL?= =?us-ascii?Q?r9Y4xjHe74iN84GNP7e4PUsb1Sll2YPSJDaWktY/TALs6II2VJVXgqRg+QF4?= =?us-ascii?Q?vjicwKxJIHmv/EZ0IG0BqkhuF/Gvh+gy3eOXEN41eWRbgxtR/ah+ji+zaRdQ?= =?us-ascii?Q?JzbyXF7rJUgKvStqdov3ErARpVmJGNn45ihG9EzpZ/YmxXkam8ArKYvZcDb8?= =?us-ascii?Q?KiuD91DtTPC7Dby5qeThBQXSZ81oCZhlalZH6yi+p/Wa7gM3BkZPyKHdzzQ+?= =?us-ascii?Q?nxjfPGUDC4L+jcd7Pa4ENlT0dHo3N2DJW9d6EdZNVKfzIcYLTxUygzyRia3k?= =?us-ascii?Q?bfiO/C3yV3Oppbvdw+cgv0G3c7Q2ejyGgbh4OOjIl0jPVKQLTBoP3evwwqzL?= =?us-ascii?Q?IRqtG1ue+Libv21WwN+pJ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pPF?= =?us-ascii?Q?Mv1z79OMw3KvurGCWKRy8Vzt?= 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: 830a104c-46c1-4d58-55aa-08d983ae541a X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2021 01:05:00.6871 (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: MHD51V4+5TnClrngS4jbs+KmPyk7o26HcfUNiPLK61BkaGOGAGABlax4TOemnsi9UZnb/WgLL5l0Nb80g2vKOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3897 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 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 29, 2021 17:17 > 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 v3 5/5] app/testpmd: add missing flow types in port info >=20 > This patch adds missing IPv6-Ex and GPTU flow types to port info command. GTPU not GPTU > It also add the same definitions to str2flowtype(), used to configure flo= w > director. >=20 > Signed-off-by: Maxime Coquelin > --- > app/test-pmd/cmdline.c | 4 ++++ > app/test-pmd/config.c | 4 ++++ > 2 files changed, 8 insertions(+) >=20 > diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index > a9efd027c3..259d9cee4e 100644 > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > @@ -10408,6 +10408,10 @@ str2flowtype(char *string) > {"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}, > + {"gptu", RTE_ETH_FLOW_GTPU}, "gtpu" > }; >=20 > for (i =3D 0; i < RTE_DIM(flowtype_str); i++) { diff --git a/app/test- > pmd/config.c b/app/test-pmd/config.c index 9a4a0c232b..39deb02950 > 100644 > --- a/app/test-pmd/config.c > +++ b/app/test-pmd/config.c > @@ -4528,11 +4528,15 @@ 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}, > {"nvgre", RTE_ETH_FLOW_NVGRE}, > {"vxlan-gpe", RTE_ETH_FLOW_VXLAN_GPE}, > + {"gptu", RTE_ETH_FLOW_GTPU}, "gtpu" > }; >=20 > for (i =3D 0; i < RTE_DIM(flowtype_str_table); i++) { > -- > 2.31.1