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 6218DA0C56; Fri, 5 Nov 2021 03:50:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EAC5410DC; Fri, 5 Nov 2021 03:50:39 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 20C4E40E5A; Fri, 5 Nov 2021 03:50:36 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10158"; a="292669496" X-IronPort-AV: E=Sophos;i="5.87,210,1631602800"; d="scan'208";a="292669496" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 19:50:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,210,1631602800"; d="scan'208";a="579283654" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by FMSMGA003.fm.intel.com with ESMTP; 04 Nov 2021 19:50:35 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 4 Nov 2021 19:50:35 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 4 Nov 2021 19:50:35 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 4 Nov 2021 19:50:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JmF+EPN/yQcNMEZt10ILhe+LSholjVFdeOmuylJ+sPyriaFCG1eeDoVZ++rFJrInStUg95gNz3KHeXV5e8rmukD3M2XRyXNgQ7KTHz4a2TLEk16xmW8Kd70yrTEYQFyRJ+D1AOZAlv/5TezwcKtEKWBlqrg7mAcE/aKmSltCFOp3p9ye5xaqJ22O7Aa4i6+HOMFjKYXl2CR99D/AlVam24FgapdJytvt+bg/w+lQNjm5DjdpbD5nj04GWJ6Ye88mOhawWo39niOrEH1IeRQ6c4Yb0KYtiiRPKsy4LQrobKllQcTtoxv67BfPNk5BdxLDfADSqsDP8UiTf9kzDtKssA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ETvGwdc5KlXErXubKVsIPpKM4TLw8UbaskmZDzOl5K0=; b=dyB11LVJsF0/G8M8Y+83AQ/IHS1KIMnq8NJlgBcrg0/aMu1EJdIeYy5hiAQpEYJK1zQGRd8YM9frKApFMXIvWqiW8CNz7JuLctG9jWSCITgbbyByn8qU20l3HSpWwMWWkZpPAZL66SPHNs+MiQTpY4kwIgBpwEQv3CfBkwHG22uGEQhMyqmniMlz60QgvknpXXIVYZlAuC1e/TXRne2m9TC7QjgALt+PnSnbqfDQGinCm9efX2RFP4lgSSCl4zDC4dJeehznFjU691D3fOLmcTl18odF6xp9NPqAz6G2e932dP75rQ/Wm6BZSXomphywckbM6gnXV9WyVFCS5tro1Q== 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=ETvGwdc5KlXErXubKVsIPpKM4TLw8UbaskmZDzOl5K0=; b=UT2k7LT/DcHExQxKjPw0/+CfTZibQDtacipyEaoD+97Yq4IP7HYhW/oAOklzO0SsoVAboXFzMZdBP6/oI5i68GkW4/P+38PXlcj0e3lAEue69CRL9ILD3NHO0gtfJJccxAz6eILr3FaeQUiPbH1cuM35kgqmmf6UjN7tQm+d8eE= Received: from SN6PR11MB3504.namprd11.prod.outlook.com (2603:10b6:805:d0::17) by SA1PR11MB5779.namprd11.prod.outlook.com (2603:10b6:806:232::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Fri, 5 Nov 2021 02:50:31 +0000 Received: from SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511]) by SN6PR11MB3504.namprd11.prod.outlook.com ([fe80::94ce:97cd:1b5f:b511%7]) with mapi id 15.20.4669.011; Fri, 5 Nov 2021 02:50:31 +0000 From: "Xia, Chenbo" To: "Burakov, Anatoly" , "dev@dpdk.org" , "Richardson, Bruce" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/4] vfio: fix wrong return value for FreeBSD Thread-Index: AQHXzAZYoT0mcGx2Ck+gOEdU71uF3qv0R5RA Date: Fri, 5 Nov 2021 02:50:31 +0000 Message-ID: References: In-Reply-To: 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: d4c57738-afd6-4056-9e42-08d9a007082e x-ms-traffictypediagnostic: SA1PR11MB5779: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aYfmoMtqFyuEs+QGTxpNob9bkb/Ns/SGjqkTlohV7P48zlaWIwWrqlDh7mcp79nr/8w2p9BVyqpGNyw1W4W9Jl2yrDT3tCMlJBGAahFh8hKbe4C0P5/GdSmhp9MYOZlJCcepSaZMuWDuOX0aIgb+zi12xmnLzPDddUQd3OYgLEAXuPDSNpSyK67Ew4CbjYxBDw3I1Tk2sP0RlaOspKfbSgR/IU1fXvrTA9zTyH7P67p15HRdoTJ3KMCcA/C8m93huwO1a2dYMyvzS4RXd/gxzjSevc4Jagu0o+O3XrprV0mq3984ghZjAlawtThQvnC1YatHREuxueharDa+in63pJvObFFp+941BLAbvQn9mK2VDcsHjHigaDK6zdyR39He4YHeZ+SoduD6v0xTMZ2E+4OE97grWxwgLv8UcGjpQMCTQMd6jAFpvrXwnSBdibK4AK0zaKC6fKtTJsaBLRaOLIXu1XVC4G7Qf7Ao1F9Cg4T/TDg0IVQJh/immy4U23xuuU5KJDUS6QulM5A91EVVIAcyZeZApwVeDVf/uiiClhINUwDtCzqtsMtQUIH4KrCd7qi4uXmcjH2Y8ze+P+pTd8RaA3+9XHx3U+4vcl4O30KiJl+LpybhkKZbd1xhHJzug37kng9vZu4nDen3Ugg2ei0p5WMJyg84Vcn2uptLEdcjjwCcOUj35AauNZ/7eUQXwvcvbcipd4ULKb6dBamImg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3504.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(38100700002)(122000001)(82960400001)(110136005)(508600001)(33656002)(38070700005)(9686003)(316002)(6506007)(4326008)(7696005)(83380400001)(52536014)(8676002)(186003)(26005)(8936002)(6636002)(66556008)(66476007)(66946007)(5660300002)(53546011)(86362001)(71200400001)(76116006)(66446008)(4744005)(450100002)(55016002)(2906002)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dzh5bWt2cVh4TFpLaWdWT0drQlNCaXFObkcvY2xlaEdPcHl4WHNKNW9kODkx?= =?utf-8?B?elh0L1h0TnV3SGdoa1c1UzVGYUlHMlEzZnZaQUR1aGRMRlhBNGRhMWtWVHB0?= =?utf-8?B?Yms0amFDWnAzOHA5K1hhQUpQbHdBUlZudnRud0lyOE8rQjFGVUNudmtmYktv?= =?utf-8?B?K3BXM3ZKSzAwZy9jVlMzOXhBREFRL3F2elNueTc1eUpoZjZsMklSeGsyMklX?= =?utf-8?B?M0dnbVpWUnpZdWRDN0ZhaTNCVCtCcXdKVU8vVDJ5WS9KazVGcjR4NHBPeVd1?= =?utf-8?B?VmxWYUd4K0NEd1UvQlVnLzFRZVd2VVRuaytuUVNhSTA4QWpEcEVVS0svbjAx?= =?utf-8?B?MDNsejJwL0VxNTNWYTAwN0plbmVERHNrZytpWVVpRittWnlrWGRPK29oZHJv?= =?utf-8?B?azZHUVlUdytyc2ZNVURuZ3ZhalJ6THV1RytWWUd1TVI2RTdVTG5xc3V3eFY4?= =?utf-8?B?bnJaKzNSc0wwOHZqc0RaZW8waWUyNThuZXFaZ1VOS1BXRENnb05kTkxjaXNw?= =?utf-8?B?amZ6Mk95NG1DcCtSNVB2UERJbFZpL2pNbGV2NEFIZ3d3N0ZyYTFEYjJJUUFu?= =?utf-8?B?czNYSk9Wa2I2V2g3NGpDbEdkaW5wUDhDYlQxT2NOVTdqWDBaWUxqL0hNVUZm?= =?utf-8?B?RmEvWnBRaERhS0FDY2ZZY09hRzQ2c0pVbzV5eUoxSUs5TXMxOEpxN1VaNmJZ?= =?utf-8?B?MC9yU1M4YXYxcnMvNGcvWlFTN2Ev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wVSt4cFdKc3lXOUJCNGgvNG0rbE9NYkRzZ3ZObE5GaGJTaU5n?= =?utf-8?B?NTRPTjk4TS9FMDlGNHZOSFRLQlJLLy9NZDBvS1lKL3k1T1YvV2xWUnNZZHRp?= =?utf-8?B?SUNXd0FZaktjNDJ3MGpVUWZBNjhuWjBWUWFwWEJTVHFGd3ZZMnNqZWdxMlBG?= =?utf-8?B?YnJmZDBmUEMxS1RUVGlubEk3UWhUVnMxWlVka0xzSmFwQ1RUWDlpMU9rTWlP?= =?utf-8?B?UUJnT2xVZFJFVHExUitZaFFNVkxHdTVtSWp6c09hM2trd2dwQXdKLzVIK3dy?= =?utf-8?B?MkFLQ0FUcm9HRWFvNmZBQ1hLUDRTVllVT2NkTjhKdGRmU2Z5SFBFUXhPOXlv?= =?utf-8?B?ZGNROHlkRDEzRUp3aE5JMFJwSGZzTEJsemJBSGplSFI0VGtpOWRyL0gwb1ps?= =?utf-8?B?UE1WcjVINUlBSW5JUE42MmVZcjlrdnN5MGNSS1FBNkRQMXpKRVRrbGJUVXRY?= =?utf-8?B?czBqMTA1cmJVUy9Mc1NGVFdheURWVjFDVWtVVkh6SWtIL3R0MHpLZURlaWNr?= =?utf-8?B?ZHc9PQ==?= 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: SN6PR11MB3504.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4c57738-afd6-4056-9e42-08d9a007082e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2021 02:50:31.1274 (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: Q4c4uvnb2te7oNhlAEY/VozJxZfktHPYNKeCUnct6m0bGoY4ld56VLLtaxmh7sdk3WVgvncS/6OHRVHAiNI3wQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB5779 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 2/4] vfio: fix wrong return value for FreeBSD 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+IFNlbnQ6IFRodXJzZGF5LCBP Y3RvYmVyIDI4LCAyMDIxIDEwOjE1IFBNDQo+IFRvOiBkZXZAZHBkay5vcmc7IFJpY2hhcmRzb24s IEJydWNlIDxicnVjZS5yaWNoYXJkc29uQGludGVsLmNvbT4NCj4gQ2M6IHN0YWJsZUBkcGRrLm9y Zw0KPiBTdWJqZWN0OiBbZHBkay1kZXZdIFtQQVRDSCB2MyAyLzRdIHZmaW86IGZpeCB3cm9uZyBy ZXR1cm4gdmFsdWUgZm9yIEZyZWVCU0QNCj4gDQo+IE9uIEZyZWVCU0QsIGBydGVfdmZpb19jbGVh cl9ncm91cCgpYCB3YXMgcmV0dXJuaW5nIDAgZXZlbiB0aG91Z2ggdGhpcw0KPiBmdW5jdGlvbiBp cyBub3QgdmFsaWQgZm9yIEZyZWVCU0QsIGFuZCBpcyBjYWxsZWQgb3V0IHRvIHJldHVybiBlcnJv ciBpbg0KPiBkb3h5Z2VuIGNvbW1lbnRzLiBGaXggdGhlIHJldHVybiB2YWx1ZSB0byBtYXRjaCBk b2N1bWVudGF0aW9uLg0KPiANCg0KRml4IHRhZz8NCg0KL0NoZW5ibw0KDQo+IENjOiBzdGFibGVA ZHBkay5vcmcNCj4gU2lnbmVkLW9mZi1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