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 9375EA0C4C; Thu, 14 Oct 2021 10:28:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FE1C4115E; Thu, 14 Oct 2021 10:28:25 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 449234115E for ; Thu, 14 Oct 2021 10:28:22 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10136"; a="251062715" X-IronPort-AV: E=Sophos;i="5.85,372,1624345200"; d="scan'208";a="251062715" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2021 01:28:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,372,1624345200"; d="scan'208";a="548437189" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga004.fm.intel.com with ESMTP; 14 Oct 2021 01:28:15 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 14 Oct 2021 01:28:14 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2242.12 via Frontend Transport; Thu, 14 Oct 2021 01:28:14 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) 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; Thu, 14 Oct 2021 01:28:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gLH0jE4YpGgspC+Tbsfz3c2Emhvu8hytw7+lJdI+6GKUhm9WwiaM0PNepBw+9h8LLjHxNmc+Th/J0jD7QY3QYqUHihlL7BjJiz1SGvSw5BpGKQ62aAtQroKquYLLHzMcJkezyrhvFQPX0590m8I0sSOpD7qd+r+zIigXI0PDV9uC7mtao9AtNaZdcE9FUysZaDbQk3H1atjXVuBDBbGen3TDJWZ6gWf+bDrn+bhm72IbxW9hZIR1f1Q7akieG2MWGu178QvpfWkN9VMKgKZ5uwmrcvMCsxH8G0KXNWU+qITljJN1JL7vEXoJ+a8XLyc+AvKUfzUVr0HaZUlmOhPyMA== 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=KvgCZDS/YMl8Bnr7iIUTxTc7CP27zJHHIGOUVq/wcYM=; b=cXWdqk/IuaqsBF3bkS8DYBydz85AsPigS6C0M7XqKTOZT2xcpvuhdc+xYMrWQpsBpGLjTtnOuxtUBrmtHJbzGjmfRTfO8TINZfsily4RpnellFYSF6ialAfK+jwb3CUV9qcTICd9M1+nYSWFF158iEoBl8P3mAUnMVXwZg5OSW/viHdnWuEL+OzU/jPOZIYBolHRiAKg+R3QeMOgpa9OLhITV6jK6MvaP98cxZeYqD6GRb5BLr9xNm9PMGCJ7HP5yFguF/w5tvCGnihlgneUT4hN77mvyBvkvGhBMjEB1jpesq/jBy377cgvu+6ssaxD2oY+IKbG1/cqxOAd+WJTew== 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=KvgCZDS/YMl8Bnr7iIUTxTc7CP27zJHHIGOUVq/wcYM=; b=pKH88H5sItyqpv+zMfgj7W4QzmD/bOpPNrP/XEwV6E20VBTzP1LQ5qaOT7vriUUrnjHbubBf4QmT71qmHy9HWurCGHnzGV0hu1voHffT9jIFfFAC9qufasSb9l/v7mG2VtfG17b9saNr7xNKCUdKOTiQQBW9ugp3VTKMG5aXxd0= Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SN6PR11MB2911.namprd11.prod.outlook.com (2603:10b6:805:d2::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Thu, 14 Oct 2021 08:28:13 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::4041:2618:cb37:e56c]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::4041:2618:cb37:e56c%7]) with mapi id 15.20.4587.030; Thu, 14 Oct 2021 08:28:13 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , Li Feng , "Liu, Changpeng" CC: "dev@dpdk.org" Thread-Topic: [PATCH v1] vhost: add sanity check for resubmiting reqs in split ring Thread-Index: AQHXmwKxojzaZhq9Y0al6VfO2MQ1+6vScdAAgAACSgCAAABQMA== Date: Thu, 14 Oct 2021 08:28:13 +0000 Message-ID: References: <20210827051241.2448098-1-fengli@smartx.com> In-Reply-To: Accept-Language: en-US, zh-CN 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: 277e6b50-4638-4a7a-ca3a-08d98eec9044 x-ms-traffictypediagnostic: SN6PR11MB2911: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4XslHXHb1loDfKFWEGEVD8yp7IH4BLW24Hokpb24i6NKYebQ541K3fDYPQ58xRN80ZZzbaG2eqqFeO9AjV7wjrinyYoLz05qpBk9k2dSyUhrEbpd6egxCPneqj09C9mnZVNQjzpLVXMbB+QrugS//rS17p9zullYdc+dPliZpuPRHN2e2nQmTZIAFWwFcCsgniIy0aX+QoVraimyRi7iU5j6tozgZS3ev0nctzBGHZFiVs5xmlJbUVr0s5yxMMTsfBWFboe1Wqf16l3Sbls7K2qdjfkvF6sKd313ydyFmQO8ZHnU50ejx/mnJWGaLCfZBXwBC9pSoJpys1+N/g5ZntfMTNLlpu2CBk/7Qc49xAGM/iQsVPszG+6y2sPDoVfZrS/GGzRQt7jB62o2cXAU6qZo+ltkDrKdKU0R0MghaiCDDSrN0f3Ab+2al6tj546ekKI/1CAVTzbbO1Tk1fZ3Us0c2N6EnaNgtL9g1yh/Ewnvfe5ohRvmyGg1OF2SPIzo5xfsyXmnv/jryiota4BnpPaewMxr3IWvMvIolzIpPaBmobh/p2tTaC31yezFzRHtkW85d7qmu7GIq8qNl4zImgdyAExS+TKM3Z5y4bVzFpSYeEIQ2TZJ2XAQZI2Wi9R7r5Q/SnF0nsNGDKlEMg9v9WgKdVASayAGJQMFdH2WL/cuH0MBwkXMwCTBrJbYv+uddn+JseqNzTBxGUNnGe/CcQ== 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:(366004)(64756008)(66946007)(76116006)(52536014)(66446008)(66556008)(5660300002)(66476007)(83380400001)(9686003)(26005)(55016002)(186003)(86362001)(71200400001)(2906002)(8676002)(38070700005)(8936002)(110136005)(38100700002)(508600001)(6506007)(6636002)(4326008)(316002)(122000001)(82960400001)(7696005)(53546011)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?V1pQTis1L09IUXdNMmJLTTV6cjRUNGV1QWY1Q1Nsd2YvNDdIN09Tc1hJZnFH?= =?utf-8?B?LzhBamdyT0RCSmtoZzR0ODcvY3hWRUQrblFVc0l2MERHLzlYQUlrbWxucjlB?= =?utf-8?B?VGsweGI4Nk1pSnNIRmthWGdyK3dNcGtjeDc2V1VDNkkyaDJ2M3VQbGtsZUp5?= =?utf-8?B?RHJ2Q2RVdTJrU0VxdTR4UFNLc3p5SDZsdXRQd1o4UG5nWUliK3JLRVFXd0F5?= =?utf-8?B?alZRS1RrQThmQVpYS1R5ZWFlcU5RdHFsRENyMEx2VnlzKzF1MFdnQmU4ck5H?= =?utf-8?B?Y1YzbHVmQUtkWlhydUV6S1MzeUY3dGFFaTlnU28rbHVWRTNJNUJBUnFzUEpP?= =?utf-8?B?WnRhK0hUUnlRRlBESUV6TmJMNC9Ici9TNUJUa3NTZGxuUUNlVWs3Qk1qOFh6?= =?utf-8?B?UDRGaGVXTlg5TGFsVmlzaXV3am14a0FvWjlMWlEzOGNWR1E2ZEZHakNMZHFR?= =?utf-8?B?SFFQWnAvcENEak1VMUJrWkpsK3dpZjlVSHEvUkFFSVh3cWJNMldaKzd3VEVL?= =?utf-8?B?UTZXdkVmQVJnWDZzNElkOVZTUmxzaUduelZYN0lrMW4rRDNUOFlVRElVSEds?= =?utf-8?B?Y25wVSsyU1l6a2Fid0NrTlM5bmphT0ZIellWdjNPMWtrMHhscmZjSnZEclU1?= =?utf-8?B?bjErNTUxaktqbFVTRHBJRFRoSUdMTitqdXQrUEcwVHNtdG9JS29hRTNNYXRK?= =?utf-8?B?aTNoVVg2Y2NmbjJ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3krRzJDVzBFbFJjR1dSYTNrOC9FTW1DM2Q2UjY4cHB2NXVmR0Ey?= =?utf-8?B?VG1xSVplSXY2djNiWFkzK0pzTHRCWFN6ZUZaZ3hIZVd3LzZjTVkxdjZKTWdZ?= =?utf-8?Q?S8lyu6QiVsGb+SE0hE=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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 277e6b50-4638-4a7a-ca3a-08d98eec9044 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2021 08:28:13.1910 (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: 08ZD74vLjk6CICUjqjWaTWLjXXziorcl7n8B1oXUAG7POknOwIPwuAhgdej7q9lqMFoAEoRwA9/whadwH5sNJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2911 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] vhost: add sanity check for resubmiting reqs in split ring 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" SGkgQ2hhbmdwZW5nLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1h eGltZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IFRodXJz ZGF5LCBPY3RvYmVyIDE0LCAyMDIxIDQ6MjYgUE0NCj4gVG86IExpIEZlbmcgPGZlbmdsa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