From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 70ECAA0A0A; Fri, 22 Jan 2021 10:11:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D74A1140DF7; Fri, 22 Jan 2021 10:11:35 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id AB02E140DF7 for ; Fri, 22 Jan 2021 10:11:34 +0100 (CET) IronPort-SDR: CtDRetwLWk8BzvqwUpsisTv+Gj3E0AC8ArGsRVqm5v22OP2GJI5GAuHn4/ybFnpNyYa/gDhCoN p40joJCbjOUg== X-IronPort-AV: E=McAfee;i="6000,8403,9871"; a="175909302" X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="175909302" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2021 01:11:33 -0800 IronPort-SDR: 22mHNo46Z6jJBDze7nA2+Pw+0BTBA10Fh5mF1H7rqxr9ndNGGaT9Ew20WcDxNjInCRiMOLRf11 4CLDTGVj2/dQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="407619986" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by FMSMGA003.fm.intel.com with ESMTP; 22 Jan 2021 01:11:32 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 22 Jan 2021 01:11:30 -0800 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 22 Jan 2021 01:11:30 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 22 Jan 2021 01:11:30 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.173) 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; Fri, 22 Jan 2021 01:11:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LVc6Qe5xKZMnJFgCUCbsGg8tfv9ffrNQT+rOtNeVGZmhN8xdRntjnWdbeSmd2u/YjsjwI0uzfFLtVtehiOEvrg++LBYDhnYCqHaVy7N7fCWv3AaQQWl9Z1Io3Y8E83hV+5EWgHmfLCIx7nxq2F3sNH2pZZrM0NokMtpouTmUfMmiQ2KVXMgOCGSUm7GLkgYri8Vl4mCnPYWxuW+HdqRKv3m94zLOcyU0lZbFV1+afXHGsnpDVVxmeJjmiUHQLwV1iKLDbb2/LzY8n13T90h3ktju1PdhHyVdooqvWuphTefD+wZTKmY9PXpP81VMxLrv2Ncn8eVTqqudCoM3cgSA3w== 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=8Px46zaTjY4w7G0dPKsRvdFR2uMCS7G7wLdj54k+WoI=; b=QE4kMgLelQv2hx/Bw563CZVZmdt2ZIvnanmGK9VeGZKNimatOWRtvdsFwqZvCz1P+fOJtk75cjuw5wyaTpIREBkbWu2ZCXTk5paQGONiMrg3YA8+ZEKFhpXa0ZQ4B/lNX0+OJSR58DkAUSW2Dd+G7MB/pN5Z1jWnAWE+bz3rX3ondDsQkQFAOVVhvvXE+HxtOidvd/c3zKBzO1NDSTEkQB9sIxIUt1vnLzC6eKCdXi+pWzaLLnx6SwjDInFuyEust7N+om9tjxUzNUYlWYPTVc4pcxX81EnYZiVNAiqlkyISn3q+/54wWLtDAbPDqY1xga8sqvR0+Q76Vbyw3pYY7Q== 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=8Px46zaTjY4w7G0dPKsRvdFR2uMCS7G7wLdj54k+WoI=; b=alOO9sJdEnBxmZInZdGn9FzccieoJD1r9z0RQIfeqHnq/1FqBbQoQ+fRmeR1JmsV2fQlSFVwQEnhuLT2yYRd/oxXukle2rSKNsveLiMycog3Kwamh0iB/XKwq4Ak4mHUr8MDi6F3UWH9/FS4GsnQcPU6xdWuKZMEMacmBmGyM8Y= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3728.namprd11.prod.outlook.com (2603:10b6:208:f4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Fri, 22 Jan 2021 09:11:23 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::4c5:a27c:aab2:a2ed%7]) with mapi id 15.20.3763.014; Fri, 22 Jan 2021 09:11:23 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "olivier.matz@6wind.com" , "amorenoz@redhat.com" , "david.marchand@redhat.com" Thread-Topic: [PATCH v2 43/44] net/virtio: improve Vhost-user error logging Thread-Index: AQHW7qoY4CaLJrjMWku9rr4d4yz2RKozX2Yg Date: Fri, 22 Jan 2021 09:11:23 +0000 Message-ID: References: <20210119212507.1043636-1-maxime.coquelin@redhat.com> <20210119212507.1043636-44-maxime.coquelin@redhat.com> In-Reply-To: <20210119212507.1043636-44-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.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 296e10b4-dfe1-4164-792b-08d8beb5b0a7 x-ms-traffictypediagnostic: MN2PR11MB3728: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:58; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KtRYwPjoe5hSqSO7/cCq1SUEe7B6ZBOoFvEi5z6iZrHYklQ/lOT7C+Xk6Hzh/2wf6W0Wpo0P00vWhm3cd9/2fSPGlifR+R5QZQ07xVALg80B6PHu2RH3WT1DERBtfRCdFufpFYvf2wnLf+9oPY5VP7kDEnoUcFmNW9wVWP1LTaa0KtLUzPJ+5CoWE1tzOWR2GHFrDDfZI1AqEa+nItnrxlgZqjdNUnS79hDNjI4MUAxxGM1YBdw10P6IxK6CEUD2HM4rOL2dgwmK27vf+qaVarkxw2MPR1sFE8aMBvn6Nla8yPa9ApxcYuJ46vbPBAc7wCTru0glO7cWkAGBb45SYhy7SdPa6KubEibLg4LTswuNtr1vc5A05/Gvq2O9SDwAehLLdM8PQgFuJFUXVd5+Yg== 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)(396003)(39860400002)(366004)(376002)(136003)(9686003)(55016002)(66446008)(71200400001)(66556008)(76116006)(86362001)(83380400001)(33656002)(186003)(64756008)(5660300002)(6506007)(53546011)(26005)(66946007)(8936002)(66476007)(110136005)(2906002)(7696005)(316002)(52536014)(8676002)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?bURyVnp4c3BWait0QTJnUjNEeFBQNnNqQ0dqVldzNk85anA5SE1NK3JxQjlV?= =?utf-8?B?VEx1d2h3R2k1clFhU01NcUtHVFl0RkFzaERlT1hvL2hMbzFVQmhnTDVDWFlK?= =?utf-8?B?TzdxVEduZVliMkE1MnVPVkxwbjNncFpKZXY0MURNVjlNeXpwblZvMzU4L3Zj?= =?utf-8?B?aDlVdWhjYnB5bGJKd2l5QWJHMkgrUml6c2k5Y1N0eE9RVndtYzdRVGxiQUtt?= =?utf-8?B?UFA3ODJnQUJDeGp3SDRtUWp4ZGpZUlpiOGdzUzAxbWVkLzVuN2diRjZ2RkJR?= =?utf-8?B?a1NueFpjRnprMHE1K2RaMldKNmlucXBrZU5VZWplUmRzOXd2QUg2Y3VZY2E5?= =?utf-8?B?bHZENTdHYTY1d2ozTFNBWWlpZzB4RUhqZzNlVC93Mm9kOStjZEU5UUtOVkw5?= =?utf-8?B?M1lhZGFSODhpeUZZTDhBbytiVWpXV3dodVhSTForMzRCSG0xN1hLNXgzOEE1?= =?utf-8?B?UFJoY2wzWlpNU0ZpMmR3VE93M1pmYzN3aGFXZmNoa0F2YXhweDRzV1dweFFi?= =?utf-8?B?dzVldE5uVXNTcEg4Yk9BSUxWb1dmQ294SjREMmNOWGVWREo4REdsVzNtQ1ho?= =?utf-8?B?eG1lNTNKM2dXbmNBQjRBa2lFQS9qdGVybGtQb2dlTTJiMi9POG5vYnB2MnBP?= =?utf-8?B?OHhQMGl2ZkFLcldYYjNWZDM0anMxNWxXOGZQODByTURWSnoxSHVXQjNaM2NI?= =?utf-8?B?Z1JYeDU3RnlhNUxWM3o1dExRNDBVSE4vSjZjalU2WkZBNG1Xc20xYndKelZj?= =?utf-8?B?WndVZ0V3RW5IKy9aN08yaGlqQU0xZytYYlB6dS94NDNneXlOaHRnZk9TeGdk?= =?utf-8?B?MTFjNlFBT0diNUNlTUVYWVY4OUJ1amdZVWRaV2tEZDBEZFZTbmtRSVc0NEg3?= =?utf-8?B?SFRUdnc5VWRDb3BZZlpnOGpRY29ibVNmKzZwcEJFTTUreE0vMzZpckRCYUJI?= =?utf-8?B?M1Jxc0RCWHd5WFhWWWlZOEovU1dWRFJnVDR6TjhRQzRhT2t1MXo1T1lBL0w1?= =?utf-8?B?YnZlRE1UbjFHTDJWbnhMdDN3WmN1UW5FMFdOTHF6UlBLOUYyK3lxL2xHaWNY?= =?utf-8?B?cEt3UWd3aG9FRVVpVFlvUG9keUhLOEFkSm5COUVnUUpYUFhJSmpGNmZCVTV5?= =?utf-8?B?b3U1TTNlS2hER3JWV1l3bDErcTBEREtNdlU4SkdYdzU0Y1hEd3gwWDJmcUMr?= =?utf-8?B?c3R1d2c5NVorOUcxTHVrZFd0SmFHNlRxS2I5NGNQelU2SEZUK2QxVW52V1NB?= =?utf-8?B?emdYa1RLTnBYazBrQzNHNUVHN0t2TGprUStYUTVzd2tLMWw3bjVEYTFxTDM0?= =?utf-8?Q?IKM8LhiWmK8Dftw8o8reFymQdkEGq4wH44?= 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: 296e10b4-dfe1-4164-792b-08d8beb5b0a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2021 09:11:23.4569 (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: 0J/VmLrFXKtSn93JmduJeEG8k/9Gx5dE3bU+KNDg/I+U5TbYl43vlz99LZeZlJp58/qQzEQpBF6+JqwLoFGAGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3728 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 43/44] net/virtio: improve Vhost-user error logging 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+IFNlbnQ6IFdlZG5lc2Rh eSwgSmFudWFyeSAyMCwgMjAyMSA1OjI1IEFNDQo+IFRvOiBkZXZAZHBkay5vcmc7IFhpYSwgQ2hl bmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT47IG9saXZpZXIubWF0ekA2d2luZC5jb207DQo+IGFt b3Jlbm96QHJlZGhhdC5jb207IGRhdmlkLm1hcmNoYW5kQHJlZGhhdC5jb20NCj4gQ2M6IE1heGlt ZSBDb3F1ZWxpbiA8bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb20+DQo+IFN1YmplY3Q6IFtQQVRD SCB2MiA0My80NF0gbmV0L3ZpcnRpbzogaW1wcm92ZSBWaG9zdC11c2VyIGVycm9yIGxvZ2dpbmcN Cj4gDQo+IFRoaXMgcGF0Y2ggaW1wcm92ZXMgZXJyb3IgbG9nZ2luZyBpbiB2aG9zdF91c2VyX3Jl YWQsDQo+IGVzcGVjaWFsbHkgcHJpbnRpbmcgZXJybm8gd2hlbiByZWN2KCkgZmF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