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 ED8BB4375B; Fri, 22 Dec 2023 09:07:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 633A54025D; Fri, 22 Dec 2023 09:07:36 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5148D4003C for ; Fri, 22 Dec 2023 09:07:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703232455; x=1734768455; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HG2wVG29ID4wrzah1ATXEzy23FBOugREQ1fpIhLSh4E=; b=gfK3/YHKIWA5060SanZ0uUhaERyiTah8PIq9uAc0G/O8hNJef+Fw7nJf heVxgCM3I97vdsstdlh0+SHv4GPh8jkNYuo43A7bfm8Fdq5vuEfsYLwHF ZcEEjhLsEUoYeh/JeC9JoiWw9zkC+/QTKBav8uxzeGONBZEgjaVuFqiN7 n4pf4cRLQDq+2S1QfclFFYxtsgJV70e4IScrb3p6iLH0VOPDcRkSv4AOV XcW0aQgitJcm2f0ViWfikk1QjjxkPJ5F1bFDd6armrPakGamFufQmaMCI U/WaYoyJNQZekQYlpn0Syx4V5oIvds+xMIjksqgfahTLTE1PF542C2C3C Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="398876137" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="398876137" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2023 00:07:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="842877971" X-IronPort-AV: E=Sophos;i="6.04,294,1695711600"; d="scan'208";a="842877971" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 22 Dec 2023 00:07:25 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.35; Fri, 22 Dec 2023 00:07:25 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 22 Dec 2023 00:07:24 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 22 Dec 2023 00:07:24 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 22 Dec 2023 00:07:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V2x8NKOMvcKv6l0eKcSpn3G1PtbbcVfz9K83qMzydxQ+mEHbgxXqUPdMBtoZFAnA8GNPcw8nPuqi/ndi776VNFETNa2ZvQfvEMq7Q7H1tbroXh2CAw1jV8t8xKyQixvZVBpeMSvvhYKR9IuoI5xxmlE+GBWo0+2L5/B9lZuGCuyRJQ0qSdOTBAHSVWqGqN5oUm1KSiPYp3RUFPbQwwJiOGlqRcv7dZL9qatdbmfvBzygSLiP2wyIuVYoiGl47bOCmxHq8Yi+Ohiqw9cnanob01//0dbgqE3cL8jXX8C1Fz/rfuA2hksv3x+tDjnDBhQ1oOkTAdEQ2J9jLdU31+k7mQ== 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=wPpcDDxHnjzkf7UIilS5qlDUq67FVrWPOSl0LrGcpA4=; b=VZ83RrXvFT3KI05JsOZHhwiNJEMOlEom3raEQzCoV4t4ZMJE04Re9l04yDAtetGwYbNT0sFQoNbmD7LiSq/VYwN7sJe6M01Z7289gxvyLZ+kcW4W+t03pgp5cjQyoB50AYlSsLEeHha/N7h6FQ2JKf6rNn54P4wPuA6sUet0gzy5PNDNOoij3Z4b0NqMZ9WsWULMvPq3bxusgc5ywSRJ2Es2kkdgFdmHMF4ZsK7Tlm7wQxSrn0DNXdgk8yNaYoW2rhMoT5DPb50xNor4If4r4ee3mTWiakU4/w/uZgVZWZxEwT19RB607jsN9ml1CTBFOnpjrE/pxwVfIlJOVckFdg== 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 CH0PR11MB8085.namprd11.prod.outlook.com (2603:10b6:610:183::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.21; Fri, 22 Dec 2023 08:07:22 +0000 Received: from MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::afb9:cb93:1db2:71f7]) by MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::afb9:cb93:1db2:71f7%5]) with mapi id 15.20.7113.019; Fri, 22 Dec 2023 08:07:22 +0000 From: "Gao, DaxueX" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Richardson, Bruce" Subject: RE: [PATCH] kernel/freebsd: fix module build on FreeBSD 14 Thread-Topic: [PATCH] kernel/freebsd: fix module build on FreeBSD 14 Thread-Index: AQHaMm7KSK/Nuc189UCSMG25qsaK/rC09omw Date: Fri, 22 Dec 2023 08:07:21 +0000 Message-ID: References: <20231219112959.10440-1-bruce.richardson@intel.com> In-Reply-To: <20231219112959.10440-1-bruce.richardson@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_|CH0PR11MB8085:EE_ x-ms-office365-filtering-correlation-id: 4d771591-e4ae-43de-f475-08dc02c50641 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2nNbGPdUf2CxFBi4KgqAVPRkQoHqhUVg3xsMerHJZ+xzEF4f05uzdVL/64agrdXVmGb6Vmjz9sORocmegkpeqAOHQICIT4eNaEpt6nMR8PTVEWehazZoHx4sD2OXzUSvW4NjcrUT5mfQCaMTvji6snUckEt5CCRCrXylhcCtIuQAMSb0JTAtfl06hh/fVM4GJvSa9uslJEvuyuB5yDYR65LyamODvpYSSpJCHLYYO7U13BsoWLh16MEoasW2S8teUohD7EYqqlLx/DL4lpmbsQGWy6ZYo9mEWUS/qdMd473tbCEAxVPjRM9PLaXm6iZ98mg2y48hy5prDKtjr8bcvupom3yuCSRkhyxcUjO6aBkKiDh0e3DSYuM2CHwK+zOxTiKFhv8DI9V+jWIbs65+xwM4NhjnLkY77bx6HtRksWMJKSe9InMeH/9UkDrAKqR6yZy9fCBvpisG1LcjUdLA4w14XNY/b01N7C5kDslkI8Ue4e7cQUlGj2q5CDDvZZY1e03RekEOp7+OlziYiSbVRqKiJ5SxK8uRfWU4aD8TtkBLiHtYn29GxSr1Gf+cis2/NbPYmpp5cPyOd5AEKRSqWsV8djVDNU08P0ET0L3mCCck5emaMFRGN81JJx2OYdY+ 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:(13230031)(376002)(396003)(366004)(39860400002)(136003)(346002)(230922051799003)(186009)(1800799012)(64100799003)(451199024)(71200400001)(5660300002)(7696005)(53546011)(9686003)(6506007)(478600001)(83380400001)(26005)(55016003)(107886003)(4326008)(76116006)(8936002)(8676002)(52536014)(122000001)(38070700009)(41300700001)(2906002)(86362001)(33656002)(38100700002)(4744005)(66556008)(66476007)(66446008)(64756008)(66946007)(110136005)(316002)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?GuaXKWwTnshjYpcUZhlg/duVgjMI2YA4ltUpMkBqKuaeZ27FEZiwDfxFSi7u?= =?us-ascii?Q?QPOzyWn0NpJAgtpemAhNYI2Swrvx5lWrsr2Jic0JWcA2M0Ej+bwHLUNRBzQd?= =?us-ascii?Q?J4r+k6NqCdSud6JnXNe9pt48R7D9ydN/hL9jpNYRuBJ7fibnO949nGmwwKBX?= =?us-ascii?Q?QDkNNeFVFOoVzNzkoub072rtvMme4nG110G6lQ5rEZU0QPrZPBZHnBfJalEr?= =?us-ascii?Q?S3KapLaAnYZeUWUsfXnxkrw32ED7IOyNKPfG9BwYE6hyOgcOLC74rdKVerGi?= =?us-ascii?Q?jYk4Nt3Aak4zmL0xNAEz69VznzDpEWPcV1oOOFh/XUKiLh7I1K0YkcQKoXlZ?= =?us-ascii?Q?PAze/FLAePu/+UaMoWITQYkhlXbYsurqGqVYLs4PYYXjms/K/arZEt/onsDw?= =?us-ascii?Q?cvBZC9Y2NgYOtJgP+jRXFkn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q?wjVpLkSygQAPhUkMhWwfNim7yLAf9JAKvcW+ejxpNv90i97kR2W7HRs4ezhu?= =?us-ascii?Q?E5nVFK0CCWvVm++hJWpFbIY/S4fnwVx4VxSSKxVj2+BaYNJiJhZwEFq1vYZJ?= =?us-ascii?Q?apGajV1hVap+Y8WSbQSCPBMNQFciD9/BvwXzj80qcqnWdcJJTCEh23R3T0Co?= =?us-ascii?Q?yEmPppcuQTc2SwLTrK34JZTe+SCCp6UEIVJnlenD6sO2/W2lte049h8C6zA2?= =?us-ascii?Q?Emz5FywpHVepL6JuN2Y=3D?= Content-Type: text/plain; charset="us-ascii" 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: 4d771591-e4ae-43de-f475-08dc02c50641 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Dec 2023 08:07:21.6131 (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: UHhbl0QcoK4kzL/v9D9MXmX8XHA1f4ixZl7IzahZH+8L7UId3IGztyGQmjic2kFR14zUbDNz72PKoDoOWzO2JQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB8085 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 > -----Original Message----- > From: Bruce Richardson > Sent: Tuesday, December 19, 2023 7:30 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH] kernel/freebsd: fix module build on FreeBSD 14 >=20 > When building nic_uio module on FreeBSD 14, a build error is given in the > DRIVER_MODULE macro: >=20 > .../nic_uio.c:84:81: error: too many arguments provided to function-like > macro invocation DRIVER_MODULE(nic_uio, pci, nic_uio_driver, > nic_uio_devclass, nic_uio_modevent, 0); > = ^ On FreeBSD 14, the devclass > parameter is dropped from the macro, so we conditionally compile a differ= ent > invocation for BSD versions before/ after v14. >=20 > Bugzilla Id: 1335 >=20 > Signed-off-by: Bruce Richardson Tested-by: Daxue Gao