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 0F98BA04B1; Wed, 30 Sep 2020 07:51:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 130941DAD4; Wed, 30 Sep 2020 07:50:07 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AC0261DAC1 for ; Wed, 30 Sep 2020 07:50:00 +0200 (CEST) IronPort-SDR: 3DU632ete9ONFOmcs60q3yjiFSuzKMc8+WXtGoocmXCRUBJ+FMSnRRfX++6gkukuqZ6W9pQOP0 FnTz0RsFfY5g== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="163231057" X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="163231057" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 22:49:57 -0700 IronPort-SDR: 2DaNOfbSs24MiobE6Q9SuwTKZIJUHUAipWgdb+Zb8wXkRW5OmrGymNZUFkAFA7r0TgY4IDOciL ZHCNesWiFnSw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,321,1596524400"; d="scan'208";a="312474773" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga006.jf.intel.com with ESMTP; 29 Sep 2020 22:49:58 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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; Tue, 29 Sep 2020 22:49:58 -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; Tue, 29 Sep 2020 22:49:58 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.58) 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; Tue, 29 Sep 2020 22:49:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eKQrxhoMd7GdXHpCiVjOQt6dVQzMNjqP/uRYhdwPIh1AZvNrOLTeikNCnd2nbF8alF8EMNb/n3HzSMz+Y67mo8v6I5CJXnqVFfhaHOQayLL0MfTZVFFIppn5mdkiRgc9zILSl+YmpADJvO0TPCHAQT7C6GLIPrevDB5JJ7TDI/fjakqN2xPHHtko9dPDDLGK8wiVchoRt9bpdbXvty2aRQoaG6Z1yMBieBurn3uEz82RS0Ab8StjulEEgaQGOxOJPwnvaAPSJgcRvOOihRRj3iu8kEVVuiTUpD8tnmMSxlNJ5Y28mBa1F+gAv+B6WN2uVscmkPUKyhmew4KAYzXTcQ== 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=2tu/7+Em3reDeP5cC40zBb/fwXZ9yBASl5xJno9tB2g=; b=SH8trOoSuiUvq4wlRq957eqCIiAF09V1R9NneBf51gJvzFkWUM6nNE0JiXTNmcUeTuCJrF618aq3VlTP5m10j7Rj0BmggJlOY9k6ivub1LMX/A/b7I2zwtCnN26hzXXBI5wjNnB6Bf+Xx3K5eOhAZB8CR1qWFlk8Srp6WGuTV/rONiJ5S9Q/QaIJKyiA95hITHzRgtvylMBXXQg4ACoFg0CG4loTHUDaR7TIAiGwzGbkLD5vOXNU5xVjfTwMd/8VoZaUKJK8JUNcf3sfsWHapxpzLjHI8D6H90qTvWgnpWL1XX7pxMkTX8+3Yb8vRNl8CklBRM0Oj/NV1FmlMlxMlw== 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=2tu/7+Em3reDeP5cC40zBb/fwXZ9yBASl5xJno9tB2g=; b=NgEUOLWWEdMyy+0zXoZu1rG3fh1I5nNrSMFtgHXdIhzvJ1vCDY1wKf6GMv5jlMwY9u/As8uesA2M7Fp6PP0EpwrqEkdtLP3aPtRakgY7e3FjuY1L7tkQH2/jeAxYm2bDx2vEHnuowKNjqZPCiinHuQCXpwTEGRCM9H0nOlF/6R0= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3885.namprd11.prod.outlook.com (2603:10b6:208:151::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22; Wed, 30 Sep 2020 05:49:51 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::1dc7:9f52:91c1:52da%3]) with mapi id 15.20.3412.029; Wed, 30 Sep 2020 05:49:51 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "Fu, Patrick" , "amorenoz@redhat.com" Thread-Topic: [PATCH v3 6/8] net/virtio: adapt Virtio-user status size Thread-Index: AQHWlnuv83CEbdiF3UqC89q+z1MPkamAraqQ Date: Wed, 30 Sep 2020 05:49:51 +0000 Message-ID: References: <20200929161404.124580-1-maxime.coquelin@redhat.com> <20200929161404.124580-7-maxime.coquelin@redhat.com> In-Reply-To: <20200929161404.124580-7-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.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 47971b91-ca2b-462f-9b75-08d86504a648 x-ms-traffictypediagnostic: MN2PR11MB3885: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:22; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: su/pPp+YEzY9pgI2PXeYgbwKdTLQoMWeNzhVxdKw8XDKxkKpJb402LA/0l37kxKPLe0G4vWprua1rXEW7p5MTwtpKcA61xvuEyUGdvKHDcuFPVt6Vz4x6sErQUD5K85+Ip62K/gpAIiMEGPzlkkXKnkd/14RkWFOMMlH++bTN0KUqgucapUWkc97tRarOFgaYDyZ7ojn91xvb4YwEeXVeXz2ddMLtnU1QWEhpMR+tqMmAVMsVDRQ+jcSOJkrBU/3KCCXtIBpDDHU3YJ/95zr4AWcRx9H+miaqWoSRZX+jTqCPwxJzrLF3Q9aLVnr6Hsz6lLZF1v/Gpg4eH/zug2eUvNBoJ4dYCAn3adJP+G31EbioSL4yzSrCsXHDiMPbiHI 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)(346002)(366004)(136003)(376002)(396003)(39860400002)(33656002)(316002)(186003)(110136005)(8936002)(6506007)(52536014)(478600001)(53546011)(7696005)(66946007)(26005)(76116006)(5660300002)(55016002)(9686003)(8676002)(2906002)(83380400001)(71200400001)(86362001)(66476007)(64756008)(66446008)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: SdMKhrgf4BqDykxdiSkhILD6xUl80cI4PcpWvP3a5hynI785RmWbG4kgcQ/htAHM/Lfi/mmfq3GwOvD+9UQCQBq7gRUX6McgXsrAIcVBqPBlfg3D0KzlBWu4K55Viur6Rq3W9v14BxsOVuWCjcJKU51BsdDeSFj4/Lq09YaS77fkGQLAjMnwQ0wLH5HS607Lo3Y3vSf4Mwb+bngr0bzHPpSgrnQcrHIln66N9xmv/zQK2826IJM5jJT/C3NmbSiPy2A5FLacEeteY+dnuUBNnCI99eHLwQyIdp1wrc828lzO3eAXOyWDtrmxW9CSbWIdVnC99bVaGrrnb8URz9fVRVC0HWjmYS0yZEesz38JZfxi8nK7hCCuZSAqWlp33LLmW4x13eRZuK0Kcy9/N85Y5bYPxTYlkNpmu+F3jwvFEBCBaJqDdsKIXljPzwxQnnlBNTlfMDUYkJuhwIYAegzGy51lQnYEn0Vl8HIlKRUhbLfCrXrLkj9MoJxskVSrxJd0YwGEuaeDIowmaK+H1mv7Co4Yhx6xzfNaFomMQa/RCnlvSbrK+emoavFv/RKKApapALuFYtR1yDnBkahuLfPNZXG1GMAHkJnoQqbq4CJbrabPH17IXsPnH2gSkzGtbTm5wdb1mflc4oflDNMhCoKW1A== 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: 47971b91-ca2b-462f-9b75-08d86504a648 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2020 05:49:51.6126 (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: haI9woTOs6w88E6CxZYbec00qkIqQ5Z7xFAMBcY1ekRgsTI0ACfuUqVMX4AnwoKVjWhdfrA+3lXo2+wSdH3KNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3885 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 6/8] net/virtio: adapt Virtio-user status size 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIFNlcHRlbWJlciAz MCwgMjAyMCAxMjoxNCBBTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5ibyA8Y2hlbmJv LnhpYUBpbnRlbC5jb20+OyBGdSwgUGF0cmljaw0KPiA8cGF0cmljay5mdUBpbnRlbC5jb20+OyBh bW9yZW5vekByZWRoYXQuY29tDQo+IENjOiBNYXhpbWUgQ29xdWVsaW4gPG1heGltZS5jb3F1ZWxp bkByZWRoYXQuY29tPg0KPiBTdWJqZWN0OiBbUEFUQ0ggdjMgNi84XSBuZXQvdmlydGlvOiBhZGFw dCBWaXJ0aW8tdXNlciBzdGF0dXMgc2l6ZQ0KPiANCj4gU2V0IHByb3BlciBwYXlsb2FkIHNpemUg Zm9yIHNldC9nZXQgc3RhdHVzIG1lc3NhZ2UuIFRoZSBwYXlsb2FkDQo+IHNpemUgdmFyaWVzIGFj Y29yZGluZyB0byBiYWNrZW5kIHR5cGVzLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogTWF4aW1lIENv cXVlbGluIDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU2lnbmVkLW9mZi1ieTogUGF0 cmljayBGdSA8cGF0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