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 93473A0547; Thu, 28 Oct 2021 16:13:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5324A41140; Thu, 28 Oct 2021 16:13:14 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 3878D4111A for ; Thu, 28 Oct 2021 16:13:12 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="210487559" X-IronPort-AV: E=Sophos;i="5.87,190,1631602800"; d="scan'208";a="210487559" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 07:13:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,190,1631602800"; d="scan'208";a="597811478" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga004.jf.intel.com with ESMTP; 28 Oct 2021 07:13:10 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 28 Oct 2021 07:13:10 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx609.amr.corp.intel.com (10.22.229.22) 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, 28 Oct 2021 07:13:10 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) 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.2242.12; Thu, 28 Oct 2021 07:13:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mSbDwsFvYCenxZnBR9g74WuXxx31JSgcCSifG3SLjvs9rcf9P34YworMQKvX08XvpEgAAtzKFTNN+Ml47ipRa8mWGx5XxBz1+qNlXKKw75bRtAoZ+WUPSpjPwkYsM8UbnpRD2yMfQknaxNf5QKXNXfTPx8llZDRBYoxlE0z9JJzeMafz3JKddfdLaguwY8ulYN/UhvieDRM03/ro2HAl6o0Wen1vvbdPFH2aYCzAQDh4JunXzsvR7/04960uYq5K1CdgXE6/bOy59BGtVVDZo03H4crXDRxfSvZso25vvwPQPM7GYSsxCUx9MlbgRBjx+Uvfzueqy9+ekxIt1YZGJw== 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=4kmXkJZX83XN5gWOPm7sJRcG9kmXYw5T8PiUhi8iVm4=; b=PN2qzA5kwsHCiS52MIbS99wUAeX/C9Ws+adnJAH3A/CZLDtVFk+m8503mKFjWeAn9V9E0EL8+A7NnvNnGtysXw77bauZ+5UUNwfgcxVv3OnPWKuOygHp4dPGRAOq+FHLs4booRnYU4EapRQmqdVhGWxas/1xGzJjtBRNFobzgAJ9W10YHABcRsPHoTsWQ7sbwjRGOTOYu7RYeBSKW1noXg3ZW+hGoXEq1I37C5SzAqDCAEE1jq1h0D6o6M1F4rNoC8x69ypKxBSaa8vUPREtgShRxzW5kBcTr8FFjYBEn8O7+jw2zEVZYb2HS7cknH30jfsjvAf0txVCoNSUoHfCTg== 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=4kmXkJZX83XN5gWOPm7sJRcG9kmXYw5T8PiUhi8iVm4=; b=R/YMvToF9yPftEmGtLSTVlqNZPoxpFk9Sl6qgFKeRu78RJ33vbQeZC7OBy3ofNXO8b1WgGBxVbeWTAUIal+A1i4AfNrojymLno+ESI6xSPbrte/kyCLes0detj75XDNlQXuDMJJivo95/iMRjZuoDQtbSx++8Glq3S6IqrQqr38= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) by PH0PR11MB4792.namprd11.prod.outlook.com (2603:10b6:510:32::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13; Thu, 28 Oct 2021 14:13:07 +0000 Received: from PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::a80e:d881:3c58:9730]) by PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::a80e:d881:3c58:9730%3]) with mapi id 15.20.4649.015; Thu, 28 Oct 2021 14:13:07 +0000 Message-ID: <20af7492-b3ac-07ac-ea3c-cc3959592e08@intel.com> Date: Thu, 28 Oct 2021 15:13:02 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.2.1 Content-Language: en-US From: "Burakov, Anatoly" To: , Bruce Richardson CC: Chenbo Xia References: <25dd76eca01ec57d64be9c0a78ac2752f602984f.1631788595.git.anatoly.burakov@intel.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0166.eurprd04.prod.outlook.com (2603:10a6:10:2b0::21) To PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) MIME-Version: 1.0 Received: from [192.168.1.10] (212.17.34.161) by DU2PR04CA0166.eurprd04.prod.outlook.com (2603:10a6:10:2b0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.13 via Frontend Transport; Thu, 28 Oct 2021 14:13:06 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b1acfd33-c2d6-4af3-1ec1-08d99a1d10ba X-MS-TrafficTypeDiagnostic: PH0PR11MB4792: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3276; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XKbGA53QG6xPpV/H060ZqAk98iquTTWbqAmTSuLVduX0xWWM/itOAOVG28oSU+XKvkSAiw2KVyQHhNa3o0N/a9SbApdFLZhidghWZw4gwcIdDwQd+gabOfLIAKDfB33kcWbyn14SDj8F/5Kg1YWpJgcHOi6ZrdHhMrPee24xzx6FlIopovnUiO+BjJrU58nf+I+ZZdd5uw6xgR4OnbpyJGXk70eQTp6whkCfFUAe36+WkO5wjifgXqZOcIbGrmbSeOrT8EkAkRani/sD6MERc3Oxwdw1sHvxkf2bw9Uw+xD1/nkFXUl226FczpvFWwV/IW4bjE2aHndJq4FvJLEoDJSenesTHQzYmxCbTGsXrZT7JFz9i/7GjwnZy99p8BYG3YivQ2UgpprwZa+8nDFmz5lQd9ugULwC7RoaYUuBOJANJIk9HkWJP7FDtpDSzkC1DlSAs+CBW7TYZHrVrcfssMklUpOjWdTWI6wpzwWhVYI1bNhCT1TMz6rrpOn4dbrAW/s+br0wdyrnmm6RSgf4snDGivGbb0cDFtKUNrFJy9pZLPOoDzm3NrD9eTyDP8V78aeOGLk5nRwM1ep79/kBTK/XhbdDlwXy3IAC79hMcktNnEF3aUJePx/BKlPxot3eqXFQsjFvU3tYYDoJEH7+giBxMyxIpgdMZWVgrrDD61fhRt05UicauWaRAELVEqDi07PETcq4REGJB9m1RJIqr4RsBgCqTclceWbZD7OMyfE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5093.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(38100700002)(4744005)(956004)(26005)(6636002)(37006003)(31686004)(5660300002)(6666004)(508600001)(4326008)(66946007)(31696002)(66556008)(66476007)(8936002)(2616005)(107886003)(82960400001)(86362001)(16576012)(2906002)(6862004)(316002)(36756003)(6486002)(53546011)(8676002)(186003)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SE9HNE0wMS9LTHEwR1JmWE9vNG9uSFk1QUltb084bDlicktpcXVKM2ViN1FO?= =?utf-8?B?enpDeFBGdFY3UTcvQlhsMzlycDJkWTZoaGtJUmM4ZjFNU3VhNW10cSttNW9j?= =?utf-8?B?YkwrOVkrQmVEaitxTUZsRCtBQnFNWHduZEc1dHNuQWd3Z29JUjZlbmZQN3Zp?= =?utf-8?B?THd1Mmt4MWlKeEFNbk1NRTVhZEJLMmxVVEtXdkJ4NUU3SW45WENoUkN5TXF0?= =?utf-8?B?aW1BNkNyeXpFVHBXbEowYXVmaEpONTNwQklBSTRod25FV1IvT0lrMlcxd09r?= =?utf-8?B?RnVGcmZpbUVJZVdISjN2QzN6TWxMajlLV1BoN29zS1pMZlJLOTR0VmtUYUsv?= =?utf-8?B?QkxYUFNMRklqcEZvQzEvUWE3TGdSRUxBRlpIUWlFSy9RbDFmeDBOS285NCtz?= =?utf-8?B?bWk2dnF5ZDhrNXd5QzNWeE1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M21RPT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: b1acfd33-c2d6-4af3-1ec1-08d99a1d10ba X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 14:13:07.7735 (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: /61D3oVklYar5RbyhM7XGlKugXHeeKzPO5DTEcQMY7I+Fa8pGAtqJZku7IQgqyj4n2yto30uDzL/hMqwt0Emv+mN3S6RFXxsJyaXj/V3MuA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4792 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 4/4] 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" On 28-Oct-21 2:49 PM, Anatoly Burakov wrote: > Currently, when code is running on FreeBSD, there is no way to > distinguish between a geniune error and a "VFIO is unsupported" error. > Fix the dummy implementations to also set the rte_errno flag. > > Signed-off-by: Anatoly Burakov > Acked-by: Chenbo Xia > Acked-by: Bruce Richardson > --- > lib/eal/freebsd/eal.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > Missed two functions on Windows. -- Thanks, Anatoly