From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00130.outbound.protection.outlook.com [40.107.0.130]) by dpdk.org (Postfix) with ESMTP id 9FA1E5B16; Mon, 18 Feb 2019 12:25:50 +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=Qece4fXZzvln05f1mTcgtT0TiIcOVaCEfwfei0IDT1c=; b=f80uD+4W/Sjr5JEWKHYtCY2F8CfAjVINTj65KUjj7M3is5szW/KJN3zJNWZNPPIT6ZK0zGJgbEIZB2R6D8+xDnTpJ9Knl6bTIDtoQ9iSQU7jQXxb1eisbD5ezUbDAAlhtM9ZLNy6oVn2fQYAp6QuvmlPZarBvDmyDUaE5rEpUsA= Received: from DB7PR07MB5836.eurprd07.prod.outlook.com (20.178.106.25) by DB7PR07MB5275.eurprd07.prod.outlook.com (20.178.43.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.15; Mon, 18 Feb 2019 11:25:47 +0000 Received: from DB7PR07MB5836.eurprd07.prod.outlook.com ([fe80::70e4:a241:baf6:5b07]) by DB7PR07MB5836.eurprd07.prod.outlook.com ([fe80::70e4:a241:baf6:5b07%3]) with mapi id 15.20.1643.008; Mon, 18 Feb 2019 11:25:47 +0000 From: "Meunier, Julien (Nokia - FR/Paris-Saclay)" To: Ferruh Yigit , "dev@dpdk.org" CC: "stable@dpdk.org" , "cunming.liang@intel.com" Thread-Topic: [PATCH v2] test/pmd_perf: fix the way to drain the port Thread-Index: AQHUvuCdnysSrP8Jz0C9CRlw9bPT+6Xle5kA Date: Mon, 18 Feb 2019 11:25:46 +0000 Message-ID: <1becf962-0d3b-0536-be9a-1838d1eb1cf7@nokia.com> References: <20190102155535.29488-1-julien.meunier@nokia.com> <20190203194218.46480-1-julien.meunier@nokia.com> <18e7f9d6-f42e-d569-b26a-30c61b98adca@intel.com> In-Reply-To: <18e7f9d6-f42e-d569-b26a-30c61b98adca@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LO2P265CA0386.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::14) To DB7PR07MB5836.eurprd07.prod.outlook.com (2603:10a6:10:88::25) authentication-results: spf=none (sender IP is ) smtp.mailfrom=julien.meunier@nokia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [135.245.212.24] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2aaf2501-6ebd-4a93-e0d4-08d69593d3dc x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:DB7PR07MB5275; x-ms-traffictypediagnostic: DB7PR07MB5275: x-microsoft-exchange-diagnostics: =?utf-8?B?MTtEQjdQUjA3TUI1Mjc1OzIzOnh0UzdFN2w0SVVJT2xacWh3UjZlcnpNSHow?= =?utf-8?B?eFlRYmdaWlJZTEFneC9sRlR4eXE1akpjUnkxZzRsb3BkaVA5Y2VWVXpseWF1?= =?utf-8?B?azhLZjluRHFacFpvV0hJb0hKMGRwMFhLRXF6RkN0ajNKOHBIeWYxcld1V2Y1?= =?utf-8?B?a2x5enlVblFrdWt0cjRVa0lyV0x4dnBmYkxoTnMzck1vM25FQzlUemRNSGJD?= =?utf-8?B?UjMrM3R0TlN2RnNONUkyaUJ5Qkg2UnRzZWJGdlA2VmZCNmw1TWQ4WnFUUkVZ?= =?utf-8?B?Wkx6SG1HNko2OStFZVNWT3lJYnRHbjUydmF3VHVaRkZzUkxXdWxvOHhaRGxO?= =?utf-8?B?eHVFS2h5Z1g0NFJ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UTlYTzUwSWpmQlJIaEkvWCtPTHcxYldXUkRITVA1RmZGaEJGVmFsbjA3?= =?utf-8?B?Yy9wVnZESHJGQmFvSUhwL3hkZ1Z1ZVFUd1djOEpNUkpkK3dGV0d4R1JrRmV4?= =?utf-8?B?eStxYlh4Q1VvVlVRY0lLNmFhalAzRnd5bmxuOFdYOG9HRUIrZDBnRzJzb3Vn?= =?utf-8?B?KzdqdS9tSzFuYWd3OFRRbEM5ZjA0OG92TEErWTU1QnlyQ3FFdXVpRDJRcGNt?= =?utf-8?B?REtPNnlFTnNnT1RXM0RTUUI0SU11MmFzcnU3dDZFdktzYktKSWl5MjFPeW8z?= =?utf-8?B?UmpLL0xsOVZ6VW5rNmhZbGlYRGtuMXJUYzZXVnRFMjJWK1Z6cjVRRDNPTUpS?= =?utf-8?B?aG50VkZVVFNOREJpRCtucDNYUGdhbzV0ZzlqcmdSRVA3T3UxcHRzOFN3UnBU?= =?utf-8?B?WTdKN2tNYTBsbXNjK1BSdFRhdDlxTjNCcytpTFJFSzRJSzk3dDBBWndxcDVR?= =?utf-8?B?WDFBdUZsTmYzditKVUVqZE0xU1lobDJTWnBOVXV0aFlFL2VFNUlHR2l2U3RH?= =?utf-8?Q?jbfEdxqtptvUB?= x-microsoft-antispam-prvs: x-forefront-prvs: 09525C61DB x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(396003)(39860400002)(376002)(346002)(189003)(199004)(476003)(3846002)(6246003)(36756003)(6116002)(2906002)(8936002)(316002)(229853002)(186003)(6436002)(68736007)(4326008)(31686004)(99286004)(110136005)(53546011)(105586002)(71190400001)(66066001)(486006)(14454004)(52116002)(71200400001)(6486002)(6506007)(26005)(106356001)(5660300002)(31696002)(81156014)(54906003)(386003)(11346002)(25786009)(446003)(2616005)(76176011)(2501003)(14444005)(7736002)(86362001)(97736004)(6512007)(53936002)(8676002)(81166006)(256004)(102836004)(305945005)(478600001)(43043002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR07MB5275; H:DB7PR07MB5836.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: GbUgCemMifU+3ImQ/1xZmH/KK3EriBhDTr4Rs6J5T3nONnaEwh/CvooYrp1rLeLi+wnqeILQ5mEFBXaR9Q5U0GgqNNn9CMfwvbPzPZqb+D1PkLoCzbdO9hAjmmHX5AiYdZ37wz1/BmLzyODoUQ8wqSoLNO/IgkNfRyqY9wDweC5I8QjKibp3/UyHojiwCtb4bs1GL9ILKHzU5e2lYE1eUWkPZy/CQspbfd8oKhcWZXvMD/fvecg0HZv1HBqnWR+trVKMV3KG9OkLvg7xMUC3SMAw36PhbapITjlpvhIESZI1QzWtrQ3xkDzmI077ISCJIC0NlPMyd6PXCUHB43PvLecITSCpPTP2fuwzZEbjG8z/LVblEm6W8XTtr9GYG1gGkTaU7Rus8Npb3yqqRTyy21Zst1v73Ot1jlUFmiDLx5c= Content-Type: text/plain; charset="utf-8" Content-ID: <9AB0F54F6483F247B9B5E62AFF7DBF8A@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2aaf2501-6ebd-4a93-e0d4-08d69593d3dc X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2019 11:25:46.3480 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5275 Subject: Re: [dpdk-dev] [PATCH v2] test/pmd_perf: fix 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-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