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 7F1A4A04B1; Tue, 29 Sep 2020 15:54:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 16C601B6D2; Tue, 29 Sep 2020 15:54:48 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 742DA1B6BD for ; Tue, 29 Sep 2020 15:54:45 +0200 (CEST) IronPort-SDR: yxvWJgUTmM3l+wnti6LGx8XwvuAuKuZez23ecYntPpHYwZZr3nOxxvswbwOdSDU1ncI9AxVJcD 4JQfJyGTLr+g== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="246926989" X-IronPort-AV: E=Sophos;i="5.77,318,1596524400"; d="scan'208";a="246926989" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 06:54:37 -0700 IronPort-SDR: UHo2DQJT51HS/G0SOOEa9SBDA9O4wVNJ9OaH53jZdSyhwN3gVwOTuz3xy8J7RWyPEn2jNpSv72 /M0eG8uIOGvg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,318,1596524400"; d="scan'208";a="457286636" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga004.jf.intel.com with ESMTP; 29 Sep 2020 06:54:37 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.1713.5; Tue, 29 Sep 2020 06:54:36 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 29 Sep 2020 06:54:36 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.54) 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.1713.5; Tue, 29 Sep 2020 06:54:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=To6V+t646nyHPdTM+BvJ4UJuhUmGlVonEhR+2CrnRaLR/oe6QxkkzPF2sXPwMoUzB6bf45fxb4CxscvAUdzJa0huPAOBoD8wrBxj0/WR2yLXHJtlHYAtM2ma4p8Tq4miFltAdBfcssKxjEMzRKq/tR3WfkkFY/fBrEWHJ4Hkc4MT6MhzKJ5A6Jc/TOoFwyrHcJnzbbEBJHG2wi47aL9Elt9eSceKE41DZwanR20hwtPIW0ltma+tVT0Fy/lXIuguEjH2xZYJ+32tWVKXUCSOa2u+LuBTj6m932Fq73JXxBgX0gDzh34t6JYOIu78XL/ezLp1MWKkGk4UkLy/Zh0lhQ== 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=DBTwgGRJY2z3J05i626HZ4Oxl4/tCY+tF9t30pSUhbc=; b=fUFqJ9UxJguJNpBLLLIcl32emo/L9QB3fRCMlrRF4kOiXzrNRvxtRllQH+t777Tqhn3aZYjrsY+RzI8CQH0zfxNEVoDiXqkXXC+0H14MYiEK9eZnzD6k76/Z/cJllU45IP/qwpom4TWLK7NooAIe0X8lTJlg3OG7ZIVKJlQL89jTcEQpQD0M6KGbRbCK/boGjYbKBvoCRmBPKfIRVA1F6FMQvYELYG51GhmhNQtWqq+TQh2tiG3hDT9Dl1L8A7Zbxgg5Zz30v+NMB2DmMhcdIguHV7L4YcDunti5KJ352mXu3S/j4WU+I0Rq8EPaSmc88P50aU69CYfHvQDg8d2meg== 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=DBTwgGRJY2z3J05i626HZ4Oxl4/tCY+tF9t30pSUhbc=; b=OFE3skbPHIrvG/mYyJu3TKk0KBNegZHFGFwDCMQP1k0Zc3Epl0XG8qdXD0Qm3RSKIJX4+/vXxIr2tdPPgvJx315cFUDYs+SyJBkSaDB8aA8Ria5/wvfukNL6gRzYL9/nOKwIJfpBYvyeByVaR8QgLShRV08XnpBP2zSF/g/x28U= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by BL0PR11MB2884.namprd11.prod.outlook.com (2603:10b6:208:72::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Tue, 29 Sep 2020 13:54:34 +0000 Received: from BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::11fa:a7fe:329d:9239]) by BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::11fa:a7fe:329d:9239%5]) with mapi id 15.20.3433.032; Tue, 29 Sep 2020 13:54:34 +0000 From: "Zhang, Roy Fan" To: Maxime Coquelin , "Liu, Changpeng" , "dev@dpdk.org" CC: "matan@mellanox.com" , "Xia, Chenbo" , "Zawadzki, Tomasz" Thread-Topic: [dpdk-dev] [PATCH] vhost: return ready when at least 1 vring is configured Thread-Index: AQHWgCmCWbXfnRoS20Si+yof+Dhvo6luQtQAgARl1gCAAFh5gIABYO2AgAGeMoCACc84AA== Date: Tue, 29 Sep 2020 13:54:34 +0000 Message-ID: References: <1598944057-32690-1-git-send-email-changpeng.liu@intel.com> <8e0e8343-4e85-71f3-8c85-07eb1cff6079@redhat.com> <06542643-cc20-5e3e-26ae-7100005dc97d@redhat.com> <24b547af-2cda-36db-cb66-e5523d169556@redhat.com> In-Reply-To: <24b547af-2cda-36db-cb66-e5523d169556@redhat.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows 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: [95.44.220.85] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d455208a-b7e3-4283-cd9a-08d8647f3298 x-ms-traffictypediagnostic: BL0PR11MB2884: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: c17xF5YERVA4RKEi9ydBkAy9m0TiBAwYQX+Ye5oOtK6Y74xwlaU6H8NwSEEyiTnc0mnhw5CC3+bBJ6ep+xuteEykO1tyfUEwAMOL6BKn5F2T0X1EkCr2SlRN4Kp29weFxqRiCBO2v+7Iy8wVFM10WFxI8Z2/Fns0gnmsaAV8bp/NhTHXOTJ50jVMagnjHS5ZrpZ2YvJyFb6uRktckd2IJ9uTydSddFqN7IpyEKxDsO/s/CkxiO+YqBZRFkftlrwKMKvyb3vsOIgeOCpMIDi7l3XAJBdon0FcQLqEQ73Tc7eb7PhsT5tj2QinOVx6ek7DVPmjwOtFetxTXFKL0/XRsKqedbEwRVQ4km0G2bqkQrtRu89hc/2EhNc8S+lCet4r x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3043.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(396003)(366004)(39860400002)(76116006)(83380400001)(8936002)(66446008)(64756008)(66476007)(66556008)(33656002)(4326008)(71200400001)(7696005)(110136005)(54906003)(107886003)(9686003)(55016002)(186003)(26005)(52536014)(2906002)(5660300002)(66946007)(53546011)(86362001)(316002)(6506007)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: mrmRCcpWG+PsNt1Xc1vMSt0cA5NJl+Zur1n9Zekd/4xzC5+aqxpVSL00k3VYujx0bc5tKA1ShiuFm/o9sGBkBIEjNUjb9XB7DZbEg7NJldws0hqDtDZ30Ir8KzFW2NrGnREY8piqLrTbtI7ItCss6vBRQ9T9tdsu+Y2AX5uKwLLjizCH8Tb6GPGoVBtX4sflMdiU39dVRHTFl7kSv5JKZcpmaEJtONbUos1JIzmdEmtDCp6/xTmulehsHrMlTNP/zBAYgLPxMpDpCMVVH6JxilnLUo/eWMM53A+QsEAv28eEehTyfcw8gxLJHZQuYM8FzsN2tEVgsGd1gvesvFLcPGgdn0gDGY6aLhj3jE084KWDk5JMHmPWhMFG9cZg1VxInt3/TSJhHhKRdgaASJxbPpyrt5r6ylVwk+Wzl/Yhjg6CUcjcTzI27E5lrTydh9tbRZCIIj/J7uPM83LM/YJjJXyaOFqfLN/JLt/bxqmfOJ+5RM1m/omiU7U2aLifwaZ2Iso2p0qbiQlhjzRSD4kYLynV1W/atOsFKYIAOnnaJuhaDDa2po2+Xf5vWLRQw9RaPEA2jSXAv/Tds4EEs17RW/H25Vih0Z4geT4yTQajlTBt6KC90xBkzk8J5QPuh6R8stmi/Us4QFSEHTzKXjIyLQ== 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: BL0PR11MB3043.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d455208a-b7e3-4283-cd9a-08d8647f3298 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2020 13:54:34.4025 (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: mqtj7mklR5d0UrJcs1ZPBvdsNonZ19FC8aJIKY3vh9mQYM/eist2M+k9VMwF2P+DGJ6jjfthQ3a+nJGRGt0Evw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB2884 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" SGkgTWF4aW1lLA0KDQpWaG9zdC1jcnlwdG8gaGFzIGV4YWN0bHkgdGhlIHNhbWUgaXNzdWUuIENo YW5ncGVuZydzIHBhdGNoIGZpeGVkIGl0Lg0KQ291bGQgeW91IGdpdmUgbWUgYSBzaG91dCB3aGVu IHlvdXIgcGF0Y2ggaXMgb3V0LCBzbyBJIGNhbiBoYXZlIGEgdGVzdD8NCg0KUmVnYXJkcywNCkZh bg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiA8ZGV2LWJvdW5j ZXNAZHBkay5vcmc+IE9uIEJlaGFsZiBPZiBNYXhpbWUgQ29xdWVsaW4NCj4gU2VudDogV2VkbmVz ZGF5LCBTZXB0ZW1iZXIgMjMsIDIwMjAgOTowNSBBTQ0KPiBUbzogTGl1LCBDaGFuZ3BlbmcgPGNo YW5ncGVuZy5saXVAaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IENjOiBtYXRhbkBtZWxsYW5v eC5jb207IFhpYSwgQ2hl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