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 23A0AA04FD; Wed, 26 Oct 2022 12:05:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18D3740F17; Wed, 26 Oct 2022 12:05:19 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 0848540041 for ; Wed, 26 Oct 2022 12:05:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666778717; x=1698314717; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+1ybFNTjLHabe4XBl4MjawJKHWIS7J7+9pcv1JYgt88=; b=TnOAZF8+uc4qThubMm6df+DSdA2LJ7ORfsUwYcRQaUhfSkPR/h8U45Pi p78YBE8WtVgwOb2J3Nry7aTKbsO6G4JZUsHyrOOLkPgsPZpdUjJ6oVfaA jPi1zoLSsgF/YLnZUNpWMa2iBgQRJNfRboFlilGfwLEIox8UeLbPAMVBN Zv3GAxZIGa5uD+fLdK7stx0vcHRXSAlYV7SFCeVQv3PtOJg+/RmajE1rM WQdDnXPYuxgz/Sutc6hAYCIVp7SYi9wY4J4DSP/JoSGzFjla14Lw8MPBD VJyQsfGb4864ACuGxIouOXNMS1Uefk6bf3NzP4GmpZr5TNM46tCGHRDDj w==; X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="295316099" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="295316099" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 03:05:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="695303043" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="695303043" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga008.fm.intel.com with ESMTP; 26 Oct 2022 03:05:15 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 26 Oct 2022 03:05:14 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2375.31; Wed, 26 Oct 2022 03:05:14 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 26 Oct 2022 03:05:14 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) 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.2375.31; Wed, 26 Oct 2022 03:05:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IotDRGy8TSfAlxBRG2N00+oKvxKDO+2aiMGw2QRUgxS0QvlMijHtqnVYO9TJgDNCZqcSIgDoqNZcmL7Qjl44L8LUHmYY1gltZxt6jeePD0nNmUNxXngwhcIvc5Zq+/gidDt6IsepGCgg8F0djPXGxaFMopfscXaTWrte0OojvOcnwQ6oOaYHB3V0htawuE/sC3uVpe1HtS9q3i7T6b+RvY2kNJDhfyXOy+kvuEJF920Gq8PqbCWTjg3SYM0eFvRpqQo66/y0ffusOks/gouLKjhmN2GfcjDM0EU+xkKTPhAob9mEjRG4wIxtS4P5BVuPItPAcQojtLK68UVQNGAjHw== 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=+1ybFNTjLHabe4XBl4MjawJKHWIS7J7+9pcv1JYgt88=; b=XXb+SXeXCBTd5V8KzzPXPeA29G4tkrkAoClFPc4EfYpIowdy3z0kqQnjsgctLfr0gaCnCMa7u+wYer2v6J/gHplfEqpcGeLpY8N3Ycg5sZSnbowm+rsLVSLucapt/JK2XUSp5v6j+SfEFnePB+U3jwoSv0QqQowVLuOkMETaX89PUOSBrZCPymNvhPQHJqyy3hX+3FwUmDURsjHaLhC+QT2EpiLoAP5xz0waJgYA8uplVEmVngBs8Zxq+7hA8g/aLVPRoOXtQgdtFbwBcv02Q2eP0Kd6LKfGkOCB/Yy4J95QzpPb7frknDNzQBPbzwfqtkC/b8f0cLDjdl+7sqqXeA== 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 Received: from MW4PR11MB5799.namprd11.prod.outlook.com (2603:10b6:303:181::17) by SA2PR11MB5035.namprd11.prod.outlook.com (2603:10b6:806:116::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Wed, 26 Oct 2022 10:05:03 +0000 Received: from MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::961d:7e56:394d:576f]) by MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::961d:7e56:394d:576f%3]) with mapi id 15.20.5746.028; Wed, 26 Oct 2022 10:05:03 +0000 From: "Gao, DaxueX" To: "Guo, Junfeng" , "Zhang, Qi Z" , "Wu, Jingjing" , "ferruh.yigit@xilinx.com" , "Xing, Beilei" CC: "dev@dpdk.org" , "Li, Xiaoyun" , "awogbemila@google.com" , "Richardson, Bruce" , "hemant.agrawal@nxp.com" , "stephen@networkplumber.org" , "Xia, Chenbo" , "Zhang, Helin" , "Guo, Junfeng" , "stable@dpdk.org" Subject: RE: [PATCH] net/gve: fix meson build failure on non-Linux platforms Thread-Topic: [PATCH] net/gve: fix meson build failure on non-Linux platforms Thread-Index: AQHY6RdVn2KsIvgbe0GKOoaJyw3/ka4gcO7A Date: Wed, 26 Oct 2022 10:05:03 +0000 Message-ID: References: <20221026084244.22083-1-junfeng.guo@intel.com> In-Reply-To: <20221026084244.22083-1-junfeng.guo@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5799:EE_|SA2PR11MB5035:EE_ x-ms-office365-filtering-correlation-id: a5cb4d4e-57eb-4cb1-967d-08dab7398ce1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /Pvg7NxUm+G1hDNeOgSXhJEmFaClGgIr2OH2Z/nFsQmn/kq7mhvuqKjXD4O5u9nYtkxKA19lC02SmCkWxqLhk/VM6PoL14Athip7KuQRsmW8j5xaksaOnLlh8NkQrdCOxazN9ktzUjo3qqIDMBYaYNRLEB9cGkvDfCjw1dIf7nBaoaTYyHk4mjnG82rrUpFfRcXKA3FbU52zCbJRDcaTDf+6hBeXPQc/U8IHnaHCEfj0O7RgDZkzKYG9zFlycVIKJiLWs3vklPY/CQgteJUx24OGyPV34xfFwoFSQS2fF9tnyiegVtt0R2GgBaQAcbVicIIM0dmcEiHCcQaFNQL+u7WvXreb6OK1ScSfWmqMB++nRPWVpOjJscQSpRW598XRMo8xWd7eFr1JkXYfRu/ZAFFzMto0lmHr28nOCkjyNr8zbAe2prmNhmxbKj1tik8YcrJYFVpz6G+veIxToNWELfvtZ+oHyjalv9pEMnTTotf39kR+Y7eE3XTItB34HFTVX9DfMBqKxKHIItJA4SNcVy25gUjugzbf/8h/WjZgEEptPJ8Kt9riIxGH1SdsFbVO7h5zekv7UQ8X96te8p/aryyYIPuX+Ugd8XYimLwhS1JbVlXUNRxsnD/sUNgAL8FMgdOhBFGOxWPdf4VKwBr+FZFDV4xKjmI+wsO2MJ48qniOh2ZvC9FJZd4llkFOe7tb7skH7BHFchIzx5rBYlqr/ZTKJxh4cvOUi1CHk3VK9Fc99OC3K5EqXDaWiJA6fOvr0WIQzYRQsukZnN/Fn0F/VA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5799.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(136003)(376002)(39860400002)(346002)(366004)(451199015)(38100700002)(82960400001)(4744005)(66476007)(66946007)(52536014)(66446008)(76116006)(66556008)(5660300002)(64756008)(8936002)(122000001)(86362001)(83380400001)(38070700005)(33656002)(6636002)(54906003)(110136005)(316002)(186003)(9686003)(71200400001)(26005)(478600001)(55016003)(53546011)(2906002)(8676002)(41300700001)(6506007)(7696005)(4326008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?UExoRlc5WGpUVi80a01HZmpkUlh2SGxRZVh0aVBDVlZQWkNTOHpyZjBV?= =?iso-2022-jp?B?Y3ZBYktXbjZUTXBkU3FqSXdOWnIxaEh4bXkvYWx4OE8yaXhhSnJNdDBU?= =?iso-2022-jp?B?T3dIa3ZRRk9KTS9QdGFOaTBoNXB1eTZYZEFYUVBqVjlXK3hBZlZJSlRV?= =?iso-2022-jp?B?bFlOM0tXdEpGWlpLRGNIVXpZWmw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?iso-2022-jp?B?djNpKzBrQ285Tk5JcGlXQ0JzRVhNTit2cWpTTDVZU0Z0RWRvNDlSTDEz?= =?iso-2022-jp?B?QTgyVkdTeGdkamF0bldkcFplWHA2UEtNNVRqeGNkYzF3aWNSL3FrZSt2?= =?iso-2022-jp?B?Nmc4ZDRDQjBnMWYvRDBESS9PNGVrYTllVTVHQkRrRGdTT25rMjdQVXoz?= =?iso-2022-jp?B?eHpZZHREaEQwWXd6aCtFSnRYYXExS2djRjExYXVFRjdOTlVoSm0wdmJt?= =?iso-2022-jp?B?WE9KakQvN2kyV3ZabXZZeVk4ZGkwK2c0MDFzMy9UVTFMZmEwL1ZDaTFl?= =?iso-2022-jp?B?blpQTw==?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5799.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5cb4d4e-57eb-4cb1-967d-08dab7398ce1 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 10:05:03.0335 (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: 2Utcy2Y6xL8ybvve8W+KlJRB1hxa0AwixCB0rVirh2Pu9lXcElCcWGyE6CE6qu2GiZ7CWfekJYWRIkNTUv9vpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5035 X-OriginatorOrg: intel.com 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 > From: Junfeng Guo > Sent: 2022=1B$BG/=1B(B10=1B$B7n=1B(B26=1B$BF|=1B(B 16:43 > To: Zhang, Qi Z ; Wu, Jingjing ; > ferruh.yigit@xilinx.com; Xing, Beilei > Cc: dev@dpdk.org; Li, Xiaoyun ; > awogbemila@google.com; Richardson, Bruce ; > hemant.agrawal@nxp.com; stephen@networkplumber.org; Xia, Chenbo > ; Zhang, Helin ; Guo, Junfen= g > ; stable@dpdk.org > Subject: [PATCH] net/gve: fix meson build failure on non-Linux platforms >=20 > Meson build may fail on FreeBSD with gcc and clang, due to missing the he= ader > file linux/pci_regs.h on non-Linux platform. Thus, in this patch, we remo= ved the > file include and added the used Macros derived from linux/pci_regs.h. >=20 > Fixes: 3047a5ac8e66 ("net/gve: add support for device initialization") > Cc: stable@dpdk.org >=20 > Signed-off-by: Junfeng Guo Tested-by: Daxue Gao