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 70937A0547 for ; Mon, 20 Jun 2022 11:42:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6505B427EB; Mon, 20 Jun 2022 11:42:34 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 1C73640150; Mon, 20 Jun 2022 11:42:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655718152; x=1687254152; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=8O4T8iqDpj0/SMcL0798OzL4wmfSkts5TnGOFG1AwBQ=; b=C3cswN0XAbf34tYD1KAzRb3C9pJ7wsw5O1s09+g6jHSLhemws3kkR7Rg LyM3frlNRNxPgQhn6llTC1R9wfHzg3dVlRWW65X4qRtdAYETLIawmCmLs 4X8hHtSPghiXE73DPFxiGW0NvoRnkNX6EttYtTblZu8H9u1avwb7CEG/S Ry4v0EvE5Z24YgqdXUVWyhXAh1VuQSjvgbQTYkiXyVlB23ZLOF7vv0hZ6 4DCMkGVBSvtS9edNJtx2o3IGkLuKSCEZaY7Bk5QudSNjQXq+TldcWS2ae wfNnPyeMigvmPdc5mc+NnPG5t4V3G39WAEHjEUG4zf+EhHCLL/o+Ol0hw g==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="277400565" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="277400565" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 02:42:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="643037775" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 20 Jun 2022 02:42:31 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 02:42:30 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) 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 02:42:30 -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 02:42:30 -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+dQgAB6mQD//5L84A== Date: Mon, 20 Jun 2022 09:42:30 +0000 Message-ID: <80b9c4e03085455d84b2b420d07a2c96@intel.com> 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWGlhLCBDaGVuYm8gPGNo ZW5iby54aWFAaW50ZWwuY29tPg0KPiBTZW50OiBNb25kYXksIEp1bmUgMjAsIDIwMjIgNToxMCBQ TQ0KPiBUbzogSHUsIEppYXl1IDxqaWF5dS5odUBpbnRlbC5jb20+OyBEYXZpZCBNYXJjaGFuZA0K PiA8ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbT47IG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29t DQo+IENjOiBXYW5nLCBZdWFuWCA8eXVhbngud2FuZ0BpbnRlbC5jb20+OyBkZXZAZHBkay5vcmc7 IEhlLCBYaW5nZ3VhbmcNCj4gPHhpbmdndWFuZy5oZUBpbnRlbC5jb20+OyBzdGFibGVAZHBkay5v cmc7IExpbmcsIFdlaVgNCj4gPHdlaXgubGluZ0BpbnRlbC5jb20+OyBqaW4ubGl1QGNvcmlnaW5l LmNvbTsgbG91aXMucGVlbnNAY29yaWdpbmUuY29tOw0KPiBwZW5nLnpoYW5nQGNvcmlnaW5lLmNv bTsgSGVpbnJpY2ggS3VobiA8aGVpbnJpY2gua3VobkBjb3JpZ2luZS5jb20+DQo+IFN1YmplY3Q6 IFJFOiBbUEFUQ0ggdjJdIGV4YW1wbGVzL3Zob3N0OiBmaXggcmV0cnkgbG9naWMgb24gZXRoIHJ4 IHBhdGgNCj4gDQo+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBIdSwg SmlheXUgPGppYXl1Lmh1QGludGVsLmNvbT4NCj4gPiBTZW50OiBNb25kYXksIEp1bmU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