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 1EAC8A0C3F; Wed, 28 Apr 2021 05:13:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91A2C40147; Wed, 28 Apr 2021 05:13:13 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 67B0040041 for ; Wed, 28 Apr 2021 05:13:11 +0200 (CEST) IronPort-SDR: LDqeiCDXo3S6MJatpA5RTe9APQRO4zQQ/Kx+Y2bmDImLOww5slLWtp0pn8isHNSwRePbLo9MFf GaUO0bSWXDPA== X-IronPort-AV: E=McAfee;i="6200,9189,9967"; a="281980103" X-IronPort-AV: E=Sophos;i="5.82,257,1613462400"; d="scan'208";a="281980103" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2021 20:13:09 -0700 IronPort-SDR: IkUwNFuUZrRgN1zbHYiV+XW2EK08PUgMLwsKWRc88OZlvp13VN+DVqQx+ipl/RGSy8hwpwipLM 7pp5rInyxLug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,257,1613462400"; d="scan'208";a="604733871" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga005.jf.intel.com with ESMTP; 27 Apr 2021 20:13:09 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2106.2; Tue, 27 Apr 2021 20:13:08 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Tue, 27 Apr 2021 20:13:08 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) 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.2106.2; Tue, 27 Apr 2021 20:13:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U6QKgQQiScSJCpvXeZJ+tBWvqBb92nNqpMvwJwxP+9X20rLGR9uf4bw7lukK2K1NVq2a88unmqe1d7rf0m+ozPS/+9vlpIkF36ZmwLmRxrr2ULBRbnTzAT15hyfdbygdtTgwa0Kvbn6sItor6qTcumILzNrL4hk7n/NFYtX234jDKr2ip5YDptYVmao95OyyAvvfd+L+04+TPBSFgrXtHVfrdfJF0S3o8Sb6djEQsJ49F8H4kGDMkNRr6JG1XE6fv9U+TG78cP0xbM4hfyhF2WFtf4szvyd0WJENg8ZuL065NBbYxK3/49/aVtBDoFttgZ9ByBD87OWoqQKlkLYrxw== 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-SenderADCheck; bh=Y8wzftGJI4BX+TorxVdYpPkrlmSVkbo72olJl5x2PoA=; b=UoZ6VMkZZXyYhDR4hMlzRMCNQoGdIBuBwvjOPR8bllK1XGKKY3VytYpDd1gAb3qOREBi69C4Xx/A4QHGw6C2gXW0TSpLNnOfLLT8OEFhhnArfOWk7nU/x3v0rkDgP9oY/qJJzbQ4+AqwpwQ4uPOF91uK5FollNQLcd+tXleaYaUuLtQwwnrDxQ3ziKbQ/pfYFFPCz1L/F2qFA238PQ/ssXbErcHswRn4fcMZZkEN7peqP6AMUk4BDCnLf0/PFjx+NdX5U9xRd7nFrAXQY5uL7/+2AWg8eysxBPF+V31CIYyNu2icUD6OYOzQ72423T2+h2z6iFA3OeW/bY8dMy/0Pw== 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=Y8wzftGJI4BX+TorxVdYpPkrlmSVkbo72olJl5x2PoA=; b=sUDG3zfHXDWnxJZg9mczHgQYTjE63QnvQ7fva/5ea1ERzBKUym2Z5kXTKZLvfMSCVMb2jxj2rixp6Mz6iNAuuR8pDcKYGBzce8CfNmSNhoeahLWtULx4kmwIFwwE3Op8xowQYVpTKRISjkPnoU+d5YgjvVAMn5pkfADQigdgOXk= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3824.namprd11.prod.outlook.com (2603:10b6:208:f4::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Wed, 28 Apr 2021 03:13:07 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4949:e7d9:9632:6fc7%6]) with mapi id 15.20.4065.027; Wed, 28 Apr 2021 03:13:07 +0000 From: "Xia, Chenbo" To: Balazs Nemeth , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] vhost: read last used index once Thread-Index: AQHXK5RMtCflwD3xBUa7NljRnELziqrJYYew Date: Wed, 28 Apr 2021 03:13:06 +0000 Message-ID: References: <8b9b42cf2b18feb41c4b64a174ccc154847c59f9.1617789063.git.bnemeth@redhat.com> <8b9b42cf2b18feb41c4b64a174ccc154847c59f9.1617789236.git.bnemeth@redhat.com> In-Reply-To: <8b9b42cf2b18feb41c4b64a174ccc154847c59f9.1617789236.git.bnemeth@redhat.com> 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-originating-ip: [192.102.204.53] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e78abefb-17f9-4917-dce7-08d909f38b74 x-ms-traffictypediagnostic: MN2PR11MB3824: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HGKoBqamb7LbwCB08BiVuNw/wVT7V/THDv9oZ2F2ndp4nJbobucju3f0XMn0MG6QC0YvKocmUisr2MzpO/8sqGbibu5TH4LMh6cWnmErYN1wQl8YZnQnNJrt2vmGElZYt5yy7hIAzX/feyfLf0UbA2jdo7okJzmaSZXXZ53ersN3c9fM8NKMmLq0JCM4RDyyeOFLY73LSewIaiNsdCIBaSXZsg9IjXpDFy1U1TV1NdVERLD6y+V6IWR76nGzs5zYCa6ckOUz4GJB8IpZU77paKRjbjPTng9yIgHac+RX60FFEzCtJl70N+GXY/jWyalzKvY2nZtOrU03xF5SqqQ711dDtWfZwr8/hCzuWIvL/woPD3VCtjdZVzdBOwGcGZs40EYZIh5F06VkA1hr07rjBLBcoOV5T31XiaEqq6e5iSXcMqZavvcQGlNQnif0m97ndnKBBsIQNNzxWDNoUZAXhjEfIOHMIrXU+TgPhDc2LVTV7Db+otheljcHIRUHKmnYi3uIY2V3jSUHWhZQZOwik6WGf/Quoc29X2ZsQN1EYOdMp0U53dj30SWUaZd4EBesfN4/uFHfkN9FvLwUQv922Y24hn1NWW7qAhO+SHUwJSo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(376002)(366004)(39860400002)(396003)(346002)(478600001)(186003)(55016002)(76116006)(316002)(110136005)(7696005)(26005)(6506007)(53546011)(8936002)(66446008)(52536014)(71200400001)(66946007)(64756008)(83380400001)(66556008)(5660300002)(66476007)(122000001)(4744005)(38100700002)(33656002)(86362001)(8676002)(9686003)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?aExhTytiakRkbEF3MGUzUnkxampmU280WnMra2VVWXV3QmQ3NHRoT3hET0po?= =?utf-8?B?bHFYaVpobWRhS25QMzBBaHBRYWIrRVlzc3Z2ZXNyVDQvWFZlT0YweVdPKzB0?= =?utf-8?B?NXVyS2ZqQTZ2ZW1ab1RVcUZYV0NxMlM3NVU5eXpBSXlFMXYyNXdoeWlKV1NT?= =?utf-8?B?WFVKNFFuUEVhKzNHc2JsZ1J1RDdCWTVndEVsb0ZKL1RPN1VxL2o0U1phenB3?= =?utf-8?B?bGZPOGZadDZBcVdXd0RFK09QYzJDZVJIVktIb3pMRXBaTjdEb0hmUVBETUtZ?= =?utf-8?B?NEltWjllWmpoVUVvOTM1MEpORlkyeEUzS3k0Zkc2MHAzYmlNYTJrb29RWFVj?= =?utf-8?B?dzJlTTlRMUNHdEdudGZPb3lLeThtTWxFNVMwNFUrelZpcVlIOVY2Y0RtNHNI?= =?utf-8?B?Rm1ZTVI3dnlWU0JkSFc3OFc5YWR3UFAvakRrcTVnc3FVckMwblNlY3oyQzVZ?= =?utf-8?B?dUdJMS9QZlNpWDFUckpMMVZBNWNRNzg4RHhySnFOWnp5Z1lXYVErdWZZTzNW?= =?utf-8?B?Vk1oV2R0ejdEOHRsUHdmTU1XNVFnYVJ3YTZtZUYrYWRENDYyV3lNUkpUTVc1?= =?utf-8?B?emh3bVZ5cXJLdFZzdUxEOHM0MHpySVRLRklCSVlFZHZNRllUNWt1bnQ3WVl5?= =?utf-8?B?QWs5V1cyb1NqTVFIWDV2Y3FKaU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8?B?TTBKbG8xU0toQXRUaUhiMG1VUDUySW85TWJLNE1ROXA2bmJuMVRFTzNUaGZE?= =?utf-8?B?M0hKeXF4bFhuTEcyWXEzaVpWWUhKbG9TL0lxWDhKcDArNSswS211bXBFbHVM?= =?utf-8?B?MjVoN2ZtbFZiY2cvbzFLcnFLQ2d5MmkwYTF2a1FrMkpBeldja3IreDhaRDF3?= =?utf-8?Q?U1t9gBmuPlrdJpHqxwaO6dFm31hcPNtnMh8bm8E?= x-ms-exchange-transport-forked: True 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: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e78abefb-17f9-4917-dce7-08d909f38b74 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2021 03:13:06.9431 (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: YxQeNq8QgsNDN2b5eljo6kI75vBx2sbVzvW11dGCRAofB66PeOMC0iPtM0fMiO0p8lMEcptGznpvItbYho5NGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3824 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] vhost: read last used index once 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBkZXYgPGRldi1ib3VuY2VzQGRw ZGsub3JnPiBPbiBCZWhhbGYgT2YgQmFsYXpzIE5lbWV0aA0KPiB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