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 4781CA0501 for ; Tue, 24 May 2022 08:50:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41BC740A87; Tue, 24 May 2022 08:50:42 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 7C141400D6; Tue, 24 May 2022 08:50:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653375039; x=1684911039; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=pPwvzQpCSUy4LT+yzf8+5gB2/ocVfOJWJeqezH+AVoQ=; b=HIYpQR+0faZk5MVc1VgtrZ0KRgY9mUF2mOJ4Zha9okbDu3BTL4jN+Ydt vXPu+H3EpPJHRJjluYglPJBC+PF/hOQWlJoURmnSCLbbXnyCWXDWSkFt5 8yX5rfgT9zVjic4e7VvJ4zAQ2bf5COz3rPtoN6pR0o0I7BUYjZHiSPJ2c /q2mKU1wAOwQGun+4YAgjOxytAkWlCRcqdstITYnqmTftFhPN0B1ghTMh V2CIcA1bAdpm6iAl8BF1XasbW/rlEjvsC9zNKeHodQKC8df7sWE5T/JCC poul3MvIBIaq/zUsmYSVw/tSED0W/6ME9f7fkme7gAfETJ/rDHwkmHskg A==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="253322688" X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="253322688" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 23:50:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="559004559" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga002.jf.intel.com with ESMTP; 23 May 2022 23:50:37 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) 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.2308.27; Mon, 23 May 2022 23:50:37 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2308.27 via Frontend Transport; Mon, 23 May 2022 23:50:37 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) 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.2308.27; Mon, 23 May 2022 23:50:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fTNbz70OPUikmdsxxYVhm5bhG9N51NmO4uec2n5HTYNYUtrCGt5i4I27Ubau3ZufmQKbYxzEPMdMA+kdcu8GK2X4Nwo3eOUPWkDHEryh3cjA5q5sl7KSuP+F4L8RZtGAGdJ8665z3dckSHKW8v3l9LXVfwSKZhu0hHQqfhzxylmV3wbglGf5HXhWxIGzRR8U17HYHEucDNyMgiC79pv01V84pff8Fowljvr8SFBLntl/jGw9eQsU1YbcTnQX3tZRmlqADLz6kDqgx8hNtdtYC2e4vkymWNtM4j6rgWBCwxHCUXDwM8oI7FINODqTzxTNTyER6dn1Ot/nBTkXZZcifw== 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=pPwvzQpCSUy4LT+yzf8+5gB2/ocVfOJWJeqezH+AVoQ=; b=TSd0vKh+UpmIC4TCZZvj2ZkrRXUtUfDyBdXQF46QW2GnPqwIbiTkA1Y2CdPm0XYTPDsd+wZxOQ6o4iP3OqXpvuhZUt356YGvjzv9Tm+efAYJeU/riZI2IeZYm1tY74vFb5ga1kV3PPcoA07aLKHT1UygMnH98buI5pe5GrUDjJtLcKjt0l8I4KkD3t1imifv0MoxnFu7EqkHWNCO/+J+B1kftCIcAR1TP4GX63tW/Xi/UHqdYsrBaBcY8zif9O97aowCYHuFgULKSeYDRRZnNRLV6r1DDfYvyi67XxkyC9py6eiLzAXYKluV29pzqiuIXsEaqS2+8IUrxpP0zHR+VA== 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 BYAPR11MB3702.namprd11.prod.outlook.com (2603:10b6:a03:f7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.14; Tue, 24 May 2022 06:50:35 +0000 Received: from MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::a524:46fa:752a:fe51]) by MW4PR11MB5799.namprd11.prod.outlook.com ([fe80::a524:46fa:752a:fe51%2]) with mapi id 15.20.5273.022; Tue, 24 May 2022 06:50:35 +0000 From: "Gao, DaxueX" To: "Richardson, Bruce" , "dev@dpdk.org" CC: David Marchand , "stable@dpdk.org" , "Richardson, Bruce" Subject: RE: [PATCH] eal/freebsd: fix use of newer CPU_* macros Thread-Topic: [PATCH] eal/freebsd: fix use of newer CPU_* macros Thread-Index: AQHYbHUWJeIAy+VBYUCQ6hv7uyk7SK0tmc/g Date: Tue, 24 May 2022 06:50:35 +0000 Message-ID: References: <20220520181050.55654-1-bruce.richardson@intel.com> In-Reply-To: <20220520181050.55654-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-office365-filtering-correlation-id: 64e09cb5-3195-495a-6445-08da3d51b430 x-ms-traffictypediagnostic: BYAPR11MB3702:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mHZRY7a9g4Axt2QQtzVbF71JvZcGa7xhaHqhZhp7wEbvOQY9PdP8bTJb3H7kc3c52oX/u5w6YTfmkM/BbGoz2xLM0BcQnhZiGFyH0qTVwP1B+ZFgj9n4KPzgFDOFfJwQnP5WUTX0wTh4obu3vKGsK2jYGdAjlmKQlklTGJds1uzNvchb2GUVuM/QEMLutqhhqCK7xAyFUQXDJUAz6U9PJ1sXi3s5lT+GHVGvvo94Nmb0h/hSy3ytX/2136MOwLGxeS9v6/PgdO4MwQ6H8ovtFefTQyds7vb21aVuFXKWCr5qIRvTlWEVD8OMf78RxAzBcb5io0QumnpYcnyXMBqcwY+FHm79n831O7NdbJC6D4og4tOqtwK6/92Le1PjEY+yzM+o2Z/rHWCbNKReWXPtKBVwBIA8crdb3IGqxlwMZ2oNSSPvO5JayIFxPeVOFrejwi0K68gVPdvAahLB4lsm8WPZAmvha76nSVFCwfIxtj9RIOayKAj6saY4T5TGA6xwOqPUk3DrMeiEmBOkTzoKFbFOiN5WfVXGBXWv+JNIX7AsWgTh3o7pECsjF3SbSq+9FoXNFbLFMM5nwRcGWIoyhxCUDw5m4QApbdvtM6VGZg3gWmfaf+lECgFNNO1ZyyP0UgozYz2iEEDt26zqdcKeUgolcKc/gFx6u44rF3XXGYIyXhxG7zkZLuK3NmjdhWw76c9Vi78dLdjvRvwGfIpINXnRy2hzgkOimBQrNeCiSLnK1LWTWDislC4fB6FtawyjrDJG92LMsqDwyDn2+hhugMdn7iyuw5GeyKYBR5iqvT4= 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:(13230001)(366004)(82960400001)(966005)(508600001)(71200400001)(4326008)(316002)(83380400001)(54906003)(110136005)(186003)(107886003)(53546011)(6506007)(122000001)(26005)(38100700002)(52536014)(38070700005)(7696005)(33656002)(2906002)(55016003)(4744005)(8936002)(5660300002)(66446008)(66556008)(64756008)(86362001)(66476007)(66946007)(8676002)(76116006)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?N21BVXR3V2NyVEVEaHVmQm1tOGpQN3Q1QnlweVlxQ1IrVjRGQjh0MjVl?= =?iso-2022-jp?B?Vm5TdWNpRWtQSk1jT0ZsZ1pNMGdCRk9PWU9HRkx2TnVhZ1VwNzEzUEpZ?= =?iso-2022-jp?B?UGtoVmJ4YS9ORTRBQTZrRWRFblhGeGpNNUMycGhMcVVISGtpUFVVRklU?= =?iso-2022-jp?B?UVVTdVNEbytFbHZPMFNibkFuTEhxRUNXOVVqTWF2ME50ei9HWGF1QXNQ?= =?iso-2022-jp?B?K2RqdjBHVVg0WTMzMFhJbGdkTmtnZ2tsV0t6VTArMFdXNE56a3FSSnlU?= =?iso-2022-jp?B?K3lZTDZiV0tOeCtTajNJdkcrNHFrVkhhc3hBd1dFWXEwallNazJVdDhh?= =?iso-2022-jp?B?d2NJQ3RIVDVJeUFhamphaUhUZTlmd3VvQVRJaktRVkR6OTl5cUxkYnAz?= =?iso-2022-jp?B?LzBCT1hpYndwNTMyQ2hsSVBJZnJMYW9pYWdqL3lWSE05NjBFU2NGZ3FI?= =?iso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xVTVJVnNCNE9LSTREcWRQUVZ2Z2pJeGJM?= =?iso-2022-jp?B?UWZyUnV2YzVDcUozSkRydzM0V3VNamZ6V2pHMDd0L1JqT2thU1lWVUh4?= =?iso-2022-jp?B?VEtrT0g0TFAyNmZ2akI1bDQxZTJ1ai9NeU5tL0M0NUVLRWN5SnQxN3hM?= =?iso-2022-jp?B?NlZkellQSzAxOWxGVzQzM202OWE1NE9mSzNMbFJ3SThTVHVOSEc3djRt?= =?iso-2022-jp?B?YlRabi93bzNJRTJHaFVUQmdaT0x5dTcwOHRqQT09?= 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: 64e09cb5-3195-495a-6445-08da3d51b430 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2022 06:50:35.0749 (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: wSPMiI/J/7HJA+QN8j0taqbTkuH5vj/dOdiNPJy9BQWTjxRr3bTKu8r07CWYNQis9efAyu/4eViMejVhbef8rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3702 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Bruce Richardson > Sent: 2022=1B$BG/=1B(B5=1B$B7n=1B(B21=1B$BF|=1B(B 2:11 > To: dev@dpdk.org > Cc: David Marchand ; stable@dpdk.org; > Richardson, Bruce > Subject: [PATCH] eal/freebsd: fix use of newer CPU_* macros >=20 > From: David Marchand >=20 > FreeBSD has updated its CPU macros to align more with the definitions use= d on > Linux[1]. Unfortunately, while this makes compatibility better in future,= it means > we need to have both legacy and newer definition support. Use a meson che= ck > to determine which set of macros are used. >=20 > [1] > https://cgit.freebsd.org/src/commit/?id=3De2650af157bc7489deaf2c9054995f0= f8 > 8a6e5da >=20 > Fixes: c3568ea37670 ("eal: restrict control threads to startup CPU affini= ty") > Fixes: b6be16acfeb1 ("eal: fix control thread affinity with --lcores") Bu= gzilla ID: > 1014 > CC: stable@dpdk.org >=20 > Signed-off-by: David Marchand > Signed-off-by: Bruce Richardson > --- Tested-by: Daxue Gao