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 C5783A0526; Tue, 21 Jul 2020 05:38:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9412A1C012; Tue, 21 Jul 2020 05:38:49 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 387DE1C00D for ; Tue, 21 Jul 2020 05:38:47 +0200 (CEST) IronPort-SDR: tCi8XoSGyd01WhZ7jxZ+4A2axaJyl6OHQT+Lf64wnft6RLiov/6KoC+UJAxDBWvL6QU+NAzYEQ Z9Bmuwats+Yw== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="137544963" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="137544963" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 20:38:46 -0700 IronPort-SDR: ejqdA9TXdScAkV8SVMOmdA9gxGkFOfzK4+wlpeIU0kYwZ7LZ5Ok7z8itkpSXKaLPI12W8vQwY7 ojI8jiZ3hRfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="487467407" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga006.fm.intel.com with ESMTP; 20 Jul 2020 20:38:46 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 20 Jul 2020 20:38:45 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 20 Jul 2020 20:38:45 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 20:38:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J4fPLbVC3H7XoOHN27Ra6WaG1b48TZFCZD7hZTwFT840ffL3xmTtacuqfB4Lsw4VWcrsh71bt7whCS/sYIV0y3ZXSG+Soc/oNP1v6ES9k4Cx0YwEOaxuWghF0axcgXNznqIH1qZnKb1owiZClHDHFYtm3wPUvvxGtGN4tI/zi97Dp0Y3XuAHowcwNrSD2nZ0jES3krN1zvPQgnZExE+hnE+GirlEzHnn8GtzSt0t+pskUaQUL2Btrn4dnP+v/LITDx4c5QjWQ7bRCcAFHzvAiio5xgRWtqFHXFpq3wz7Kd8fTihfy5ajPLIdXqgay5c056iqHJ0bRzSpwAqvP2hQVg== 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=HaBZ7joOXOzcQNxfDuNcalrH6vvTYw9ZBxrXWuNb0II=; b=KSqTQB0TGWd2qAHrz7hMByjzSreFGGEwp9LjeMmQITsfmoMObHWVvtNm/zO/07cT0LCuf3jqxVRXQHplYSbS3gJ+XW17YgGEqEJxXQ8OWHkUtLicwBym9SjP5mI+z3T1urLU5QaaQXQD8eIc4BmjRfNOZEH5ArYarMaYy3tAUR2Cwm4NXmaB1Gp+9cI03OZQdegoF8sqAl0PkrO4oqDM8mKBH/zGi3/NEJo/iw1iDFZ/MaX66OA/3PpicCsKtdhSvz0OlGb8WPKo3XDyQdd3EpoxEs2hRsMmHiRcSjbBt3YzkL1CpIF0sM8ye+tJHdN+3oTkFuoK0TJbGIPChO8YZQ== 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=HaBZ7joOXOzcQNxfDuNcalrH6vvTYw9ZBxrXWuNb0II=; b=O5eRQ5ClNkj9E22NlwRm5MToV6YOBLOov/p3hlr4b/L8BTnRFzlbRBZ78GAnDCvisN6dNY+Z+JiWVF0xLdCsSgOGnG+irlL6UPknItsXWVUBIKGlmJICkk7opShKHaIn51LNQy8ucZiYQcFkAfK51LQY7leYPObAAdeFyxM97J0= Received: from BYAPR11MB3735.namprd11.prod.outlook.com (2603:10b6:a03:b4::31) by BYAPR11MB2950.namprd11.prod.outlook.com (2603:10b6:a03:8f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18; Tue, 21 Jul 2020 03:38:43 +0000 Received: from BYAPR11MB3735.namprd11.prod.outlook.com ([fe80::2571:24e3:140b:d78c]) by BYAPR11MB3735.namprd11.prod.outlook.com ([fe80::2571:24e3:140b:d78c%7]) with mapi id 15.20.3195.026; Tue, 21 Jul 2020 03:38:41 +0000 From: "Fu, Patrick" To: Maxime Coquelin , "dev@dpdk.org" , "Xia, Chenbo" Thread-Topic: [PATCH v1] vhost: add vq status check in async enqueue poll Thread-Index: AQHWW4Y2FqMnWea5lk+5zm086F/yVqkQpewAgADDykA= Date: Tue, 21 Jul 2020 03:38:40 +0000 Message-ID: References: <20200716153010.2894802-1-patrick.fu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows 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.200] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f5e7f8d3-fccf-45de-b890-08d82d278fd4 x-ms-traffictypediagnostic: BYAPR11MB2950: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:639; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6dwtYyUnM3QvzkUHb/u57cfUUO62RXYAIJutfZEmuu0FwplAjWjCE2hp+47F/C/gJw4NQinICtc6PW6i+yiviPtMTJGLfiLs2opMIiIN+eOpzm8KrSNfvZEqyYbxgh/SXNfHl2QuRWy4Sg7ukUUMfO92OcqF/xgFAjTakvum5j1z8g+q9WD8bBTuiwN4es+zldxGqet9wM7lL8ehzbW9fhzG56xNOZrtvtGJx1R7Rf1VI6XAKXgsZlRl50MSV5f3YE/4HSWFf34zoLBRHGULbnxRtk9PW3el3qUFbQzzCjBYWnX/oT49Nhb2gEKw9YgJxejd8X0jq4ihPm9JPj/MGA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3735.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(396003)(376002)(366004)(346002)(39860400002)(9686003)(478600001)(83380400001)(110136005)(26005)(6506007)(53546011)(33656002)(316002)(186003)(2906002)(7696005)(86362001)(71200400001)(52536014)(8936002)(64756008)(66556008)(66476007)(66446008)(55016002)(8676002)(76116006)(5660300002)(66946007)(6636002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: ahKdWC4jWna3KQUwk8Ano8oIPpI3YkSkKNJaHycPmrfUbwvBLi287tgIVeQbA+WZAlGWdzTaze4Rlqa7+djIQyIryTnqgosbPjDApvPy60JVTpLwTFy/2CSGzxGnnumLppLgQE1a9FU6vChPxMdtgeX7SWaQf7SUeTxwzSwzxxMlCMxeyer216GsoaWAJjVHGTHqNKU21sTsn0TMT9NbCCmP3qizQATexZc8gCpvo/ikRUjZEgRMGB7havQuFMoaLrJ6US9jqm336wZIW5QKweNStYcrTKJjvpm0Z6Jkq1qXDEPgwIllrLEIyXQMr1ZGIdQzZaMIDonE5Vfg4AMc752pAsWwNNSDtDiaMMnjl7zmeGK+Te2ld/Kpwf/kaWP7mMPrWMA0nK3y/ehcm+IOsl0RwWmmddUZLD4hqo1tAIRVZthP4/oFKhvZseOFVdF3JQxNIR/dL0pbi/PxUjwCpLNSqFzXAS9vyyQDpuNdHROzYowIfoQKqP0ine2urC0n 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: BYAPR11MB3735.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5e7f8d3-fccf-45de-b890-08d82d278fd4 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2020 03:38:40.4577 (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: Je7uV+oPV8MNbHmpjamY8VM38s+l9XuRSBfN81vQkMwRWdl/4Y1ChEKKLnG828K/y/lXX7QlCxR4/9PtvDoEoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2950 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] vhost: add vq status check in async enqueue poll 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: d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