From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 58F57A0519; Mon, 22 Jun 2020 12:06:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BBDE61D654; Mon, 22 Jun 2020 12:06:22 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2088.outbound.protection.outlook.com [40.107.22.88]) by dpdk.org (Postfix) with ESMTP id 205691D652 for ; Mon, 22 Jun 2020 12:06:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUboqjD21LuKyaEWW5dc2wUADUm4VDAGTP11EcTEKo6OvQMkvR3C4PlvYdDhTAJLQQwpcHlTE2+OStb5kXEtFpgBA+gbjkwAQ416Dsbe8wv6ErVeVhhH54AT5zhr5Aa9Sx7qmtpp5majtz8xfBiYeshdzyomOhuzodPWVWrh4UIv1o3qBVHGGEYSmxHfqI0bkf83LIoLTEaNl8R9k0X9Ok7hnLkqVRKY91s7g92V9zVNs3hVZ199UwOXpbfJa4bpWynBzRoGhapU7b+hydrDUNCfX6m94vumCEXLYiPpv31ipXAqdD4NSp00DVxaN/XLXHmmoZ7mKwGepZ4py3zt8w== 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=ydVfGMb2CdKrEvp5bdX+PQQzJtPVe97nEcLcvbFZ9k4=; b=Ob5VGAm/+2DDCkzWY3L7iHJRw44W4LiwpS4myqh41X+0vWR6AU8j4mSC4vQsa4jRyXywB+36oo6gZzQuVBlztKbcOQgF4MLDh9dGSbh8QUDEly9UgFc8ctn0+HHp8XqpqbJwQdK8Z2K6+Jw0llwnWYRmZ5zk+agCLPSywj5r7Hsu6vjP73OVe+kxWV7Eagt8RJkIlu9zJRlT6jOYisFTcfu1Azx9Y6PMfI21Ws4ylpMcYp4YRmevuiMLYy9bIz+XqdYNjuXjUBpcym0HE/xvDTV50UsbuCcX4gqjocVzDaM2d8LuNJsPOMHP8UFgKctMM2gT9568a9ApZn+aNnfkSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ydVfGMb2CdKrEvp5bdX+PQQzJtPVe97nEcLcvbFZ9k4=; b=J1do16umQkXrd/0lxjnd32T0KchT5Wj/X9SHgaYm+ZPz72L8IGLc5C92MzB+khGF+Zpl64nQ0RSdFZCf1OZIcVFkTQ+pZ2+rSO6ta6/xaSumk2BAVxdOpDeU4YxZUwbujynJkkVg6an/4x7QwKd5l9hOy4ku7tYiGNXDHQx0q0M= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB4035.eurprd05.prod.outlook.com (2603:10a6:208:9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Mon, 22 Jun 2020 10:06:19 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b189:d782:4c74:7998]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::b189:d782:4c74:7998%7]) with mapi id 15.20.3109.027; Mon, 22 Jun 2020 10:06:19 +0000 From: Matan Azrad To: Maxime Coquelin , Xiao Wang CC: "dev@dpdk.org" Thread-Topic: [PATCH v1 3/4] vhost: improve device ready definition Thread-Index: AQHWRY1+WLgdYR0e1E+Ph0x8zoCWqqjfjwYAgAA4hqCAAC+iAIACniawgAG2/YCAAAcQgIAAB3QAgAAM1OA= Date: Mon, 22 Jun 2020 10:06:19 +0000 Message-ID: References: <1592497686-433697-1-git-send-email-matan@mellanox.com> <1592497686-433697-4-git-send-email-matan@mellanox.com> <631a3cf3-f21a-b292-b475-93552d8f73e8@redhat.com> <96191de9-63bd-0937-5bdd-d81e9db14e9f@redhat.com> <74f35cd8-3543-ba1c-0dc7-1502599e6cf7@redhat.com> <197079f4-7436-4f9e-7b8e-b8cb42042ffb@redhat.com> In-Reply-To: <197079f4-7436-4f9e-7b8e-b8cb42042ffb@redhat.com> Accept-Language: en-US, he-IL 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=mellanox.com; x-originating-ip: [77.124.38.174] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 886a8623-5d7e-4dba-6d97-08d81693e906 x-ms-traffictypediagnostic: AM0PR0502MB4035: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0442E569BC x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pvVGaqej7/gNOqE+Qhs7jphKApMOZyVADKQCQ6VM7htr87ZffvgW/DC+mbgDuhDTf/LhfS4J5Oao+gbMDIwrtJOCxGoUtE/Lqnv3tWxs9rmlJebLnHVRhtgR9xZhbU+N2JVCtEitgVQWqtwtHzdDTvhfB+NNosZP0jtrJP+mEqaBHhF0yolrpUSZRf0zMDyV2Q/WzQ3FBxQF2TaOVrHEit6vgTtBhZPbGblltgSPCtPe9y5Gj5UAQzAzsxsFFWldDuwbFdmosmv7yKjyTV9i6C/SVZGFeEEjdBkJgG1zIECXeEPBsJHEmSAvib1o0jMtqS0aEeLHg+U2HZBowJg9qg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(39860400002)(366004)(346002)(376002)(136003)(52536014)(53546011)(7696005)(6506007)(26005)(186003)(71200400001)(4326008)(478600001)(33656002)(86362001)(83380400001)(110136005)(316002)(76116006)(66946007)(64756008)(66446008)(66556008)(66476007)(8936002)(8676002)(5660300002)(55016002)(2906002)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: +CFOU7r0cUtTaua8Xkhxna+mcsplQ/UHhp9GaoGTrjH1Su3s14FPNelClaxHH84N0XpjpV/j/YFioCoCNIAfaCODjUnNoNbVFt8HVyjumNNtLbYFvJS2aapLh6Xc0uVwvlt+GzsPqkAS9fKS54LbDN6ads8TtB9ulDIWE00h/CfFJBFDKP9keZXK3Pmu2Qb9xbSodo0nDqaz08lrF1AoYBVtXqGH135Ou00Segq+mNhp0wSVeLTiav08IIM1sLbN7lS7pdd6rH/35AF8OkBldxP4Q48AELIgBt93dcCYLXpq681Pvgvg8Fhlo3RQDS5+KEDok8czxUvZO03EFfNjhtfZTBl0cyqe39RXd2oWEOqarciQQON7YxacPtR/BKYuNtP8jyjXWRm4iVVKAa+nH+H0aV3Ba9miQ9NhVlq2WZU+Y073117MibyJa+xQcCn1yMkssh0rf4NapxQ6NDmx7UbVh/zFrIR9C7hv/xDDUEY= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 886a8623-5d7e-4dba-6d97-08d81693e906 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2020 10:06:19.7561 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i4KMxAOVFhKMFggAKFCK9nJD4RBeoBWra/RaHYAjR35ecyD9oS0503vzizEOg4aJ9+LxphPbkPOmxcogD7QwWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4035 Subject: Re: [dpdk-dev] [PATCH v1 3/4] vhost: improve device ready definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" DQpIaSBNYXhpbWUNCg0KRnJvbTogTWF4aW1lIENvcXVlbGluIDxtYXhpbWUuY29xdWVsaW5AcmVk aGF0LmNvbT4NCj4gU2VudDogTW9uZGF5LCBKdW5lIDIyLCAyMDIwIDExOjU2IEFNDQo+IFRvOiBN YXRhbiBBenJhZCA8bWF0YW5AbWVsbGFub3guY29tPjsgWGlhbyBXYW5nDQo+IDx4aWFvLncud2Fu Z0BpbnRlbC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2 MSAzLzRdIHZob3N0OiBpbXByb3ZlIGRldmljZSByZWFkeSBkZWZpbml0aW9uDQo+IA0KPiANCj4g DQo+IE9uIDYvMjIvMjAgMTA6NDEgQU0sIE1hdGFuIEF6cmFkIHdyb3RlOg0KPiA+PiBUaGUgaXNz dWUgaXMgaWYgeW91IG9ubHkgY2hlY2sgcmVhZHkgc3RhdGUgb25seSBiZWZvcmUgYW5kIGFmdGVy IHRoZQ0KPiA+PiBtZXNzYWdlIGFmZmVjdGluZyB0aGUgcmluZyBpcyBoYW5kbGVkLCBpdCBjYW4g YmUgcmVhZHkgYXQgYm90aA0KPiA+PiBzdGFnZXMsIHdoaWxlIHRoZSByaW5ncyBoYXZlIGNoYW5n ZWQgYW5kIHN0YXRlIGNoYW5nZSBjYWxsYmFjayBzaG91bGQNCj4gaGF2ZSBiZWVuIGNhbGxlZC4N Cj4gPiBCdXQgaW4gdGhpcyB2ZXJ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