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 11423A0C46; Wed, 18 Aug 2021 13:27:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86E774069E; Wed, 18 Aug 2021 13:27:51 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2089.outbound.protection.outlook.com [40.107.236.89]) by mails.dpdk.org (Postfix) with ESMTP id D574740151 for ; Wed, 18 Aug 2021 13:27:49 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/Vp1WG3c6otmSuHEoYh/6oUUxu01ulDOyKwIVQUGE0Um5ZRu+cflOqnCNEMCbZ2rinLIucfUhIhDrGXv++qFq6DRKTBgJmhsSeskH55Ru+Q40xE7SFTDLr77TFXwtOqpioYdDAWWM4YgEc9CHNAjxHWbCoSLBNncO0qhU6Ubgb9d82k2xjicZ1VlHW9aNqXTkQw0PORI3iubMMoV4tkGMmTbRp4vA3I1yO9+bL6ZAvfPL9vFfJ6jyB34F7TR2zQlHXfR8NjG75Nq/roS2cciV3oQNj0j+VoCdaXubZak3hMUTATvKXAfiDSfjm4EcdXOcDUVrEOCuxOhBlEBoS48w== 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=OHRhthD+Wu+t4hI/A7LxeAU0Ix1b94dDxjAs+89AKks=; b=IQZ5Wohk5r7Y9tUBuj99hVkWaf6ur3aV4MxyMawk84KvhrbUMadL7g/z9VIUybCpH7fNPNATCZQdOisndJINpaME9+sk99hGiPPkHGCrhTNnXN0eaph5fogg6Y+B6gesX95gx2DOYm8QdaqK2MzG4U+cYXkTksbT1cTDXRspKwZFkqS8jCSOokFEb+Q4FCzHSCKmQB6X93T7xwPoW8dTJU5Zt9Ghx7xlCB4dDBFRjVXBz6z+KoXxl+YDo86EUNrDtpe3NtexaA70yG5dIA8oAwFem8cNNiu0VZ4LbTbRQnoJdCf1GF17YuDj7FcufsAC/erktTPR8j4hpvPWlAJqwA== 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 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=OHRhthD+Wu+t4hI/A7LxeAU0Ix1b94dDxjAs+89AKks=; b=ZQPESqupnsLoZw3IzIVG7YImN60ciHGX5dgCGs73/HMUrsOJNzb5nosHPNhLHEMOguUUhibIcY+gpEXL/1o/n8Fe08TMB2LBu2/gBv67MQjtfjcvDTH3J3fVqbuX1Ekb3qpj5bbjLSKFd7ti5nj7N2sZkCB1t0zxKmunwelQfDU0iFSh6tp3OEFf7dPU4Qpf7KIcMhAAdUnQRY4onvCXoDOsLo8t5oFfH08KhQwwvRpl0utxhHRwIxgcNmPSEr25NM2pgnTl4X0EmLb79AUISk0FrdX2I9IwC2+AW5QWuic1rBJooczNykEpPukwN8lbEqP0qK9/J27DcgFXNZiimA== Received: from DM4PR12MB5373.namprd12.prod.outlook.com (2603:10b6:5:39a::17) by DM4PR12MB5088.namprd12.prod.outlook.com (2603:10b6:5:38b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Wed, 18 Aug 2021 11:27:48 +0000 Received: from DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::20f5:dbdd:64b1:617b]) by DM4PR12MB5373.namprd12.prod.outlook.com ([fe80::20f5:dbdd:64b1:617b%9]) with mapi id 15.20.4415.023; Wed, 18 Aug 2021 11:27:48 +0000 From: "Xueming(Steven) Li" To: Jerin Jacob CC: Jack Min , dpdk-dev , Xiaoyun Li Thread-Topic: [dpdk-dev] [PATCH v2 06/15] app/testpmd: add common fwd wrapper function Thread-Index: AQHXjrniB07ytTm4iEOGiz+XLUrIGqt3eWqAgAGtypA= Date: Wed, 18 Aug 2021 11:27:48 +0000 Message-ID: References: <20210727034204.20649-1-xuemingl@nvidia.com> <20210811140418.393264-1-xuemingl@nvidia.com> <20210811140418.393264-6-xuemingl@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 77cf9ee5-b1b5-4913-2e19-08d9623b3559 x-ms-traffictypediagnostic: DM4PR12MB5088: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1BsKIbp6bpbUg2iD3oaoQ9pvUGTQC/+Pmjf61t1ItD8fv+5rVZjCevi5dEmU4kJumBTciZUuXeI0Ouecyl+SysTJGj/AUFL4XWhOjiw/DfB2p1KpL3vdpkPdXkV6YrMeaRHteVc2Wo5LHM7l64vr/bPnxxPe4U/nyO4HXPWGnV8y1M6JiF00kPXnMbfNA9qgiHxEClkTI81Svf0uThXW3VxmEt1ZR0c6PKdDR0XXo46Hoo6hDxKnNzzYiAiE8wO0xZ0gh63Ugdt5B05izcSWm1UCjwx3YimMWOVZIwBEQdSGgiaxKfVuQUXWsB1qIlg1qFmjXWlUWdgTOwR+zmSFb2bjrvQxozDO3hLq9DbwnhweeuKJSSm0NAFSEHuLHeu/1sJRKJIu3zEOod0EBsdDkRSiLyEDR+iJM5DwH2zIhT5aiwniD9JjXbS4YXBIgB0pOo0sMmSDjV+E2xNDWia4QCx+QwDfBPFG90P3NHHt/XW4BxyKqB3I8Zca+65AWGwY7bSSmTJ3yUty68PElPVXmUObYfEXdmcnPQEbyiFR+7dCrT2Np+PSD2lIwf1I2vZUUcawaBqhAX8QfaSKnzE+cCkDQj8tLGORLDaYLZSictjNoWDy7hA4zgJU0YOetDveruZHYCMEdiavHoWjW7vNEjh5JDJTTEd5YL+jOjE/dwValFoQxICnLeS+Nlx1HTd6YPh+pJv9itkWdLpI9+6pWw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5373.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(346002)(376002)(136003)(396003)(4326008)(55016002)(52536014)(71200400001)(5660300002)(6506007)(54906003)(53546011)(38070700005)(66556008)(76116006)(186003)(66446008)(64756008)(66476007)(316002)(9686003)(26005)(7696005)(66946007)(478600001)(6916009)(8676002)(8936002)(33656002)(86362001)(122000001)(38100700002)(2906002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SWhxSGt1ZjAvMVJRdlV2R1c1T3lwRGxFbWErenNJNi8xQVZwSUhtb0JSUjdy?= =?utf-8?B?WGZKNkR5bHRPc2xJaTcxOWYrbm4wbWpqWDZObVQwT3VTdjhJaURMdDhYODVP?= =?utf-8?B?V3BGdDgyOFpveGQrZ1Q4U0RxWEdDbmZ1U09EYmVnSEdXSCtGcjNORFQ5SFA2?= =?utf-8?B?MEpaczZ4NWtYakovOU5zektXZ3lkcHF4VE1LczhkWDVHL2tGQ3ZtZFZxWXAv?= =?utf-8?B?QndjcWpoY0pXSXQ1UTRXZk9sN2I5TkhhejUweXl6bjFCbXV1WUQ4K1ZDcHBN?= =?utf-8?B?S0J5a1FIblFMbTQ2L3pIRndVU0NzSVdYbFJmRkRyRlZ1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SNmN3YVdaekRST0xWY0oxaEJsNEY5UTExS1RXQ29I?= =?utf-8?B?VlM0MEEycnh4ZVFwRmFBTDRzSllXSFZyL1JlK2JzUXVIMlZiMFltdU9FSHpN?= =?utf-8?B?ZjltT1E4RFpFQUlaUEhrL3ZyMElXUWMzdVo1R1l0TlNnRnVmaUxHb21wYUpG?= =?utf-8?B?bThYRUtPQWtWYWpJZlhDK1IrTFczZUc2ckJXeUVJU1N5OEZDd0NXd2twNUR2?= =?utf-8?B?eWVxeTIzQlhPeVgxTU9CVCsraE1laWIraWpvdE0zRElFMVltc2k2aWQvSDdo?= =?utf-8?B?cncxNmwyWUxaQXZxY203OTY0MHBmYWlSRitMc2JhUGh3anE5YTNuSjFCQzlE?= =?utf-8?B?WEEvbHZqZGxaZnpLZU9nTVNPTWo3TCtWc2ZQWHpQS2tCbHp3UFVTdjZWOEFD?= =?utf-8?B?a3RUZWxCTXkvaDF2RUxDRUFCd0I0Q2k3U0xHT3pNTGtYK053QnJXcGxLNEk0?= =?utf-8?B?RGMrRXFxWHFqRDc2MVJIcjlVVGJVbWloMlluUWVmdEVqZjFLdCtocWV5SEdm?= =?utf-8?Q?+Fg84Ts7KEOtpOqii6Vm0fkAYZvKVusjyrMAIp6?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5373.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 77cf9ee5-b1b5-4913-2e19-08d9623b3559 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2021 11:27:48.5751 (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: LTsErnB7+4CnDwWjJ15CSM/3wNAYm7evlxgGFsr0Mw73wLuiCkzc/nw3kF3+WO2IEVpi9HFb7p5V3dkDO5530A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5088 Subject: Re: [dpdk-dev] [PATCH v2 06/15] app/testpmd: add common fwd wrapper function 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVyaW4gSmFjb2IgPGpl cmluamFjb2JrQGdtYWlsLmNvbT4NCj4gU2VudDogVHVlc2RheSwgQXVndXN0IDE3LCAyMDIxIDU6 MzcgUE0NCj4gVG86IFh1ZW1pbmcoU3RldmVuKSBMaSA8eHVlbWluZ2xAbnZpZGlhLmNvbT4NCj4g Q2M6IEphY2sgTWluIDxqYWNrbWluQG52aWRpYS5jb20+OyBkcGRrLWRldiA8ZGV2QGRwZGsub3Jn PjsgWGlhb3l1biBMaSA8eGlhb3l1bi5saUBpbnRlbC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZHBk ay1kZXZdIFtQQVRDSCB2MiAwNi8xNV0gYXBwL3Rlc3RwbWQ6IGFkZCBjb21tb24gZndkIHdyYXBw ZXIgZnVuY3Rpb24NCj4gDQo+IE9uIFdlZCwgQXVnIDExLCAyMDIxIGF0IDc6MzUgUE0gWHVlbWlu ZyBMaSA8eHVlbWluZ2xAbnZpZGlhLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBGcm9tOiBYaWFveXUg TWluIDxqYWNrbWluQG52aWRpYS5jb20+DQo+ID4NCj4gPiBBZGRlZCBhbiBpbmxpbmUgY29tbW9u IHdyYXBwZXIgZnVuY3Rpb24gZm9yIGFsbCBmd2QgZW5naW5lcyB3aGljaCBkbw0KPiA+IHRoZSBm b2xsb3dpbmcgaW4g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