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 B7DFBA0C45; Wed, 22 Sep 2021 05:31:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 992784003F; Wed, 22 Sep 2021 05:31:40 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 2A1994003C for ; Wed, 22 Sep 2021 05:31:39 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10114"; a="223153482" X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="223153482" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 20:31:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,312,1624345200"; d="scan'208";a="512801308" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 21 Sep 2021 20:31:38 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) 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.2242.12; Tue, 21 Sep 2021 20:31:37 -0700 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.2242.12 via Frontend Transport; Tue, 21 Sep 2021 20:31:37 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.41) 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.2242.12; Tue, 21 Sep 2021 20:31:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LgEAMBJYVfFapfb28KIDaOR2SOoBeVmcNP7MbX5Tc7wNveF3+P3OznU+HaTh8Ve6W6fB67mvDKzsoEOOE+ub1nodvaMRKSRmo8x/gVYC3SH/bfRdghNRugtD7QNuIyr8ixMZzDQTyxxSg9ZyRox08+m+ciMsIuw9hDfJEb56ylsKCreZAL2VpgszYYqzOAwvH4V5Vt/ODoDeFk7wOmN6UYy4eQEOxg21xYxrdFCSHusdpB+j9VN9GQnDC5q7jcSFzSGgv918Y6jVLZsXdil/OaA5biTRjszkdutZqBII8Y1ZDE05/yzBNPI6JomUuf1BOnPxd45FXU2fro3yO6lofg== 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; bh=v/co2XaACISsSsR3CBtphrwgPWE8Ta/HQ6CgJO6vCcI=; b=g9KoqyXOrtTz2SWwC4taqU6IHtzJmpF8BCkI+mHMOgQVhPUeDNeJqCPv7zH/Y5FbHACfhowJhreL07urqCOFGVQ9RtHlGvcf+R2uqKHUhdewcJJpZ2rdnspk6fHAhtnvARmu5n4decrfkutxmf9dRsF+2IKW24Tp57/U+/p9UQLgFBl3tD5LXKIwhPb7kdtUFWm8S2x7vzPy9pgdpdUEUvshxbnLICgxiVrxkVdrcgvPZhJD5X8TQS2PMMXudHdMUpuWhpuVJzHPNFAHZnBlgfQa/PDYrh2neqYa55ueaJXSctWYT5JS722iepW2/8hW/wiWBBmXooFY3l+4sapEcw== 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=v/co2XaACISsSsR3CBtphrwgPWE8Ta/HQ6CgJO6vCcI=; b=PP2Ysf+6FNNhekp7Kv0L0M9K+qJ2pkCVd8Df8jm+WnzpQowt3DjQ/g9tlJ99MUA+FJffGYn7d9xxGmSAGsSfo8KfGo+00iBd1GTy+ZBniq/XJk1Vqwdiy0LUPq+nqySsF8jRA+98DscunxP6KFlpsTFlJB56OCxou017tc+gyRA= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3854.namprd11.prod.outlook.com (2603:10b6:208:f0::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Wed, 22 Sep 2021 03:31:33 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801%3]) with mapi id 15.20.4544.013; Wed, 22 Sep 2021 03:31:33 +0000 From: "Xia, Chenbo" To: "Burakov, Anatoly" , "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH v1 2/2] vfio: add errno on unsupported platforms Thread-Index: AQHXqubOafVDtvMztkqyF2CpTZNUsKuvbpQg Date: Wed, 22 Sep 2021 03:31:33 +0000 Message-ID: References: <25dd76eca01ec57d64be9c0a78ac2752f602984f.1631788595.git.anatoly.burakov@intel.com> <67c4e47e511558e2442c73c57c1764df656720e3.1631788595.git.anatoly.burakov@intel.com> In-Reply-To: <67c4e47e511558e2442c73c57c1764df656720e3.1631788595.git.anatoly.burakov@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cf9d86ce-c996-4ff7-a4ca-08d97d7979ba x-ms-traffictypediagnostic: MN2PR11MB3854: 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:854; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Uxjp9kPFpG7x2vuKgu8ui2GLxLmOzSqrgqDjmBKclF/VFdE8ag3wTZm+/e/dsNmi5KV2phDTREAFY17kp8zMi0FLu8UezAnhdvdZYJvc+qwwoKZRA2SQQ3rq5fNr2k/EFM8spdqPMBjGWngRMBYls3yrrrk3SLrDHvfs7VtRjuBHVHg6ph8MODMinimXEzbCTHcHhzlczltLuZsUzEbokEhYlCMM9HRRlTMMNZrw5uxkreHw96QM2RIgGJvi/TqAqIvBQIV+jD7teebVE9CuZsh7S2M282Kc4cjhv6J+CWDAqF4iNpgdc4QhQxcI84zr7BhPSY0gp0k74c1Lwk6IHAZNGNl40AD7YfUqT2dEpg3kpwi7lmZZDm10K8EKVksu9+5Fj7lUfbHGvvqUY7IoGgIYz3P6aF9QPpQwA7vS8e+dJ0sJ/nj+y5E8VpDMqi0BwroUpnGPFYHmskGlng/nZecj6j8ZwmO8W90B08t93euEaSQPilQzSiZIW9bxfDM7ZH7p60f1iqSewSdHnScJz4KkBJcNR4SFJiYUTD//SPH2hynoSKF4DJK4fJja+sv48xw36Ko6rpghM6vjcUAJAn09+dT+lq9vuV92UUCPiJpcssEzjFSQo6mwzIT0P+E3QyXz0bqb8MNSBuEUMdDAV5u6Jeh7OOX7bU7rRDEVnWMfubmB1qW/58gpsJLn96MXdk7l//h+lStYIe7y9CnmdA== 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)(366004)(186003)(64756008)(55016002)(86362001)(508600001)(83380400001)(8936002)(38070700005)(33656002)(66476007)(66556008)(5660300002)(26005)(316002)(66946007)(66446008)(122000001)(8676002)(38100700002)(110136005)(6636002)(76116006)(2906002)(9686003)(53546011)(6506007)(7696005)(52536014)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TWhKdGhUQkF3aGI1VXlqTnBqdFkwOWllOTlFa2lGQkxrVXlwbFpXQzBzVjdj?= =?utf-8?B?S2NTbCtjUTJGQkZqSFFaUU1IYWprUWFwTHZlQmZvMmxBMmFnMmZDUmZ0N1FW?= =?utf-8?B?WW16aHNhU0xOcDdDTndzUnlPTDUwNmc5VGRsWWczOEhndTZwQWFKcFljandU?= =?utf-8?B?bXh5aTZOZG5QdHhEeGxudnZENDVqVXllUlRlZ0hOd25zZUQwZkt5YkFmbWl3?= =?utf-8?B?d1FYM29Xd1RISEJMeXU1eGpnVEFtZ3c0WStEaktFZ0dMYWJRYWZIa0xVRGV4?= =?utf-8?B?T0t5VWN5dlloYk82T1RzU0o1bmxYOW40ZjZuejQrTzlqWjNzOThUeWVxNExu?= =?utf-8?B?TW00ZTk5elh2VG92ZUpCRG9CcDhWS2tvUFZOZlArQm82UTdJRE9kV0duWUJL?= =?utf-8?B?bFJtdUNEdEpqU2xnT3JjQVM4RnZqNHNxOVBaeG9LaWdibXFsVDN4cEN6YnR6?= =?utf-8?B?SUxFRVl3cWc2Rm1mRFlubFNnT1VPZFBSeFNFUUt6YjVwY29GaGxZUm04VkNr?= =?utf-8?B?NjlLdWZMRlVMcEZLN2poYS8wV2ZGdEdxYnZjWEhDRFA5Y3kxMXlQK1BDSVpV?= =?utf-8?B?eTc5NndRVWhtTUtSUE9wdk5Jc1JDc0tkT2QybDh0TCt3REx3S2lSQVV4TDAy?= =?utf-8?B?RDhaRkhkM2hhbGlVK2FDbHBoTE1yd0FpVUg5a1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TU4vL2N3MkhvaUhmcGdJRkFURUs0NDVS?= =?utf-8?B?YU9WUGdMYklQdDF5UGpkQ0thSndJKzJndytWN2ptbldZa09TODExWDk0dGNn?= =?utf-8?B?Y2o5V1Q5ZHdnK1Z4VHRPQzNQZHJnZ2pkNzY5RUlmT0hqVVFRZWNZNEJ3cE16?= =?utf-8?Q?Gm4SbdindXqab5CxXeZnK+tP9HaZjJEnIOBkxKl?= 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: cf9d86ce-c996-4ff7-a4ca-08d97d7979ba X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 03:31:33.4736 (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: UmmK+TxN69Lc+NcaLveZXNuzQWbeFhUJyAOcoZN4s7JiRR2Qgiuzn5bfXDKKvy4fRsrfElAlNaNXjq8RxdfUSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3854 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1 2/2] vfio: add errno on unsupported platforms 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBkZXYgPGRldi1ib3VuY2VzQGRw ZGsub3JnPiBPbiBCZWhhbGYgT2YgQW5hdG9seSBCdXJha292DQo+IFNlbnQ6IFRodXJzZGF5LCBT Z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