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 79145A0545; Mon, 20 Jun 2022 09:49:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6728140F19; Mon, 20 Jun 2022 09:49:30 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 242BB40150; Mon, 20 Jun 2022 09:49:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655711369; x=1687247369; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BTpyeEELrimbNcbTKDaXqygNz0oCtG9Ss6g4o2qZIlQ=; b=RsMIexIHAbhKTlMrw2H7N5yhNpYon1GTXWTx01LQKYAQ+5ytB0sJ4SDX pVI1WbDClnXLZWDAY8Sc62D9Xvu1hq06wtn2XyhjVD08liZ3D6tYRkmch mwKfqsEbg/x8H5eiLyCQS1+V+bkkjYMHg8w+odKzmpvNjC5BkzRSWgGSv 4DcWARZJMPbkxdFL2cpBsJnYlGrfZsDX9ise8Wyr+ouwmHz84dXoJSa+3 bAo+EJ8f691yT9gNNOwiTOUHc6/fsNBtUie0mQZgay+lKxCMHcBZd/eax XJh8JDWsUSU2badYBdzxddfvLawVmsAy8ZLr5R/Piv8fiuCPLg/NjnGaA Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="280887368" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="280887368" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 00:49:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="584789644" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 20 Jun 2022 00:49:27 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) 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 00:49:27 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 20 Jun 2022 00:49:27 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.173) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 20 Jun 2022 00:49:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IBWz0Fh8baP3ezX1xPyKKin9QZBtxLhFQtlo9lHEU4vhJ16cq1RVQJ+WG4GwZ7WFKdDo2klil01pl0eqL1rdYE7PWFWzTsWOw6/6mtWm8E2hIAunS5uKtJSvM8a2d9uBAluDphSm3JXa5PkovjzZ1XgrlxcAfs42ATppDwDwr9tj/p+Kbrzp6gUKPF/O/HU7IQBLoqqedubzGwywXmsu1jcop3LjKpQf3q2XnJVY+JF5ibgVfvolWAWyCCXj4jlVUkpV6AdLiohBwxJ4+7ZsNqk3cNFQtMf4eqXoSAipDb+Sc6Ot/QSN48Vr1Igr/vlBDkF2IKRFRKWcL3mrc3BCiw== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BTpyeEELrimbNcbTKDaXqygNz0oCtG9Ss6g4o2qZIlQ=; b=W7nDUlmwgSjKcProdo0A8FZrM8O/lzIj2pxFmoxch4kqnT+jD0P4rtTNjWU42YuGdCNHdSOI0d9PLIHrxvt5t6qaZN3fyVP6GS7IyD1mYPI+2M5gqfxHyypXl7gGWMHvAs4cdryiS5DeZpnvbGElsRXU9rJ02pKNIRldakrsKtvFAxbsFgQV637qWWBGVamxOTKUJNAHpBwsH9hiL/mUFkv2nk78RHxJMoT3HhRkYAxtZ40E5ihyCM0CYnJ/c7nEF/3WzZu9oSR6tVQ48VccS453H1TA8tEWirtgmHalhiMn075s6u1wA0vSmRsMr34POV7RQpCvaqlbLsGzpkVaFw== 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 Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by CY4PR1101MB2311.namprd11.prod.outlook.com (2603:10b6:910:23::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Mon, 20 Jun 2022 07:49:24 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54a0:2dbc:18b7:2aa9]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::54a0:2dbc:18b7:2aa9%7]) with mapi id 15.20.5353.021; Mon, 20 Jun 2022 07:49:24 +0000 From: "Xia, Chenbo" To: David Marchand , "maxime.coquelin@redhat.com" CC: "Wang, YuanX" , "dev@dpdk.org" , "Hu, Jiayu" , "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: AQHYghg/9+VePvzvrUS0sngGr1HSNK1Xoz3wgABJZACAAAEkoA== Date: Mon, 20 Jun 2022 07:49:24 +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, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c468b3ad-7688-4af5-2349-08da5291651a x-ms-traffictypediagnostic: CY4PR1101MB2311:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PCCeGTbqf8QWhPYXIMdmqKsyfKzkixhS8qSoN8aI1Ms1st/UmR6nd2N0ixIJEnlGxsNo5VCgvwz+MuTBe/gJeSD3g+IBY3PRxncJeYazc2jJeU6neNqwrmCO47V/CzL7iBSw/1HqOk/grrbxBEbWeXot3MKqVMQpwdko/UV7cr6zKtpbjdgPy+x6DrDOMAy0pu1eKHj29X0nki3DCY2RWBEfdOxPGSVP6gcZzJfY54OVN2ERoEej9pkbefOBDZJuEvVcC3BPiiBi+Nv/b2GoTN9HGMr/P59tqY/GaOBYeP+Hq2H6w2QjJkIAGRGxPIdniDxaJnt7V28C+b0krXO/nebOjZVyXKtG2Y8OmK4SzNiHXtOIX7Gx8Vt7OUGAKa0gyoymhC6hILX4jMqY0dU2DqrjgZiVpO0MhaJ+h1gAAv6B4/PvkkhfPWTi1bV+p2ccHNn8LBpFGIP3o4rg5w5YbPWJ9Um86YPUz9HNVLbw8O0l2RVlal6Myvpwn4H+V8OPxc+nug5nCTU7dYh4rcJy34BaQitc9uEXUJwavar+MS76qlMaSbMpjXs+OnTAgyEN0N1aZeMt03zFop86/iKJEYgqNrxTfGvm6AVCO+kQhwSMJIrzFFZzAzxS7oo6aedQlkq9tg/AZ1rL7apl8qy2zalyEKgW6DIpWor6tF4VzXvsOrrKcavuWwWOdQO1uxlD2JJiB0mYkfXxEnfsyWRVRw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(498600001)(66476007)(316002)(2906002)(53546011)(71200400001)(8936002)(54906003)(110136005)(8676002)(52536014)(66556008)(66446008)(33656002)(5660300002)(86362001)(4326008)(66946007)(26005)(9686003)(76116006)(64756008)(83380400001)(186003)(7696005)(38100700002)(82960400001)(55016003)(38070700005)(122000001)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZDAzSC9Fem9ZRGVEdnpGdWp6QXVNOUE1UjJjNEtVVlhFL1lHRFZaQklvc1Zz?= =?utf-8?B?d3Y4Q1hlSm52YStrTnhVLzdmbEVMSmFCVElYdXBpcVBhL0JUVEUwMzlUZ2Nw?= =?utf-8?B?aE9RS0p5Z2dQbTQwWEh3bzZEK3RrdEVqRWVXTXNSTTdOdkVLSk1aeHJLa3Na?= =?utf-8?B?dVhCbjlFaDJRY2lkNmQ0R0V4dkxIeVpWYkdXdHpGcHFQYUFDRTB4NDMxTkoz?= =?utf-8?B?R2o5N2RObmRta1IwdVhVTXNrYTc3NDRyU080anladk10NGtIT1hsK1EvMnhR?= =?utf-8?B?SytiL0NQOC9DaEUzbkZKb0dJYW16Y01GMGxNa0RUVEo0Nzdrcm9KbHVoOTg0?= =?utf-8?B?eWpMb1c0eVJURnl3eDVLMlBZV2E5RWMvSElqU2p1YnBySWFHSGMrRGdLcEZt?= =?utf-8?B?cENKdGYxMUF1Wn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?utf-8?B?c042Q2VDNjV4QTUrSy90bm5tL1hBa0FFSG5tTWlCMnQ4Wld4NTVPaUFjaEFz?= =?utf-8?B?SDBMR1VDek5TVVRXUm92Q1piOHpNcnFXRVl2QzVrbUNpNndrMDl4UT09?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c468b3ad-7688-4af5-2349-08da5291651a X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2022 07:49:24.5825 (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: JC40WrWkkTsl2n6v+H96YhDXpjhNipHrXSiIupwuaDIMLVHuX6drhmLkKnDWEAMfKQ+akk1E9AXXudgRHfL7ZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1101MB2311 X-OriginatorOrg: intel.com 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogTW9uZGF5LCBKdW5lIDIwLCAyMDIyIDM6 MzYgUE0NCj4gVG86IFhpYSwgQ2hlbmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT47IG1heGltZS5j b3F1ZWxpbkByZWRoYXQuY29tDQo+IENjOiBXYW5nLCBZdWFuWCA8eXVhbngud2FuZ0BpbnRlbC5j b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