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 46CF4A0545; Mon, 20 Jun 2022 10:59:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DAD21410FA; Mon, 20 Jun 2022 10:59:48 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 60CE540150; Mon, 20 Jun 2022 10:59:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655715587; x=1687251587; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=FPDgQYEqQxoF9yGmwbTTK6auUBtHnm3/LzsvXG7CWRA=; b=GDtH4hyjksJWbGdYR40gEuph1aMPsNLHS6ul7YEoPEDjBBGjVNk2ZBnO fHCq//hTeSJIow9sfD2lufSzCoTzEO2R/UBVak7whwrfMEpqYnH0XjFEX yF7vE0XPuGOLkFld0UjZtKbrpF3CAoAAHOjjWnZIjOkRRVw32A/PDuQE4 iQHYQXz/vFX2GmVd1PdlO9LU3mq9nEWca7pq+oZ8gqgZBHO806u/46r2J 4DQczOGq2PEhhQ8SASCF54FTwEKHzY+hPdKkFoY1e1QKJtwsBAcaWkj1b 2STfpZmXQ7dNgzhnKXeo8Pd+4MXQYOPbwEANrcjXW9pa5QygaaeoRaslP w==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="268562590" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="268562590" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 01:59:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="643020867" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 20 Jun 2022 01:59:27 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 20 Jun 2022 01:59:27 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.2308.27; Mon, 20 Jun 2022 01:59:26 -0700 Received: from fmsmsx612.amr.corp.intel.com ([10.18.126.92]) by fmsmsx612.amr.corp.intel.com ([10.18.126.92]) with mapi id 15.01.2308.027; Mon, 20 Jun 2022 01:59:26 -0700 From: "Hu, Jiayu" To: "Xia, Chenbo" , David Marchand , "maxime.coquelin@redhat.com" CC: "Wang, YuanX" , "dev@dpdk.org" , "He, Xingguang" , "stable@dpdk.org" , "Ling, WeiX" , "jin.liu@corigine.com" , "louis.peens@corigine.com" , "peng.zhang@corigine.com" , Heinrich Kuhn Subject: RE: [PATCH v2] examples/vhost: fix retry logic on eth rx path Thread-Topic: [PATCH v2] examples/vhost: fix retry logic on eth rx path Thread-Index: AQHYghg8rmhbJ73Fk0SEBS3+KjvFRa1YGnMAgABHhwCAAAOyAP//m+dQ Date: Mon, 20 Jun 2022 08:59:26 +0000 Message-ID: References: <20220518162505.1691401-1-yuanx.wang@intel.com> <20220617070144.710487-1-yuanx.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWGlhLCBDaGVuYm8gPGNo ZW5iby54aWFAaW50ZWwuY29tPg0KPiBTZW50OiBNb25kYXksIEp1bmUgMjAsIDIwMjIgMzo0OSBQ TQ0KPiBUbzogRGF2aWQgTWFyY2hhbmQgPGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20+Ow0KPiBt YXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbQ0KPiBDYzogV2FuZywgWXVhblggPHl1YW54LndhbmdA aW50ZWwuY29tPjsgZGV2QGRwZGsub3JnOyBIdSwgSmlheXUNCj4gPGppYXl1Lmh1QGludGVsLmNv bT47IEhlLCBYaW5nZ3VhbmcgPHhpbmdndWFuZy5oZUBpbnRlbC5jb20+Ow0KPiBzdGFibGVAZHBk ay5vcmc7IExpbmcsIFdlaVggPHdlaXgubGluZ0BpbnRlbC5jb20+OyBqaW4ubGl1QGNvcmlnaW5l LmNvbTsNCj4gbG91aXMucGVlbnNAY29yaWdpbmUuY29tOyBwZW5nLnpoYW5nQGNvcmlnaW5lLmNv bTsgSGVpbnJpY2ggS3Vobg0KPiA8aGVpbnJpY2gua3VobkBjb3JpZ2luZS5jb20+DQo+IFN1Ympl Y3Q6IFJFOiBbUEFUQ0ggdjJdIGV4YW1wbGVzL3Zob3N0OiBmaXggcmV0cnkgbG9naWMgb24gZXRo IHJ4IHBhdGgNCj4gDQo+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBE YXZpZCBNYXJjaGFuZCA8ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gPiBTZW50OiBNb25k YXksIEp1bmUgMjAsIDIwMjIgMzozNiB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