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 2E0D4A04B7; Mon, 21 Sep 2020 07:03:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0662A1D8E8; Mon, 21 Sep 2020 07:03:15 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id EC1811C1A0 for ; Mon, 21 Sep 2020 07:03:13 +0200 (CEST) IronPort-SDR: YmFWNw6NBXTzZ8n8nmMMeWB1LhjGoxd2Wm4jXtvPZkjRZ7J9+eSUBx1feDxD2Lo7CAvkw2Z1gy DvjCnBjrj0YQ== X-IronPort-AV: E=McAfee;i="6000,8403,9750"; a="139808648" X-IronPort-AV: E=Sophos;i="5.77,285,1596524400"; d="scan'208";a="139808648" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2020 22:03:12 -0700 IronPort-SDR: n/8IMc7X3MDI7onNK9zauupvWTmSWRMh24T+m5SM9uQPEJIl0S/rGOLkaP9cNix1w3ICEhdMVP i9REMX/SyQdA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,285,1596524400"; d="scan'208";a="337741805" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga008.jf.intel.com with ESMTP; 20 Sep 2020 22:03:12 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 20 Sep 2020 22:03:12 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 20 Sep 2020 22:03:11 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 20 Sep 2020 22:03:11 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.175) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sun, 20 Sep 2020 22:03:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W2b+q6CMLy1D2YUafcBi07+Iw5a+a7+f9tT7WKZmAYNCCmmTl0Bls89mrJdHYvmtzcaEkVH5vg7ScpSPy0NZf0GrYOojCpgoATXoZZoCYssW5z/21pPoj/sMa8+quPFh6Ih+Og/SSFCkShTleVjdcRonIRQiIUe20P8Dr4+XatiZjPwl8LC2JMTQFBNvyHp6YG6FuYbEcnHCrafKIbhrWV3R+rc+fudWN1H0PvNZdN3oYAym+ZiTlXeajUsO0AFjZIrOqh4BMKadRT2vkfMhPTMqL6HNM1K1cJ04lILOlM4dcrOvgY9l0GKAPMdB/Xwes0uOSLzismSW+0BqhQJEgw== 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=MK5yVT3HNpqKI58LFbJdOahW3ZoX6YZPjOGRvVMizgA=; b=cBstljgwRkqhANXToEPYuQgCeu015ddUkGUWGzpB66NOGTw0b6bEuvbAhxr+Llk0PxO0WAogMV1gzR4GjQ+F+AZ+WgMSNqH9nWq8q1hgPhXwYQu4Or9TExi+FEosbmD4NKeYmrr1y5hYnHCfYpYcG34XxGPiBNErG/Qsr2rWO9Sl2zkztIYCdEeTdkeGDS7k0+L9t/Psz7bmei1JotmHR7CX+xZh/K9eCrfW2zqTumBLnt7p3NqAI+8qA8lAZ8LxObOrUWIJXvf46FMgIY4L7kroMmJO8PNMfAqsXWga3I2BdWiVg+7qsNAq36LQlmJSoPjP82vzMxwaUpni/LU6VQ== 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=MK5yVT3HNpqKI58LFbJdOahW3ZoX6YZPjOGRvVMizgA=; b=t5fnHJK1qsdcqloIkXA4nFuC/nDrMt4ybb4elDTgSdjeagYnKAZoKlyivGvhHJWikxCNiKExfeR5ZD0EUg5ob3mA1ga1bduOq0FLimrdeZwtOmJIpceSeb/yGF7KWK7CD07EP4W3Ntyo1bBwJyjFCkJF2bBxjaM2venoijZCgN4= Received: from BN7PR11MB2739.namprd11.prod.outlook.com (2603:10b6:406:a9::12) by BN6PR11MB1841.namprd11.prod.outlook.com (2603:10b6:404:102::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.17; Mon, 21 Sep 2020 05:03:09 +0000 Received: from BN7PR11MB2739.namprd11.prod.outlook.com ([fe80::2cc8:a95d:aa08:c552]) by BN7PR11MB2739.namprd11.prod.outlook.com ([fe80::2cc8:a95d:aa08:c552%5]) with mapi id 15.20.3391.011; Mon, 21 Sep 2020 05:03:09 +0000 From: "Liu, Changpeng" To: Maxime Coquelin , "dev@dpdk.org" CC: "matan@mellanox.com" , "Xia, Chenbo" , "Zawadzki, Tomasz" Thread-Topic: [PATCH] vhost: return ready when at least 1 vring is configured Thread-Index: AQHWgCl2jFYICMp/WEWJtA8bZ8pvjqluQtQAgARkE2A= Date: Mon, 21 Sep 2020 05:03:08 +0000 Message-ID: References: <1598944057-32690-1-git-send-email-changpeng.liu@intel.com> <8e0e8343-4e85-71f3-8c85-07eb1cff6079@redhat.com> In-Reply-To: <8e0e8343-4e85-71f3-8c85-07eb1cff6079@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.5.1.3 dlp-reaction: no-action 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.198.147.223] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2b02d4f6-9781-4c4a-9c5b-08d85deba21c x-ms-traffictypediagnostic: BN6PR11MB1841: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KfTLPZLkK7mS+7JFfU+WqROewUaABbQxEX9atdJ1z/MubsXNfPjYDO7PzGg6iHqL8pFN3zB9ET00ESxE7EjgnZWAK8UkJXMAMEDsD1yJ433EKJUQnk/DS5TDJsHgKqJOMColdjDU1VZQnoYtJK+dtOqn6aBd7jVXGsc7IUrFgB9WZJQERZd+ewJc8Egn2euaLjQQJ8ICgWrt6TQRg8/ANn4nzy+ZFcinjltiIjh0O/8+YQXLuYIXjbdRDU2/MgVbPG3CI685zgCU4locnMDeyj+8IllSkV8mA5Kd7v6j0JH6P9yTD2B6fOjht+sujGW7WG+4chDv24BPGDnT3Pu6AQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN7PR11MB2739.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(366004)(346002)(39860400002)(136003)(33656002)(478600001)(7696005)(55016002)(110136005)(54906003)(6506007)(53546011)(26005)(186003)(76116006)(8936002)(8676002)(83380400001)(66446008)(4326008)(64756008)(66556008)(66476007)(107886003)(316002)(52536014)(9686003)(86362001)(5660300002)(2906002)(66946007)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Nqe4jE8ZQ5XZB5/7ttebdt/kpyJ1eZmRPcYwUClqYz3pEmVCh/iA1UZzxfDb41eSCqtWvZ29w5AHLWLXsQZy5ifJRj3OfYmKZmSySYJk9FpcC0lRvGQpD30ad9AsspmKSpN34tiCMTDhnTWZLvkNWfVtwdbLiowPOQbqsZd6gNQ+Y6PezApX4sYBV5kjiIU2Cv5z5jwOwWE/G+pRYZH7Fpk2mZHq9nBPi42Klw1sMHOk67Kn4TDn2F71Lc5vihjUOUV/Oe1I/h1Isj6Jn+yAa33F3vqmRlS+Wzb7p8wwQq7K7KtwhJuvJu7/MLr5g/P4xXJ1GBXr+DUlUgUK3DzI90MFn4jgCQcFm3j3NRB7FjnPbLCSHx3sz3AcQcGv9VfYjbheFyeqPh7b96/Tk+ytS2CfFLSjMqV+9qTpYtZGMHswJ/Qc/7Yg4uE9pGBfqmittoDrnLRreJZVytBsqGkagwOD3R/uJXgOUVdS4psbcoyIm3ZFquAUsNRS5Qgz928hinLHOldE1Suft9M868BumRWQjKf8Msv0WaG+pL3aKFiI4IN9/7iACmzQGaz57lB/6cuODUAufUTpZKZSV9HIDE130C4wwFy4/TPXFBBKEn621gByxogT3O4yDkyPGQvBdeVEuCCro3INhdjy9LYXPw== 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: BN7PR11MB2739.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b02d4f6-9781-4c4a-9c5b-08d85deba21c X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2020 05:03:08.9568 (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: QvsZkb4jy2uyxvIpyPRGeO9KgJ17r31PuCi4XLeJOl+obuD8a7LEPO6mEuWP1dYkk+FBziv4N1bORMBJ5+qrzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1841 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] vhost: return ready when at least 1 vring is configured 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IEZyaWRheSwg U2VwdGVtYmVyIDE4LCAyMDIwIDU6NTQgUE0NCj4gVG86IExpdSwgQ2hhbmdwZW5nIDxjaGFuZ3Bl bmcubGl1QGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KPiBDYzogbWF0YW5AbWVsbGFub3guY29t OyBYaWEsIENoZW5ibyA8Y2hlbmJvLnhpYUBpbnRlbC5jb20+OyBaYXdhZHpraSwNCj4gVG9tYXN6 IDx0b21hc3ouemF3YWR6a2lAaW50ZWwuY29tPg0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSB2aG9z dDogcmV0dXJuIHJlYWR5IHdoZW4gYXQgbGVhc3QgMSB2cmluZyBpcyBjb25maWd1cmVkDQo+IA0K PiBIaSBDaGFuZ3BlbmcsDQo+IA0KPiBP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