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 93230A0A0E; Wed, 3 Feb 2021 12:53:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10E4C240509; Wed, 3 Feb 2021 12:53:05 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 51836240507 for ; Wed, 3 Feb 2021 12:53:03 +0100 (CET) IronPort-SDR: p2Np0o7RC2dwK+Nn1iZPQHopZgqCwjApQjX884I/ljszxnSNuFh1XZn1dV3l9wzIgnMM3X39Rx DxYl9Pzuk1JQ== X-IronPort-AV: E=McAfee;i="6000,8403,9883"; a="177520479" X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="177520479" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 03:53:02 -0800 IronPort-SDR: hiQUMCTf3svK0YRP2COT5+hdwMZ+Q0Rvrjc53qegmwHYHnPzmA11Mm+Payf9+jQ5IBFIXKZtVH 0GDowrlP7z5w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="480320068" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga001.fm.intel.com with ESMTP; 03 Feb 2021 03:53:02 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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.2106.2; Wed, 3 Feb 2021 03:53:02 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 3 Feb 2021 03:53:02 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) 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; Wed, 3 Feb 2021 03:53:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CympV8sSY9LcrOXI0gyrg5GQm7JgBdQmf1SvBZ+NB5Sy9TSXNjfrT822D4k8oVWgLnCEEZ6ckxCP9Pj1kCGElzcjoM9m9fqiSzPG5QzUzzi3VoWYmN1PzAf/l/SnO+vS+lFkSUsSOBYlD8liBmVgaIZlN+Y51clqe1siyOmpZrN/z+fSiD/OEZWDSleckb53L64SchV65zBZw86z3RsA8H2vZmghZgLvy+ENmWtvAugZpYNxAn2FFWMD7S2iT3+LnDOdOtog33ftMJykQpA9Y2pinK2p3/K31meEuSY/LZxNv99kpQyXaIzRFpiEcefal0Ean2cmyWTRbPEKV0cJGA== 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=+beF3znbwu/a3WY/YgNUs/MRYO2SU22rJiFdMhYvtPU=; b=WcIdiALndDWIjCHD6GU/b4nfNXuEpFZQDMDxtFO5+InKwwk/ukiRp5/mt2PTlDC7cjVioVVQjel1RnvzH8nCgdLbPkwwKnrHLnLyh3EtSSn5YEd0S1KZmn87RXvVujbAX4SCY/4bhYGP+aK6xbEVxSR1SadjSs9/HANBZMf2Z28im8f3vd675WeTIBDAwQNvWQXhiJ9QJSEVlQQrCm9CRKTOVYh9htBMrz8Lv/H7+tM7KYm4F7APwNlQ2HEk/aelsh4SkJag/z6hoJS32bRKxQpX4CbtCpc4qF6NARVbN/6y51Grp18fk6TE0W1exBrCFUbKoZuSiEw5aQE/U34IHQ== 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=+beF3znbwu/a3WY/YgNUs/MRYO2SU22rJiFdMhYvtPU=; b=wG2PW4QGdS/dDA9H8t1TRhfZfqmB4Zg+lsfnmWl2Qt/FEveLJWy01p3mw80gYbMwNDDRUyUF773itIZtyHXgU7Fe07XPCukQ0vd6jALVl2TXC0+5Lq/2TE7Ua+aVaT0RV5CeQaHoz4qdpnuQ16F9gLQsJtVbgf/2b133EJe9xZA= Received: from SJ0PR11MB5006.namprd11.prod.outlook.com (2603:10b6:a03:2db::22) by SJ0PR11MB4815.namprd11.prod.outlook.com (2603:10b6:a03:2dd::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.17; Wed, 3 Feb 2021 11:52:59 +0000 Received: from SJ0PR11MB5006.namprd11.prod.outlook.com ([fe80::e0e5:a43c:6894:e03b]) by SJ0PR11MB5006.namprd11.prod.outlook.com ([fe80::e0e5:a43c:6894:e03b%4]) with mapi id 15.20.3825.017; Wed, 3 Feb 2021 11:52:59 +0000 From: "Jiang, Cheng1" To: Maxime Coquelin , "Xia, Chenbo" CC: "dev@dpdk.org" , "Hu, Jiayu" , "Yang, YvonneX" , "Wang, Yinan" Thread-Topic: [PATCH] examples/vhost: add error propagation in ioat ops Thread-Index: AQHW989RyVWdMAMFBkidDqeeU3enIapGM96AgAAg0RA= Date: Wed, 3 Feb 2021 11:52:58 +0000 Message-ID: References: <20210131123628.47883-1-Cheng1.jiang@intel.com> <8701873a-02c8-ddc0-f02a-54956ecccff1@redhat.com> In-Reply-To: <8701873a-02c8-ddc0-f02a-54956ecccff1@redhat.com> Accept-Language: zh-CN, en-US 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: d172d9a1-cf75-414f-b07e-08d8c83a40a3 x-ms-traffictypediagnostic: SJ0PR11MB4815: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4X354PUnUurkBnw1CjXLpLqRwS72Vti5Gps46YU/qYwqLjD2XiQLXGU7t4ap9yqpIQt523WlL0eGjFx+/gf0OoqRakk5kVuO5J8ZgHED1D/kjMYpRRiZlY0IkI/6OSqLKZr4deFiS2Gw2iQiWdsDoWSs/3AFWdoQ4jocNq9xWkdRBCI4cIvU2GjEMuKoWsWYLgcRvEDKal+1g4AyGsh8b9bciMK1lk6rktgqCFSSk8ouN7dTh+jhM5iFuP7HiiofLC5I+dA39RBoCwy8Sxsu10InQlwDD7Bj3GMqobqBiVwsuPuMD3H0GYGE5YxO6QqYqbL7H5QWGoTrQbv86saOxrEHo32190ybHsaX1iYyiV2M79yxVhzeSDRIcYUI29b/IjMgAEEMWvPrZ9mNw3w7+dEBiq9YvDXwJuP/ZpOh0fsOVTIxO4/DQaXJElCNT2FPkP8bHZNZ3/KoDdXHk5zUrWhywcesBEPas90SeXo5eKKAr5AXN2ZJwVhLndwudBk8QrPmg/nwsNkJ3caIB21ZCg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5006.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(39860400002)(136003)(346002)(366004)(376002)(86362001)(26005)(8936002)(186003)(76116006)(83380400001)(9686003)(64756008)(66446008)(66476007)(66946007)(66556008)(55016002)(5660300002)(52536014)(33656002)(71200400001)(110136005)(54906003)(7696005)(316002)(4326008)(6636002)(107886003)(478600001)(8676002)(6506007)(53546011)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?d0p4b3ZRcG1HQXh6OExmSjB6Wm9OZkFaaGtUN1FObEtjc1NCSHhESmdMVWQv?= =?utf-8?B?aUQ3aVlONXo4Ti9XQkliaER6WkJlV0ticmZvL3ZuQk1VeWpSZ3ZwdVV5ZEln?= =?utf-8?B?UHdmUWZlSTladDZLYmd4SGN6QW1Cb1I2KzRKZVFaOWhjQXBNaFBmczlPTTNl?= =?utf-8?B?UGtvem52c1FHOUNubnBRd3ZLVDd3VWorNk43M0N1cXR4NUNBL1MyU2hGUmZw?= =?utf-8?B?MU14WXVtWUdyZVRPOVBNVmRwSkRkTzFFVVFCeEhtMUZoam5UK2YxTUQvbGNP?= =?utf-8?B?VURUaWhtNExPdXFyc29xSWVSemdpTWp6ekJxTlViVVNrb3RyOFNBMHpRYWxM?= =?utf-8?B?Q1g2bkNOZmJpamxxT1NCYTFOc3dLR0Z2OURsL09lL2NFbEM5bkFJVGlYZzEv?= =?utf-8?B?QVo4VEcza1EyQ1hiY3dPSlNyM0RjVmhxc1ZYcFltL0Fkb1ZucWFScS90RCtV?= =?utf-8?B?WS9ZclVFYm9IblFPUHVIT0J3aThZMEt4dDVReGFsaW9SRzNJWlpOWmF5RVJX?= =?utf-8?B?aUZvRk5DblJETEVDSGk1VkFoKzc0c2pzTTlaME5DbzZ6WU45YWt2MkhGY29M?= =?utf-8?B?d0ttN21rZU5La291MUhheFdrdzR4NFNyQnNWM0FPN09uYnNrUVdvMS9hVG5T?= =?utf-8?B?OGJMUG9wWlVJOTEyRnU2T1ZQdy85N0dodWgzMHI5aENLTEY4UUMzZEdBcUto?= =?utf-8?B?SjZjT2pNSXY3NVFTd2JrdkNoR09oOW1VM2lKUGgyWVNTNHZDSTN0aGtkdHdk?= =?utf-8?B?STE0clVRUnRwRlU0bnR0czN3WHZFYlIyVUR3QS9vcTBvY2NZQUI5RXJsTEoy?= =?utf-8?B?SXh0dWxyOUpNNThtYmFDTkZQc3pKemtUSUhJVkpPV3hmWTFmTThrTStuS3NJ?= =?utf-8?B?MEdJYTRKRnNRektuTGlZYXR4bnRlL2hQTU9CUnZHeUdJMDdHeVdYcW5SaDJz?= =?utf-8?B?dU5iY0dPUGVHQ0FBUktjTGlmMFYxY05yVEt1SGJnUXd6SW81SHVYcVFjQzlt?= =?utf-8?B?TkY2aVA1THBVTTJUZjdKeERpMDhWZnc0NzlzK09jUm5hZyt4U0ZKVnBvaWcy?= =?utf-8?B?dmoyVnpkZjBMLy8xUk1oNEJHdXJDY3J6RWlMc0ZaODgrN1lJdnplV1R2c2p3?= =?utf-8?B?V3RrQXY3c1YxOHk1VW9wSGVGSnNxdlhSVlZPTmp5UWJCb3RHLzVjcFdUS2V2?= =?utf-8?B?K1puaGgrWS93V3ZtTTNQbjlWTjBNb01obDVjZ0J2UlVoL2dLcHdnRXdJUGdq?= =?utf-8?B?VEh2T2ExeDFtbllPSHU3UjJLRE80citpQlFkckJNRUNvYmpZT1hjeUhWV0NY?= =?utf-8?B?VmRSSTduRDFSNDJxbkgzb1M2MVlsZFlWRjdWN0RLRHZLNTl0dVhIK1Z1RGY5?= =?utf-8?B?Rng4ZW9jUEdudkZCREdvdkx1UThyYlNlYno3Z0NGQ0tMd08ydnorVU9IS0w4?= =?utf-8?Q?C8sBmoZd?= 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: SJ0PR11MB5006.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d172d9a1-cf75-414f-b07e-08d8c83a40a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2021 11:52:58.8703 (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: 0Vhgm3dwkF/fcQ9SViw2J7b39s8YwB63oSKCj62AbZDow/NAfuHWVTGhVIBJKQ9p/YFgarzOuYEgaxpnWrBUJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4815 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] examples/vhost: add error propagation in ioat ops 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" SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVl bGluIDxtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbT4NCj4gU2VudDogV2VkbmVzZGF5LCBGZWJy dWFyeSAzLCAyMDIxIDU6NDkgUE0NCj4gVG86IEppYW5nLCBDaGVuZzEgPGNoZW5nMS5qaWFuZ0Bp bnRlbC5jb20+OyBYaWEsIENoZW5ibw0KPiA8Y2hlbmJvLnhpYUBpbnRlbC5jb20+DQo+IENjOiBk ZXZAZHBkay5vcmc7IEh1LCBKaWF5dSA8amlheXUuaHVAaW50ZWwuY29tPjsgWWFuZywgWXZvbm5l WA0KPiA8eXZvbm5leC55YW5nQGludGVsLmNvbT47IFdhbmcsIFlpbmFuIDx5aW5hbi53YW5nQGlu dGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSF0gZXhhbXBsZXMvdmhvc3Q6IGFkZCBlcnJv ciBwcm9w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