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 8E38AA0032; Tue, 28 Sep 2021 13:50:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CEEE40E3C; Tue, 28 Sep 2021 13:50:45 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 67F4140DF6 for ; Tue, 28 Sep 2021 13:50:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10120"; a="224747260" X-IronPort-AV: E=Sophos;i="5.85,329,1624345200"; d="scan'208";a="224747260" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2021 04:50:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,329,1624345200"; d="scan'208";a="538171627" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 28 Sep 2021 04:50:41 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 28 Sep 2021 04:50:41 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 28 Sep 2021 04:50:41 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 28 Sep 2021 04:50:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cIJKShtq1C1HoYS3W+tyk2B8ry7MC+MYHKTf5tTtom70If4DhhV4J6ccjGjJAn4XOUKGegLdGAufgyhJ86LJcaEF0v1DO5q2SD+f0JN4yMFAAYPbEpg/SkuC2A5opAm58Fjl+xVhMStTMG3kR7ZPz4IlMJiSxKVjwbvG4SOrjkjQ4J4jcY4HGvlbpxvt3QzWOWvbFM2qcGHmIudwDX6jygaA63huklmV6qHSqHZ2nxe5wGsK0x17bEXff899zxgXAkgN2onWjX8IsVTvbq9Y4VAg90g2t3jtT8ySXVvBSQMJA/R7KpSA1c0sUFt5oZdsGKyfFxzbKkwDrsxXgwEVIg== 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=/Rs36ggWBdW8Fs6TvtVaYBOdtFWXksGT4n+wkRc5UYA=; b=chaeFtdRfKLr6va5lxbrDi8zBI6YKXaCIoDdkfE0FW5FX9jws/1MIUJ4YnY22EmBcQe6NhyRPiCyaA0kYuL+mRFg3Fh5d91vJJPIfWICQzOIockTMM3R1eM2iZ+fhcvLEtjc8yyWYqz+2gcq4eIcEqisvnpJTK7n7Gb5RFaN1VJYJ4S374Shb1Q7xyxTdmJalvJhQnqKby5Y7L5I/ndbp9ofIiYsssv0ldx5Cqvz/jU/x9XZLH3p8tG8Yc7+UVMn8D2MdIGCTFOVtMoTi0Ss23I8N7QTXwpq3Eqq1Bk1BVHIeXFJVqAysyWpVH6TjdrS+hHZQje4kqj76JmERTjp1g== 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=/Rs36ggWBdW8Fs6TvtVaYBOdtFWXksGT4n+wkRc5UYA=; b=dFSBT/795mQ9RjgJNsB23nssVMbjA6xagnVOLEuSyAD6N7eTkh5T2gYGYar4RTaYddsKLK0qftT5YCzAvr5id6HQXgkoXl+1CAjut4UzRiY8UABuSGzPJ5ryQq8Zxezoo5+ikluTqNsKviKPmLDMkS63uVatEeoVYZVPYokBquM= Received: from BN9PR11MB5513.namprd11.prod.outlook.com (2603:10b6:408:102::11) by BN6PR1101MB2116.namprd11.prod.outlook.com (2603:10b6:405:58::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.18; Tue, 28 Sep 2021 11:50:39 +0000 Received: from BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::99b5:c482:4da6:799e]) by BN9PR11MB5513.namprd11.prod.outlook.com ([fe80::99b5:c482:4da6:799e%7]) with mapi id 15.20.4544.021; Tue, 28 Sep 2021 11:50:39 +0000 From: "Ding, Xuan" To: Kevin Traynor , "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "Xia, Chenbo" CC: "Hu, Jiayu" , "Jiang, Cheng1" , "Richardson, Bruce" , "Pai G, Sunil" , "Wang, Yinan" , "Yang, YvonneX" Thread-Topic: [PATCH v5 2/2] examples/vhost: use API to check inflight packets Thread-Index: AQHXtDKs193CeGgTmUyZI0ZaudHIlau5KwcAgAAoDbA= Date: Tue, 28 Sep 2021 11:50:38 +0000 Message-ID: References: <20210909055758.106588-1-xuan.ding@intel.com> <20210928062446.101264-1-xuan.ding@intel.com> <20210928062446.101264-3-xuan.ding@intel.com> <94502d72-979f-c5fc-4445-a5a1c51eb6ba@redhat.com> In-Reply-To: <94502d72-979f-c5fc-4445-a5a1c51eb6ba@redhat.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: 21a60db9-30ff-459c-2011-08d98276311d x-ms-traffictypediagnostic: BN6PR1101MB2116: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vGTnyn5r+C/FDDzAdd/0PfIyzkfDRIkxJwSpjgsUsae4289kDgA2r7A++ACPqOxd6mkQozHWZZDCoKRUv9USuGCFTxF+BXHJ6j/FrPDrfce/TG0TtK6AY+msHIhWtdpH6ScwRlI2tFD3c89K8T10GPhIKgA3W7TGUFCeU+R0ZYHP9zzmteaSdl8slZv75OQG2NOrlE98fZ3ek5Q3XP1wyx0aXC/CTeNh3vsZIJmy4z+0jn2U3RAJ/4NFk9LAJyS4GdSgPFCLuFqXd7evXhCCgf10fl7FL+32xzQ5nKw8a1ZTJJOxlXHMoaKBySh24mQLjQusjKQY8903CRXaPgNLPpSkE//wZQL+PI5YjambJ8Yy/fL/BE8dsnTq4igpbIKkLNYFNJwyraw9pCFHSESEzCAh65FHjsTRMTOe8QAUsHq2RmzTDdpCLril9BPI0AJ42JOuFb6RroqNGO06+3dbVTqO5VPYSBqk6GpM7oYC4lJChNbWz2+UcfoHIk7DGukpkzv4Wqq2ce3s/f0n68x/P74uMhpIj/E2Z56KzOSpDxxl4uoF3KCdo93PHPu887gU/HZQ6yoeC8b7zzWAB5IZd8Bnp1nPZHFFDfKA9i7hopOEEmJayACvZ7XyU/CVEBlU2FUJBEXrIHA6/O8ejZj6XPJUKOAH6I9FCBKYI4tGeMZp5+Y34f0T6k1aCt4U9sYZKLkL0cU843EfxY/yfQqpFA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR11MB5513.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(53546011)(86362001)(54906003)(110136005)(7696005)(38100700002)(83380400001)(186003)(6506007)(122000001)(2906002)(26005)(5660300002)(6636002)(316002)(66446008)(66556008)(9686003)(52536014)(33656002)(4326008)(38070700005)(55016002)(66946007)(508600001)(64756008)(66476007)(8676002)(71200400001)(107886003)(76116006)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?S0lPOWpzSGxJMmp4TmlCSEpoV1crVytGcGlDOFV4dGF1TUFpbjFaQlZheXFR?= =?utf-8?B?UG5aWWoxU0ZJbVpwTkNMK0x1aEl1R3hoZ3dZU2tUZXpYcXBRalBCSEdQWGRJ?= =?utf-8?B?djJxN2p6WEJ3K0x2K2dRWXBOWWo1MEF2bnNSNWYvZWN5bzE2aVBkVGZ2dFBu?= =?utf-8?B?Z3ErS0lPVVFVQmVoSUZ1Q0lVZGVrQ005VG15ejQ2VUhtclJhNVJRS0NrRGZh?= =?utf-8?B?RjJrRHJ6MFdPNE5iUlNka0lHSnlsMTJ2NEdOZG0yTlFUY3FIdW45NWZCN3Zs?= =?utf-8?B?V3hSdjR6bytQK1Q3MGJCdEo2WE1tYlBCTHl1T0N5RStWTFgyMC80NnZQTExs?= =?utf-8?B?cHFRVHR5QURKNUtjbCtuZkgzZnBEekNFR3VqRHJvQU5Dejg3U2hPeVVtSXE5?= =?utf-8?B?cnZZVHJYdjB1Mksxd0NLU2NkZFdVRklJQXdFRStJU3pEWlJSbFJPTXQyRXFG?= =?utf-8?B?V3kwNndjQlpDM2J6bVhuMFZ0ZDVUbG5aNUZmTXVDY3ZpWHdYL2QxR3c2c3Nz?= =?utf-8?B?S050Zm1UQ3pMdkd6OUdVRytLTmhK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MEFDeWxzZEFZclZ1ZWV4SUZjRTlTOHp4SDlTY2hYSlJtODZoUCtldVlN?= =?utf-8?B?NGt2Wnd0dFRyTGF1bjlWNEk2TjlCUG5DcTdxLzVHMVFCWDNHLy9xVWRheWlz?= =?utf-8?B?eXF4Si82V3E4Skh0SUl2ZWpseGx6RWdsYVV6OXJTUmVQNk50OHNPYW93ZDNY?= =?utf-8?B?K1dGU2dJYVZnOFNjaFpxTTgxSGprMHJuckc3Sy8xckVWSUxaNy9xZktrOTBT?= =?utf-8?B?cE9LcVhhOUFxU1R5cm1zK05EZDJsakVnMUt0cVBHUkFLVDRGcmN4cVdSR1FR?= =?utf-8?Q?iqZf3XPnP9NAzxECJ0=3D?= 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: BN9PR11MB5513.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21a60db9-30ff-459c-2011-08d98276311d X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Sep 2021 11:50:38.9687 (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: gFaatW8/i5pcu1/AkQ2D4LAx0lw21EFSVaUracMjIDV8VqPgI1ekZHrvzDC2emZjRyjUBgrCzcVoIMHReX4W7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2116 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 2/2] examples/vhost: use API to check inflight packets 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" SGkgS2V2aW4s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