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 6E0EEA04B1; Thu, 24 Sep 2020 07:25:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4CA501DD2C; Thu, 24 Sep 2020 07:25:46 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 706401DD2A for ; Thu, 24 Sep 2020 07:25:44 +0200 (CEST) IronPort-SDR: uBO2JxtmWD5VyMtcST1EuYbpb8rLkk2C1C5IV2DXL2NkIxVt9Q/hvEyyY/1Spo/bpTJkhgYv6l MRr+5x01RxTg== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="225242200" X-IronPort-AV: E=Sophos;i="5.77,296,1596524400"; d="scan'208";a="225242200" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 22:25:43 -0700 IronPort-SDR: iB0ypp/vxIb+hHNqJQjlCrcmIERobMaYDZHGEbgky0XZMUJWR5ZiEYjSEfzrCBdCU1ERM5sOAE iOwTlMNH+U9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,296,1596524400"; d="scan'208";a="349134133" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 23 Sep 2020 22:25:43 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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; Wed, 23 Sep 2020 22:25:43 -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; Wed, 23 Sep 2020 22:25:43 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) 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; Wed, 23 Sep 2020 22:25:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CDP4lW0qtOGQiV4PpEkXzOH7jAIWBvw8FUnQLySuYBvyrxY1bRRvtvlH7rGCucFstn1wd2xRoQPr7lTd91OF17+BO0yMdgdatWl0E2SanPs/O+MY9K9c9JxhdByUI7gaOYSlyb6nR3Vi0DlJB7H6LejZX4U6yzKCab7ie3IGUF+l4XGkoj9R8AHcTiFNWu5n658e1kGseE9dctpL/o7YKhL03P+BThrqBNJUA+VCw7YEySvMyUAFT5pkWqmlIBjbsW5ineNLrd2unRBJpZpuoVqFRDfIbcW1jHyuDFAI/dgyWo4MGB8s2DbwitragyWaGq3q3LlvHbfBYc2StxI9Xg== 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=y86azTDAvLhuHOGonc7B7tdgCQdwebidOMwj2u/6vqk=; b=UxnnaJ3kU3j6V7iVvHrW+RklPB/I6wNQej7memAYvIgISQjs4nTzyexfles/BWh9yBJ2un1lGlVpvbrawkC7j5p+pLW9g+M/7h9Krgu+6U8hLdwZjec3iE2texGMuWiIn/IlvKP+w8s+h/7nXGayLZ/y83KzY0m5+wFMFtkOlJb4UZonTZcvbRoOVz4UqQdrJE6AEjzesGseG2La2pxJXTWzdctdKRzzpH5FfC4dl30Fpaj5Aeuaa/5Fu2khVK7g7Czc6xJdLPnrcq/rQHYRyRKNnA/uRDRF2jdNLvdBim/EkOjFQvtk24+BzxTGw7gmTkWOe8MYw0KX5kvpgeXQcA== 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=y86azTDAvLhuHOGonc7B7tdgCQdwebidOMwj2u/6vqk=; b=bMHxSdsjIOuuKr03ffXmfUp3wBuw0wRjF4CIJPd+cCXrBy+xHE9lW7tAW94EE1HGODEin6rKEirF4eEja8RnNUNonqCVtRfYnF1d6PglHli4kHp2fqWFwwjkPfUKPp5jNee0Yw6uI+0c0qa3lXUV1KpFrPg0E8U52ZD/Bq2eSE4= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3600.namprd11.prod.outlook.com (2603:10b6:208:fa::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Thu, 24 Sep 2020 05:25:41 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::b898:36f5:61cb:42ca]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::b898:36f5:61cb:42ca%7]) with mapi id 15.20.3391.027; Thu, 24 Sep 2020 05:25:41 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "Fu, Patrick" , "amorenoz@redhat.com" Thread-Topic: [dpdk-dev] [PATCH 4/7] net/virtio: adapt Virtio-user status size Thread-Index: AQHWiE2NSczAw40OpEilfiyyaTDjLql3KZOQ Date: Thu, 24 Sep 2020 05:25:41 +0000 Message-ID: References: <20200911150805.79901-1-maxime.coquelin@redhat.com> <20200911150805.79901-5-maxime.coquelin@redhat.com> In-Reply-To: <20200911150805.79901-5-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.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 26af41d2-0979-401e-63b9-08d8604a4782 x-ms-traffictypediagnostic: MN2PR11MB3600: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9ScWraf3U2KEq+AlFizsOHlyRmsEZ1CGBMIAxQQr2HV2zWa53eP7RIhU+7/seB+zSh8tePmlQhcebUorljMMm2Z+x6ZCTrE4RtLER0CsSW1F1KFgx4JNTkp9ly/kxB8DuDEBnfrLID/4OT15q8xJqzCfn24ijRM28C0p1gh3ejkcARMEWms4Kahj5fFI6vkf4lW4oniAelj94OIu4HSr0xv9P8xBp99UI+ewxQtsMFpNHDx6lgIE9jEv07P0M+5T4ilYUzssOThJcYyQW9ASTSQBLTgX/Ve9gGVO3CoDykQzEVbgV3/BdGzEMFuduWLYnp/bz2eXsFvHc1deu+tQ4dL+oUBrE++ffZe1dWWmm/c1jQx3NYDupKOVrBQ4iRQm 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)(136003)(366004)(376002)(346002)(396003)(39860400002)(71200400001)(64756008)(66446008)(478600001)(83380400001)(2906002)(186003)(86362001)(33656002)(26005)(66476007)(316002)(55016002)(9686003)(5660300002)(76116006)(66946007)(66556008)(7696005)(6506007)(110136005)(8676002)(53546011)(8936002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: SokC6lr1FCIZsghyxf2wNWSB7stN7EHcVjC4JpBfgdtAfyKFYuH+pxjlVSTE+jI21I3Ipad7OCZ4nmh8XfV/GWmWr6vKEytSw6oovQaFfMUGbmZn85jIO449B+HbTfadvh2AgltuwCLLDmBSaBCKycFo8emDRcd2g5T8zuTUwtJkgy7FAzIxyBkGWcm0N0VAhdZBJJcEBKNvr++gyY90+uIN1hjV5pLuS63pE3a41Ij1xffcIH398iurWdr23tW99eoUDKUJkJWioJVDRnLvsS/L3U9i2h/gZDgowFl8Nv+hCmrNFPiKBu69lgDatoTMrgcu/E0tSBFHhKfWKL7+qKFev0/21XtakGcJQIEWB4PXfZO+gTPJsb/doFuk+z4ksk37NggCnKqWU5gmg8VY1bOf2pW3ZWko6Owm7zM0SuoAOXOZBGEwwc7dWVSqnU1ReVX9OXo8izikzw5Tbv2tmEK/K9FEtiyf1+UOKahu+1AMRi3+9Rtxny3L0C0lzBS8iXr7WHr4s4EOSf05QA66IaXjuDv70nqGQq/koTDMPCID/sOyCI/RPPb7OI8O7iX6fzydaY2biLN8aKIqt/AhKyPmDPP1TxtLABbxidMOLNrPTUjn0d97FrFz0pDiAu4JvPaIUfr3mJMCpweQeMx+wA== 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: 26af41d2-0979-401e-63b9-08d8604a4782 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2020 05:25:41.4530 (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: l/VKzxgmM/Asr4NNokiTgLfr1Znm2xmnsuY/TKxhXoPwI4Odj/LR2L624iayTv26HaN7GOFezZ26hkctKf4OVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3600 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 4/7] 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" SGkgTWF4aW1lLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiA8 ZGV2LWJvdW5jZXNAZHBkay5vcmc+IE9uIEJlaGFsZiBPZiBNYXhpbWUgQ29xdWVsaW4NCj4gU2Vu dDogRnJpZGF5LCBTZXB0ZW1iZXIgMTEsIDIwMjAgMTE6MDggUE0NCj4gVG86IGRldkBkcGRrLm9y ZzsgRnUsIFBhdHJpY2sgPHBhdHJpY2suZnVAaW50ZWwuY29tPjsgYW1vcmVub3pAcmVkaGF0LmNv bQ0KPiBDYzogTWF4aW1lIENvcXVlbGluIDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4g U3ViamVjdDogW2RwZGstZGV2XSBbUEFUQ0ggNC83XSBuZXQvdmlydGlvOiBhZGFwdCBWaXJ0aW8t dXNlciBzdGF0dXMgc2l6ZQ0KPiANCj4gU2V0IHByb3BlciBwYXlsb2FkIHNpemUgZm9yIHNldC9n ZXQgc3RhdHVzIG1lc3NhZ2UuIFRoZSBwYXlsb2FkDQo+IHNpemUgdmFyaWVzIGFjY29yZGluZyB0 byBiYWNrZW5kIHR5cGVzLg0KPiANCj4gU2lnbmVkLW9mZi1ieTogTWF4aW1lIENvcXVlbGluIDxt YXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU2lnbmVkLW9mZi1ieTogUGF0cmljayBGdSA8 cGF0cmljay5mdUBpbnRlbC5jb20+DQo+IC0tLQ0KPiAg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