From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 445A0A09FF; Thu, 7 Jan 2021 04:20:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01EE6140E70; Thu, 7 Jan 2021 04:20:59 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id E3D1D140E63 for ; Thu, 7 Jan 2021 04:20:56 +0100 (CET) IronPort-SDR: HR0kcFaD87PghBjpFds7M/A/yyUnN7aE2q0mn/NJoReQpdo5mwtF/AJmyPut3H0+aZhprmv+Gb bcJYSmShR3ww== X-IronPort-AV: E=McAfee;i="6000,8403,9856"; a="238915877" X-IronPort-AV: E=Sophos;i="5.79,328,1602572400"; d="scan'208";a="238915877" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2021 19:20:55 -0800 IronPort-SDR: 1VIwmK05vR11JKD0zlrNGcWfepZ5UsfGqaDIsKJuY+GtDB58Hpc/Snhch0VedYOF7IEZPJ2Nln EFjD8pYKx5Wg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,328,1602572400"; d="scan'208";a="398468861" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 06 Jan 2021 19:20:55 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.1713.5; Wed, 6 Jan 2021 19:20:55 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 6 Jan 2021 19:20:55 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 6 Jan 2021 19:20:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lMTfCUQX1B/1Fb8627fZnGvTe7qQN/f7i/WQYuqCLUJB5Vei+rLjjURiNjtfQQd0Xr04vRigC88R1cW10uXHwG/TkZ+FIgAJ7CQjYvCuHrWimNTDROZgtGIU2x92TxiiRKcIeOu7LSBU1PsU8itM6CQT1TqGllFSuWSKf67l+Pi7cRfEanxdcPrebmW5nrg1oCNtxMc3cImQ+YCVmSomYhHaoyb9gY+mWOk3gaN/4cNauSQJvv5WRu3WgmMCSIKyOjhjz3IDaNwUCK05T/OSyHubO3/bG96m+9Soht2uKA9k5mO1a2p/v2AacXHKwpBglxGPwbKFtQu8qDi+ye1FCQ== 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=Q8ccbAYLpZuB1lRxNQJ3r7mDWbJGJ26VfhiezwdqWt4=; b=ItscXFoxflLy3aNH/QPNOzhLegtKRzKwIys5fcopXXJjokZzSl5qGV4mpnkuMM6umDmyuntW/Dst70GDD2T61MnhfiLKWjRJwWgC/fN008q0Ui4SSMhxNAERkV/+L+EAKZrOdjvYYj9AeOSetV8iL5+AoBgM+cRZX0thbobXXh0nLkKUJfgDAAGEkWV+2yHFf4HjDdwWPEPg9PNta/6rn0TK/HH/9iU8zkv5AWRXr+gnEdnKCCizfsnXGByWTCWRU7+U0Lpthlmc7IJWMwHoKFFF2aR3jhmVvGPlndrwkm4SLmJ1wHIBJAwoRvBoGO0vDYKUogPxZPvV+Av9wr6z4g== 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=Q8ccbAYLpZuB1lRxNQJ3r7mDWbJGJ26VfhiezwdqWt4=; b=xFKqS01/80NmYzTeREqmmTihLtWxwG/QmkR9SeYOHfZL2PKalmlvkml4a9VBkG7Uetasnq7MF23wonLLzH55PVjIIvOjCIjPUQfquR4Kg28DbH9MwShKhfC3LAV5D82ijaEFHU0geCIof6kmM6N7mzVU3F6WxmYFAvLsxlkZisA= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3871.namprd11.prod.outlook.com (2603:10b6:208:13c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Thu, 7 Jan 2021 03:20:53 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::74f2:ba7f:cb22:5272%7]) with mapi id 15.20.3721.024; Thu, 7 Jan 2021 03:20:53 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH 35/40] net/virtio: make server mode blocking Thread-Index: AQHW1xVu+SRfSzkX8UGkt34nIf2zlKobjimA Date: Thu, 7 Jan 2021 03:20:53 +0000 Message-ID: References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-36-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-36-maxime.coquelin@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.55.46.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d9722322-7e00-4301-ca5b-08d8b2bb3dbd x-ms-traffictypediagnostic: MN2PR11MB3871: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2803; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jdN4s10Px20KL4LuGvhfvDgmrPtM9+FCyByJbrzI2BHXVCCbemg4E4BVF75tbUbdCyuLGUBXuHuUwkZLUbW4qMm/p3l45P+wAGzUNlNLzVoHjBorwWqG7vUnNO/b9GBVOmqClZw6OARHcME2GjuFyW80/BJRpCN6tZ+4R46FfqYAw6nvYpDSpYdHhypl1QRTYTnVEsasPipFEfIp137S06btx8ejRUph+HRVh+fozebkoAbmLrqaY4DA4LI8Y3t5LgMoSAUL4rBbvb5+g2vwbCwrIwFlozZgRKlPLvTp2hSehMXh33XHckJzX3oS+NfOT7ShFdMZUTJ8YB0PajkV/K1kWRpM8LsFdMV31CY8LUVgcXpskzt78wOWTwP2KoV/0zyiCt/RNDod06Qv8ZjfqQ== 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:(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(83380400001)(316002)(186003)(478600001)(66946007)(8936002)(76116006)(26005)(5660300002)(66476007)(64756008)(66556008)(52536014)(66446008)(33656002)(53546011)(6506007)(2906002)(7696005)(110136005)(55016002)(8676002)(9686003)(86362001)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-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5eDltRURu?= =?utf-8?B?aDF6K1JoK2QydGwvNnRCYjcvVlVYQ094REdaamRGcUhnN0pLSDh5ZkxuT1lp?= =?utf-8?B?STA1WFUyaSt4T3VaTmZQR1BYdTVLQzAxa0hlQmhSOTh2aEUzUlZKaUpISHhB?= =?utf-8?B?bkhvOTBtLzd4VlF0QTFSc1hva0U3b3ZGNmd4R1VpbkpEU3BNMmkwZWhZT3Qw?= =?utf-8?B?UE1sZzY0aEd3YkJ5VlZhTEpWY3dyWTNDRTJJS3h1c1Jhd0JPb1dLSHE4UVk5?= =?utf-8?B?NGMxV0pvY2lTTFdYVWdOdnkwWWExRkR4enpycGQwSHRFVWlrWGJoaVJBaTdo?= =?utf-8?B?d3RFSEVtSGREd2Q5ZmIvZ1pOK2FrcTNtUWtJMndsSE5NS20wdXc4MjJvQTJx?= =?utf-8?B?QUdtWEY3YmxGcm5pa2IrQ0lNWVdhdFk0QXVFMHQ4SDdrcWt3MDFNVHhaM3Bp?= =?utf-8?Q?lHjsMtxLUM5e8=3D?= 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: d9722322-7e00-4301-ca5b-08d8b2bb3dbd X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2021 03:20:53.6312 (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: Hizd1QXiYga7XyvdG4y4qLUzmRJ39txhZDLe4UfRejxrM2bBeLca2Bl60lRylVEpAtdPIfwVZlfkTK984iQO2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3871 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 35/40] net/virtio: make server mode blocking 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFNlbnQ6IE1vbmRheSwg RGVjZW1iZXIgMjEsIDIwMjAgNToxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5i byA8Y2hlbmJvLnhpYUBpbnRlbC5jb20+OyBvbGl2aWVyLm1hdHpANndpbmQuY29tOw0KPiBhbW9y ZW5vekByZWRoYXQuY29tOyBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUg Q29xdWVsaW4gPG1heGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0gg MzUvNDBdIG5ldC92aXJ0aW86IG1ha2Ugc2VydmVyIG1vZGUgYmxvY2tpbmcNCj4gDQo+IFRoaXMg cGF0Y2ggbWFrZXMgdGhlIFZob3N0LXVzZXIgYmFja2VuZCBzZXJ2ZXIgbW9kZQ0KPiBibG9ja2lu ZyBhdCBpbml0LCB3YWl0aW5nIGZvciB0aGUgY2xpZW50IGNvbm5lY3Rpb24uDQo+IA0KPiBUaGUg Z29hbCBpcyB0byBtYWtlIHRoZSBkcml2ZXIgbW9yZSByZWxpYWJsZSwgYXMgd2l0aG91dA0KPiB3 YWl0aW5nIGZvciBjbGllbnQgY29ubmVjdGlvbiwgdGhlIFZpcnRpbyBkcml2ZXIgaGFzIHRvDQo+ IGFzc3VtZSB0aGUgVmhvc3QtdXNlciBiYWNrZW5kIHdpbG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