From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 77595A04BA; Wed, 7 Oct 2020 12:58:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 55CDE1B65F; Wed, 7 Oct 2020 12:56:49 +0200 (CEST) Received: from nat-hk.nvidia.com (nat-hk.nvidia.com [203.18.50.4]) by dpdk.org (Postfix) with ESMTP id A57EA1B65F for ; Wed, 7 Oct 2020 12:56:47 +0200 (CEST) Received: from HKMAIL104.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 07 Oct 2020 18:56:45 +0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 7 Oct 2020 10:56:41 +0000 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.59) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 7 Oct 2020 10:56:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E1O39X6LJ56pOwhyUebgV2ja/4kE+5J200cH32ugsB7Nobam275Xp+3NHhjkgweOkKGrVwW+RSMGq+5Yx9DDqHgq4UeDHoutoBj9qH1aegGnmgUYF/OHC41UPqW8IAv6Chn+6rWTsmBMhs4vb6OqxACuqSIq+Uvyl9bgYm426BlKy8m04gJSamuIc3L4s00sr0MO+OEGa3k3ORzu958GCWl1kjUIQLYqC/GoDkQ3TrXJNsXIe2mnzl4v49wwp7a1WihkRAZlDT1XKyHJl+X8OzIZ3ohYXd2Kug06iGmmVq4uWch3tFJ4IsD3w8LdC4JPh5Zzcmu//c9iM3AbaoyDpQ== 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-SenderADCheck; bh=KKUJsa5Bm3xOGsUv/puwvU36RdVVt6fXNh1QcDBIMmA=; b=J0LKKlYPv3/0hefzGts6Km5UGuFAjd1VtmYUmyVi6btyM+CNrZbeJ6zT5vdGVdBGv3YMnaxA+ES1J5fXGteUHQq9VMv3ew3Ntd+CJXwPkwEU3kSlqwZqB6gZbvDbRDEdobsMtk0Xx6unUtpCBAK6QoXCuMBwiMsfb2m4p3ASeG82W25d4Hzv/7CWlOXeDlLwrcSyl1qLlW2LUO6CrBjw98QqMiXnXTNh4qeVqX/MAmW/KSc3P0msHak0M7iZCKzt5aEYoDWsao8oXS1YhtGiWjfRmeTXqHxy4WgeNYhMYL3P8YsSGGoSMHNVEXBS8hGSBqMRYKgBF/m19V9Eyg2vpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM5PR12MB1161.namprd12.prod.outlook.com (2603:10b6:3:73::16) by DM6PR12MB4353.namprd12.prod.outlook.com (2603:10b6:5:2a6::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Wed, 7 Oct 2020 10:56:38 +0000 Received: from DM5PR12MB1161.namprd12.prod.outlook.com ([fe80::b0b9:2a96:7ad7:9a93]) by DM5PR12MB1161.namprd12.prod.outlook.com ([fe80::b0b9:2a96:7ad7:9a93%8]) with mapi id 15.20.3433.045; Wed, 7 Oct 2020 10:56:37 +0000 From: Ophir Munk To: Ferruh Yigit , "dev@dpdk.org" , Wenzhuo Lu , Beilei Xing , Bernard Iremonger , Olivier Matz CC: Ophir Munk Thread-Topic: [PATCH v5 3/3] app/testpmd: reduce tunnel parsing code duplication Thread-Index: AQHWjcaAjRQs0ZrzkEm7a30nJnnAKamKvtyAgAFWF5A= Date: Wed, 7 Oct 2020 10:56:37 +0000 Message-ID: References: <20200915131717.18252-2-ophirmu@nvidia.com> <20200918141735.18488-1-ophirmu@nvidia.com> <20200918141735.18488-4-ophirmu@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [84.229.96.120] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2a8439ba-ca0f-4826-eb9c-08d86aafaa2e x-ms-traffictypediagnostic: DM6PR12MB4353: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h87newi5rhAhVxfx4q0+euHPDE0H+60DmBwxfWDNXSGBFTV4SJwIp9CiLfsBoPy8Ptb0K68B3Kjwgi3I4d2L89/t+YfaykvYhCK6bxdJ+OEQYSsNJ1rwddWwK/PG6S6bs0yT7mh7ns3VU6D3xOeMaa0d0p649Dg+/75RFAdZ1OTVe0oAZO6s/3yLBlfBG4OOMEuaYNcFdo+E1Wbc5xYfTQpAtVyxs/Z0BJC1zyidm9+lw1WYBh5QGAryG+xocyIecuHo2+p1T7iJhFawujRkgXAHK2Lhdr+IjHUN0VSkGgxR7qOndCQrW6xiBv2RGJ9Xesb8EPLeQq85/ZlrBRxwWg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB1161.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(39850400004)(396003)(376002)(346002)(83380400001)(26005)(6506007)(478600001)(8936002)(66946007)(186003)(53546011)(9686003)(4744005)(86362001)(66446008)(76116006)(64756008)(66556008)(4326008)(66476007)(2906002)(5660300002)(107886003)(52536014)(55016002)(7696005)(33656002)(110136005)(71200400001)(316002)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Ancr51ofcGsxtM7Fl8qqj25w+VfJsEUckISJ18PJidsn6D2YPiqgd6i9/Mzu+k7beYmm2U9jqGFvpiTxVwp/+euS7a9QSSky0upfjJBvJZeEiGaO8wQ0+EmnTWK6reEnxvL6Z7ecpw9M+rCFZGn0U82zzXHYoTuyf7wiyRK4lo1ztbCLWm/C+DGNqANicsA9VyuhbW2EZb8uDFZeSGqDP3dR5ViZl7HH6xfRSwv2rrnVZ1xc2VakYbKKuHqDwB+0eUWAjNGkOKgjbXJkKXTfYToX6KFAOLpy/hGRsgdQlkcmJl9QLu4YnBaWzA9LMLTqKUPmVTPJ7wPJCUhfGMJtbl7lfvyvUUWU6t9agLVFGVfkqu1WZtpmZ9zINaDfurBoqAhp1QZmFBTSaopKiVAUAXCCyb5ZuaWb/SbEvFOp1L4PjvbkImcpC0OAyh9LHZnbKWEZ4WCnR3KGtfFEJJa4ftwmVPKQyBOEhmHX6w13QFm3U6MMOist56u2Kq3x/CtjIma1H3OT5mXbZ2/Q3/UGGn/jv+qxl2UIFGOsQHOLbWy6KeXNzmn9aAAUomgmJlJQ5XTTklu80dguT9t+LfpOkJn6JmZN/x68GUJeoCYyq0xbHfbHef2qvK3sy01uGhRzMeSo5H5a87V0HlvK6yqGwg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1161.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a8439ba-ca0f-4826-eb9c-08d86aafaa2e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2020 10:56:37.9578 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rbitL+MznuKdeuRKgbQ4AZTFLRXc00k/c8UL78LzyiuKnBPiF+QkTGy8SORvaQBasrUiYyEbWeekMyBUuA/9Uw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4353 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1602068205; bh=KKUJsa5Bm3xOGsUv/puwvU36RdVVt6fXNh1QcDBIMmA=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-microsoft-antispam-prvs: x-ms-exchange-transport-forked:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=r4SUU8yrrnVQuLeMiNL88Kk5yXkWyggm4hPbQEpQ4Fg/XbTq742j2MVVZ8VMIHLRV xKXXiVXf+gKNLSYk6N0b6jRE60KerAPFOh6NmZZmqUckqEk+AsmoPZ2dYoXPLciFfv 2J9VHYaqJ/tferkFXTiZlhjE1xKlhm5xGorgsb0tyTMCVlJeLoYd53A7LER3hvZSj1 6kkrKAtSQWLd4+MbskJg9s1wFUyv3WBXNeQNxW4RCdJc9gkYhhc4uk92NoRHKCnhBv 0QpZA1h5U2uFZDg0r4UXzha6Gv6yupay5VaTQ6x/D0CElecruSFJ76XJcIE9fhJFd2 U5HCzqKJVtZ7A== Subject: Re: [dpdk-dev] [PATCH v5 3/3] app/testpmd: reduce tunnel parsing code duplication X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEZlcnJ1aCBZaWdpdCA8ZmVy cnVoLnlpZ2l0QGludGVsLmNvbT4NCj4gU2VudDogVHVlc2RheSwgT2N0b2JlciA2LCAyMDIwIDU6 MzAgUE0NCi4uLg0KPiBTdWJqZWN0OiBSZTogW1BBVENIIHY1IDMvM10gYXBwL3Rlc3RwbWQ6IHJl ZHVjZSB0dW5uZWwgcGFyc2luZyBjb2RlDQo+IGR1cGxpY2F0aW9uDQouLi4NCj4gJ1JURV9WWExB Tl9ERUZBVUxUX1BPUlQnIHNlZW1zIGRlZmluZWQgYnV0ICc0Nzg5JyBzdGlsbCB1c2VkIGFzDQo+ IGhhcmRjb2RlZCBpbiB0aGlzIGZpbGUsIHNpbmNlIHlvdSBhcmUgdG91Y2hpbmcgdGhlc2UsIGNh biB5b3UgcGxlYXNlIHVwZGF0ZQ0KPiB0aGF0IHVzYWdlIHRvbz8NCg0KRG9uZSBpbiB2Ng0K