From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130125.outbound.protection.outlook.com [40.107.13.125]) by dpdk.org (Postfix) with ESMTP id 3CF201B14C; Tue, 8 Jan 2019 22:16:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B53E4jtTMGIRCXqc4JSXD1HCYOEPaLyqMODsV4beIBw=; b=Ihc3GfVDiKw6Nr/B93/lz8y4IBXuRsYRbdiEqZJJU0AAAf7bo9t7p8snUzN5WXUsU8bP7LSF47NfUWIqIRZFlMZfd/EgNTFFpJfbSp13fUDbweQfY4pnVzmBUj+/ztj11Y85Z8ZIyKifNS0Vnz8nW3TQKhKCafp6NUnvbmif7cY= Received: from AM0PR07MB5825.eurprd07.prod.outlook.com (20.178.113.75) by AM0PR07MB5908.eurprd07.prod.outlook.com (20.178.83.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.7; Tue, 8 Jan 2019 21:16:44 +0000 Received: from AM0PR07MB5825.eurprd07.prod.outlook.com ([fe80::2128:f102:6b1:a42]) by AM0PR07MB5825.eurprd07.prod.outlook.com ([fe80::2128:f102:6b1:a42%5]) with mapi id 15.20.1516.010; Tue, 8 Jan 2019 21:16:44 +0000 From: "Meunier, Julien (Nokia - FR/Paris-Saclay)" To: Ferruh Yigit , "dev@dpdk.org" CC: "stable@dpdk.org" , "Liang, Cunming" Thread-Topic: [dpdk-stable] [PATCH] test/pmd_perf: change the way to drain the port Thread-Index: AQHUp3g9wJM3jal9y0KHCyScYG+CZ6Wl4AQA Date: Tue, 8 Jan 2019 21:16:44 +0000 Message-ID: <34fd3c84-ae4b-1bfb-048e-feb233eed206@nokia.com> References: <20190102155535.29488-1-julien.meunier@nokia.com> <9a3766ff-80a5-5620-7c86-d9e48661c89b@intel.com> In-Reply-To: <9a3766ff-80a5-5620-7c86-d9e48661c89b@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR09CA0077.eurprd09.prod.outlook.com (2603:10a6:7:3d::21) To AM0PR07MB5825.eurprd07.prod.outlook.com (2603:10a6:208:114::11) authentication-results: spf=none (sender IP is ) smtp.mailfrom=julien.meunier@nokia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [90.90.175.114] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM0PR07MB5908; 6:DB95a5UsR40uc8Oy5VYWsJ7d5YZPCzR4G4u9vJllkwng79AVuoy4b3WsLgBtwmuHtRAsVnrYa/azGYgoo1fvPb07Gdy8dKRFI1O+PSn9ZoqL0tmt7t4eESDnGTk+ukKwExnMoorcxF56zvGstZJBj/SM9IsJRQV3Kz3ISNWH10iDbH0bn23o+l4UdAj3ZGakJwhxPc9ZqLUr7CRPF1bvvJvJqQ0uwVlU/FEt86xavSQNaA2CeSCe/UHJimL4a/BzG3jZKmPO2IAGPmXIkrk2W5yj6BGi0MH+UAPNed2ye9HSRwmytUL9zhoOCAscsDn+amC6TcZJ+lhvWEcri+3cETajkW3vUsimtaN0Mau4hS5jUmt2GsZDKT7lEd0OQ8hR3ZAOeaCOsMgumc7WcDbd0qRzPatnoQllh9IyKRU0kzdCo3k8hshIjbFIOVgXDldgbsx+QE6m47thSta4fvowbg==; 5:Zq44EdYyWhCjk/VZgH31X8ATp/lg7jilokEXF6vWzfCMYkwDNxFFo+Vhv1IXb4dY83rykf2pnnJ3lG/iZkrC7wIZ/mjGdxjVOKMHr3XZNcZnrNRF3MQOfieW72Olqno0mLuZiakKZirjYSmuPIgJ7ZU06jAaeM33PFAdb3+O8lVXpUMU1ohH2tawqSu52wtCEfGnitWUa9zvw8bM9Y1Qug==; 7:hzC9SMYD1jwCf6//C+cBpcXMIHv+p2VaSsbqHCbtdOcWREho21fjFPKspTAGnpYol/RZ6KC/t+yeqm+ZAuXEGDsRpVYHhOP00AZj0KaPcLWC1Iay9xPfIrxsvYypMBVxcmuZZiVAONV7+omysCgnwg== x-ms-office365-filtering-correlation-id: 7f6ae75d-7e01-4d46-0ef3-08d675ae978b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7193020); SRVR:AM0PR07MB5908; x-ms-traffictypediagnostic: AM0PR07MB5908: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(11241501185)(806100)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(3231475)(944501520)(52105112)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:AM0PR07MB5908; BCL:0; PCL:0; RULEID:; SRVR:AM0PR07MB5908; x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(396003)(39860400002)(346002)(136003)(376002)(199004)(189003)(76176011)(2501003)(86362001)(53546011)(14444005)(6486002)(31696002)(6436002)(7736002)(6246003)(102836004)(54906003)(8936002)(3846002)(6116002)(256004)(305945005)(52116002)(6512007)(5660300001)(4326008)(26005)(2906002)(386003)(36756003)(6506007)(53936002)(229853002)(25786009)(486006)(105586002)(316002)(66066001)(2616005)(11346002)(99286004)(476003)(68736007)(446003)(478600001)(71200400001)(71190400001)(97736004)(81166006)(31686004)(81156014)(110136005)(14454004)(8676002)(186003)(106356001)(43043002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB5908; H:AM0PR07MB5825.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yAC2+usJYG4MefhozpbXrTeJsFhNeEtMrmwskRWoVRtHH2IztzY9zNZMgAM8AqzHCy3LDEmhdj4uoVzWcrU3kVMzDZcYnsqlu2mXMMaASdgzgfMFhW8NXKbpQx1ec3G8y0hx7xQpp1LzT2alqtRZPVX2p5YJT/pxviey/bDfyDzzRhh1xdw++6GAN/yJAxWnI8Um1jQBbG03smFmNHJmoALLn1MdH/SJnPiJX6Hv0Wq6QpsNYtn8X8dmWGcCFEmWVSz7adcNPdXbcMMAtB5DjN9pyL3EqyrbNSBzO+PyyoK0+XX0IdrowNSV9zafteaU spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f6ae75d-7e01-4d46-0ef3-08d675ae978b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 21:16:44.2282 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5908 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] test/pmd_perf: change the way to drain the port 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: , X-List-Received-Date: Tue, 08 Jan 2019 21:16:46 -0000 SGksDQoNCklubGluZSByZXBseSwNCg0KT24gMDgvMDEvMjAxOSAxODozMywgRmVycnVoIFlpZ2l0 IHdyb3RlOg0KPiBPbiAxLzIvMjAxOSAzOjU1IFBNLCBKdWxpZW4gTW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