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 D5044A052A; Tue, 26 Jan 2021 07:10:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3A1D14124F; Tue, 26 Jan 2021 07:10:50 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 633C7141247 for ; Tue, 26 Jan 2021 07:10:48 +0100 (CET) IronPort-SDR: pmk3n29wU1MugwwbLJfxMD8Ubp8OYJAaOKtFRntjNNhfkIBY9L8E89P/n/yVU0lX5Hp+duv8Yb ZXLaiqWE2s6A== X-IronPort-AV: E=McAfee;i="6000,8403,9875"; a="167526957" X-IronPort-AV: E=Sophos;i="5.79,375,1602572400"; d="scan'208";a="167526957" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2021 22:10:47 -0800 IronPort-SDR: ArcV/+ZAe4dSb7O/P/AxNmGaxAGjJwTWhOqSPA5G0nHBv5uiU+c/WEjPIkOgVjOdLAXTjIIlnd 4qknmmk1uYQA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,375,1602572400"; d="scan'208";a="402641668" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 25 Jan 2021 22:10:46 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 25 Jan 2021 22:10:46 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 25 Jan 2021 22:10:46 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2106.2 via Frontend Transport; Mon, 25 Jan 2021 22:10:46 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 25 Jan 2021 22:10:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cukuZlNBJFKAt6pVelgrcMsiQyNzWUGRsKcn9GGdNHAGESCSh7XGYJnxwzc5VWGKzpkgIOF1/QkNIXQghTWsLa0D7hQAf7TBGai9blVlQwhoK5e+2DU0n7IIhiT1edsXXVybxSfYIdhmlN+XdiYyMvC09JAUJmlHQMG62eqgl2c1z6FYawD2l84TYczHSmjAwEv4OaImTaEEtTgGh5MPe9T8/p0Vo7/fDuOZnpzjpSOLGXz4Qmp9P0/EtC84ZDKqt2irHlbEMQBVpZtQPriWEeGbBqr3bbLkXkJcvpKKurcEPPhxGadcvhP0uOl1/FIIBdQz7Ntr6VKbupTrIN8vpA== 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=PQPi1HgMgAGt7XrNFfJgcgiq1wfMhXBV3tDcXR5Gm/s=; b=hA55A3q7wITLNK4dRRgvyuZAEbcDp7I2Qgwu5JCy26nCDrBTn6Z2vUnnCl4EQzXwjZCcnSw77qk+s9n5EHI3d9Z17WImcsbnKcb2X9d/FnVfEFhfFg+Qgitx76quzfKvKtt1RHq1+HGWVkNmgfRv4HJyKQX05ed6c6t5b2cv8Ipc1DLfoNPf1ATtI5JBtuymi2qoAR2U8zJCw0E6UN4H1qZ66MWFFFcBxFKkpk7hYEjtxnrNJzSBWNBpL5/rLcrFdzRtdshd+Rhkd+1r9CGxQOqdMwyOt4GHpPtwtkGlsG8jhcK809VZSOZUwQJJIGfAkWZhJ0JOhdx5FeIE77kBkw== 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=PQPi1HgMgAGt7XrNFfJgcgiq1wfMhXBV3tDcXR5Gm/s=; b=Ad9pTRNR1imwKe+e5eIXp0JDTuDIPM80sjC7IJ1eGM3/7kJXUkFMguLh8lbzrcypWqDRAJre+J39Nrhd/lwe3B+EWOfYrmEibehg/x82lw0anj6A30CYtEayXZg/kbrXgAMg9q6pjRAeXoqFE3JaamjhAd/xu6WXPYK03O4n05s= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3629.namprd11.prod.outlook.com (2603:10b6:208:f0::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.16; Tue, 26 Jan 2021 06:10:44 +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.3784.017; Tue, 26 Jan 2021 06:10:44 +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: AQHW7qoY4CaLJrjMWku9rr4d4yz2RKozX2YggAUZ9QCAAP054A== Date: Tue, 26 Jan 2021 06:10:44 +0000 Message-ID: References: <20210119212507.1043636-1-maxime.coquelin@redhat.com> <20210119212507.1043636-44-maxime.coquelin@redhat.com> In-Reply-To: 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: 24161bfd-dfca-4828-de8b-08d8c1c11de8 x-ms-traffictypediagnostic: MN2PR11MB3629: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:551; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: l8MnceJz6bKDFi6Ah4xsHIEvdzS0OTLVowy6xtNZFv28i6+EC+BTzuanalG9rk/Gndyk4rMQJZK+YGSyAtANPm014/PGY0F3jL6eSP2pPwzNUnr7tAC527+uVITrDV4RifAlIyqSL5cwx/b88V9PuFX6F83eDyZi++oP4XZJ43rEnQ2PEbjl8Pl5Xw0yh11ghkON+Ac35TWHOkckh33awxYQhTc6b4mx9/eXfXwyTD80ofKCkX729aFDY/YKOpbCsDAwe5eot6n+vQ5jJMKNp1iGzy3pvHP6qpnkNs8kRHn96DgdOFo64z9g9UBw6KlDkv9vqXn5ita34o3T+MypXPAPQLWeZVgUrA765Qz1U5UysJzSXaYcOTzt0rhCAHDG3WEPB9g3z4AKP28LBCMKYYAvNopYK4bdGbu560Eq6IoNdL5LWKDtDpGWJLTXIYTcMOmNPi96ui067HiS+q0zO0rFu81xscX3mAHgCZEV87ziC54c3F/1oHI+c8HaK07ZJ0sZXQgolav+suRpSRYWIQ== 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)(346002)(39860400002)(376002)(396003)(316002)(53546011)(26005)(2906002)(478600001)(66556008)(66446008)(6506007)(7696005)(83380400001)(66946007)(110136005)(86362001)(76116006)(55016002)(186003)(33656002)(5660300002)(8936002)(52536014)(71200400001)(66476007)(8676002)(9686003)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?OXdtRjRZSHc0K090Y2dWdUdaeFVGbWhEdTNpS00rUVRjUTNTM1FFelFhVW1V?= =?utf-8?B?dHpWZEdiTUNXMUR1QmozNWFseGJuV0h4MjNpdHY4SlJmcFlCV01XbnIrS3kv?= =?utf-8?B?bHdCeXo3SU0weURyZER3NWRUOC9EMnZMbWo3U1oxNXNReUFmclhuZ01ldkcw?= =?utf-8?B?RW84S242dEg0STF1ekErdXdPbUxxcjlVNVhTdXEwWXFWVnhwZDhscTVZVlo2?= =?utf-8?B?TEN5WlRYY0ZENVBrRWxYYW8yanZYaTFlbmQ2NUVMNmVmT0FVMlNyWDFEd1RM?= =?utf-8?B?dHpYTytWendiZEhxZ0FvSkx6MDlNa1ZnYjQrVFBqdHRXczJUZ2pvcENkaGU3?= =?utf-8?B?VUo5cEhET0o5RDd5NDZRbDdVQzBZemF2dnhNOVQvTC8rNmg5NCs0ZE12UzMz?= =?utf-8?B?WnNaSEE1ODY0d05ZTE1pNFdweTVtczV0NlI0QkZYM0E0RzB4L3BCTFM4b0Zz?= =?utf-8?B?ME52UU01SFVOU05CRmtISUtOMkR4VTBUaEp1dWJOSkpiN1htSWpsQlV1R2Ny?= =?utf-8?B?RzdWZU1McVRhQjYxOVhrYi9OQm54WGhrMG1yNCtLd1YycjVpYUsyNGxkV2Zo?= =?utf-8?B?YnU1Q0l3WW92a3JzeE8vNWpvOXJxVFdxYVpZTEtPd0hDRG5rZWxNUTB3Yk9m?= =?utf-8?B?azJQbVQvZ2FOWEFKSTNIZlVISnVoSml1MDA3RmtMZlJXYzV3UWpMUnpEQ3N3?= =?utf-8?B?blBpQnZ0MTVKT3RTL05hMzQvTW53UTkxVkcxZkIzVnhJRW4wTzh2VHpBT1JX?= =?utf-8?B?d0tZZTNhN05xaUJDY3M0VGcvbm5KMUxvMXZ6dnFtMjRBamk3OFZCR1luUGps?= =?utf-8?B?aTdLdjhHaFlyVC9FS2d4eG9SeklYd1RBcDAzdUVwUFI5OXFKalZObmN1dVVK?= =?utf-8?B?bVRQNUZhNWJ5dlFoQXl5YmtaaU16M2E1Zkw1NWZHV2crcWZyZ1hyd2FDa0Ns?= =?utf-8?B?UVBCK3ByLzZzMWViQ0tDRUtjSVJnelF6ZUwydDBWamNRMGZzZ2dDV25mMlN1?= =?utf-8?B?QitMS3ZaaXdCM2NJaGZKUDhVMlVxaThXM3hkZnk4YmxoUjYvR1dpZ3h3a2h4?= =?utf-8?B?N0NKUks0QkJhVDljUmhEdVRUbEg1Q2hNN3RFaERHNnlpeDQ4U3N6QzRFNzFl?= =?utf-8?B?RjJSeEZNL1Z0WUJTSGtqZDZhUGpmVDE3YUhuV01RT3lGZnFOa1ZDbFBWWVQr?= =?utf-8?B?L2hVTHA0NlVOL0FkU3B4SVlyRGk3b3ZHeEFYRFNPZFM3emE1WjF0V0xCOEdO?= =?utf-8?B?Z1NLRndybUZtenYweThHYk96YVV1dTJ2ZDBwbTdITC94TkRhT3ZUUm80aVNh?= =?utf-8?B?QlBOb0NETDFYVyt3VmlVeUt6VUVMY1hndWZtQUw2bTlhRDdSYUhDYWNpa3cx?= =?utf-8?B?b3NtbUFUbldxZTZJNml3YTlCTHZBdnM4S0U4NEVrNWJ1YWlINVZmWlltZHhE?= =?utf-8?Q?jWkb7oFb?= 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: 24161bfd-dfca-4828-de8b-08d8c1c11de8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2021 06:10:44.6055 (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: Zus096kg1yPamGy+uRvlxSQzdyWa2LdQSlvuy3lBLLPaga4qGXZ7+iryQi3OaSxck81BZc+nnMo03ng7724+mQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3629 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBNb25kYXksIEphbnVhcnkgMjUsIDIw MjEgMTE6MDQgUE0NCj4gVG86IFhpYSwgQ2hlbmJvIDxjaGVuYm8ueGlhQGludGVsLmNvbT47IGRl dkBkcGRrLm9yZzsgb2xpdmllci5tYXR6QDZ3aW5kLmNvbTsNCj4gYW1vcmVub3pAcmVkaGF0LmNv bTsgZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbQ0KPiBTdWJqZWN0OiBSZTogW1BBVENIIHYyIDQz LzQ0XSBuZXQvdmlydGlvOiBpbXByb3ZlIFZob3N0LXVzZXIgZXJyb3IgbG9nZ2luZw0KPiANCj4g DQo+IA0KPiBP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