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 5D7A8A04DD; Thu, 22 Oct 2020 06:01:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AAE0A69C8; Thu, 22 Oct 2020 06:01:31 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 82DF969A4; Thu, 22 Oct 2020 06:01:29 +0200 (CEST) IronPort-SDR: XtBeOoCEPKl8gCR9IgmAbx82LZmXaWVKCSaXlYC3AonMX8lbN8KxlOvSvBI3NiLlMYswi5/1TD 5DNQDJUBE4yA== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="231658859" X-IronPort-AV: E=Sophos;i="5.77,403,1596524400"; d="scan'208";a="231658859" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 21:01:14 -0700 IronPort-SDR: tpzxc7lm8liSpDd+uOdNCcjF6Nh9iNcEdR5ji+o4UqLbGGBlgl3YOuiVZLbY+5xcwkmO9BJqRi X+CcKu66lWrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,403,1596524400"; d="scan'208";a="316589406" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 21 Oct 2020 21:01:13 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 21 Oct 2020 21:01:13 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 21 Oct 2020 21:01:13 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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, 21 Oct 2020 21:01:13 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 21 Oct 2020 21:01:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K91BesH8RukpIh823HsiDU2WgtZDAyPhmIMMktrB0hY0RDzYdmE2G92BjkjbU4RYakmQGYuAs8ngxNz1RpHkvEOAr8oYWK9bM6jh9EHQbzn79b6UDzBA8plbOEmT91LkAJ7DC88WMZ47y6tJH+LTOsTVO8fjyzECQ4A9fXAbj7+VP5drnXtMHVEAxx7lbhnpNHN/32D5OkUM/fx9w0PuPEiPPRqc5DQVaec7OYUNwpkoBbiwvoi/qAKGHfBuViWS9hd0j5hVibpjx528okpfUvIQQjkp5SW8p7RcJ1oOL/52bIFaPantld44nv9iNm4kB9eTphD2RouOJJVM5idCzA== 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=hg9Sp6D8YFrCu69GGgXqySGoZknqlujVdXHoH4uU2Os=; b=lkY3PuELGRyXIXqWS3kmaBWzxFKttEkMWJmz5hbluAk7aP2mXdqq7Wmaqj3GdlJyLIuCO62ySJnc7APDRFPLe84py19aqSqG/PSNc/cLvka/XO9urNKa2E+7BfrE7s1BLmJyjrS/gnhpbAU1ekbjiJ4gBMsYfG2s2K+h1zs564N0lO+PEYkHDBs+sVFDnwBKX2mFokVruFtTCBiQjpjANt6qUTgefbe8kLTsLxZ7HmUz16GqpbVqYLkENimo+eRRSpHZz6THMum0Cuwf10GoNL8S5Ve42A8Ov8Ijr5v3fPxXlQ34m2LTCAjThnEHZ7lM+0X64OOBCh0AsTNcdXaMUA== 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=hg9Sp6D8YFrCu69GGgXqySGoZknqlujVdXHoH4uU2Os=; b=C0n/h5XfsM1M6WQrHbA3uM+1sdAI9qhGivIVrLjsFc7w/v/I7HEEomyD2pVGGXPany8D1XnQ3Hh4K8UNI/R/As2dxu9H2LOvQ3wkOvlwjRmCECqNevglNNBYe94mPPJp8sfBGjfWYN1D/q2+f/Gl3Vx4oI5W6DQPCpNRjKoBBq4= Received: from BYAPR11MB2648.namprd11.prod.outlook.com (2603:10b6:a02:c7::10) by BY5PR11MB4070.namprd11.prod.outlook.com (2603:10b6:a03:181::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Thu, 22 Oct 2020 04:01:10 +0000 Received: from BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::990c:c0a1:b470:1916]) by BYAPR11MB2648.namprd11.prod.outlook.com ([fe80::990c:c0a1:b470:1916%6]) with mapi id 15.20.3499.018; Thu, 22 Oct 2020 04:01:10 +0000 From: "Wang, Yinan" To: Maxime Coquelin , Adrian Moreno , "dev@dpdk.org" CC: "Fu, Patrick" , "stable@dpdk.org" , "Xia, Chenbo" , "Wang, Zhihong" , "Xu, Qian Q" Thread-Topic: [PATCH v2 3/3] virtio-user: set status on virtio-user reconnect Thread-Index: AQHWpvS46o2+bue2jU6C51t2oPfaQamgshqAgAEICxA= Date: Thu, 22 Oct 2020 04:01:09 +0000 Message-ID: References: <20201020152052.389446-1-amorenoz@redhat.com> <20201020152052.389446-4-amorenoz@redhat.com> <282c116e-0f8a-754e-f3fd-8eb256d68246@redhat.com> In-Reply-To: <282c116e-0f8a-754e-f3fd-8eb256d68246@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 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: [192.198.147.220] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c65be3a1-858b-49ef-622b-08d8763f1c2d x-ms-traffictypediagnostic: BY5PR11MB4070: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bzImk8dOG5KpO9/KCiOBcfTmxNY5tX0W3CLtl7bv0hmWbcwzsN/Kfnq5TKG3ivAJbGRHC/MzeP5cQiCdiL+mw2XA4sKIXEkeZLDKaBCozncvlt55uQs6S9CkebhnLqMaE3RcEiOFFMlBziGA6KurhHejUWXiZ0sDTEI0nFzYir8pR6LJRs5TMsECIWBIVf+20obXWptOcirxyZV6+SjECg/oZ0hsHaeIqDk05zb0vWmTfZ2NtSue2ktmZ7wfX0YKvOm14VxWaL0VYJzCU1UUv28K60aaiwWDQa9VFVVs+M63Lxo3DtY0QX4lPyKSsgsh9lW3trdK9u75FiB00lq0RJ5hdoohgJf+veLo/Id9rjSqaLXstg0EHlmBDdN3c37i9AgGMzoKGMO14QsQm0Jp7g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2648.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(136003)(39860400002)(346002)(366004)(2906002)(52536014)(53546011)(4326008)(64756008)(107886003)(8936002)(7696005)(316002)(33656002)(66476007)(71200400001)(66446008)(66946007)(76116006)(66556008)(83380400001)(8676002)(86362001)(26005)(55016002)(6506007)(478600001)(966005)(54906003)(9686003)(186003)(110136005)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: FfbowEeZCp68z5Tsy9sQ/2TvWZa+p6hUrrTrfzdq67n/zGSAu+EW9qCc4u27VCAaRyVQKc9GcsFgTMdOQNlw4GU0g0fmiz1yn04Ey0eR64pbhPC3bPNcxDkvR8tlf7xcFBXsWMv2WDaOLrK7OMsJ6mbgfuT40RozUeA8pBBzYsopZZLUC+R4PkuiR2U6aev/ZjRMtlmH+NRmt6bp1P0WtZyHnYKdvVcL3aubNKTNUqeaAPU5NXZN/lgFbbNe50rgASDINa7xGquFWdZYN6IK9HI9eHpyFO91yguqpSPlDvgQDvP1cIQoNY/qMi3gnpLPbAjzTndHJJ/t4u7/VGAbghHqWRv2l4Zd71vLmDABNv++SF3HD6Nw3ZpZ6QkKSpxiQSU1lWXRMXGjNt1Cj7aJeQrmLe8xyCGCrekm7RPwbQUCKSXwQ84/ZjsqjgjBpPnvSRvNRwRO5ogesQ5V3zJwfMFlI738gnz2LC7FWl8iUDDw+57+X/W1A2XBu2cQ7s3RJnLTmlDbnTRVtXtpOcKbSbY0N/dh4v9Hk/2WGHD4vnSOt23w4UbUlCOOkJ9lvUeXsAROmAYVuCY33bPE02U74973xib95IEJXmvqGv9lEaLVfnwOnleR0vY9Qff7V5E2KIngT8OEE9TaYeOrybZOxw== 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: BYAPR11MB2648.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c65be3a1-858b-49ef-622b-08d8763f1c2d X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2020 04:01:09.8619 (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: tKw1UhKb6Z61YW/mDlOUXqESLCITvk0776GhEzUFwo2GXdZtx9homRib+b6LmY3nCGmVFrYSXH4q2XMY+i5oxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4070 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 3/3] virtio-user: set status on virtio-user reconnect 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" SGkgTWF4aW1lLyBBZHJpYW7vvIwNCg0KVGhhbmtzIGZvciB0aGUgcGF0Y2guICB3ZSBjYW4gbGF1 bmNoIHZob3N0LXVzZXIgd2l0aCBjbGllbnQgbW9kZSB3aXRoIHRoaXMgZml4IHBhdGNoLg0KQnV0 IHN0aWxsIGZhaWwgdG8gZ2V0IHRocm91Z2hwdXQgd2l0aCBiYXNpYyB2aG9zdC92aXJ0aW8tdXNl ciBzZXJ2ZXIgbW9kZSBsb29wYmFjayB0ZXN0LiBUaGlzIGlzIGFub3RoZXIgcHJvYmxlbSB3aGlj aCBpbnRyb2R1Y2VkIGJ5IDU3OTEyODI0NjE1ZmQ3Nzg3YTQ4YTdiMThlNDA2NjE0NjYuDQpCdWd6 aWxsYTogaHR0cHM6Ly9idWdzLmRwZGsub3JnL3Nob3dfYnVnLmNnaT9pZD01NDENCg0KQl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