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 6B459A04FF for ; Tue, 24 May 2022 12:37:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6413A400D6; Tue, 24 May 2022 12:37:35 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9C739400D6 for ; Tue, 24 May 2022 12:37:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653388654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NV5t92hPNqa00R9+gnMa7JG1LbSlUok8rWaTwOOpj90=; b=D8xo0gwLILys59AOCxHejERtuR8QzNd5/WoNISkkpq5OwGrTegZAdNzBQJU8/6n13yadSt twsZDuAKWzZOZQN7H7hpYKxhOXcd+Jx3ZHZnzIDgI42UdaJFUYqlXLpLWuAfMs0fNgaEdP HdjRlshzWOabwTvSx8rPauiYV7T/wAk= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-587-mopRrCnkNzWDaCla332dPw-1; Tue, 24 May 2022 06:37:33 -0400 X-MC-Unique: mopRrCnkNzWDaCla332dPw-1 Received: by mail-lj1-f197.google.com with SMTP id k9-20020a2e9209000000b00253dffc9556so2011171ljg.2 for ; Tue, 24 May 2022 03:37:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NV5t92hPNqa00R9+gnMa7JG1LbSlUok8rWaTwOOpj90=; b=q+najr5i0CX2YZd7tBhtrR38qPSdFanE1FQW5xBtdYqpxKeQGE3nRRfstPTof7fhdR VV8EJtgTjWdm7wASjYSmY/AVo0Pd5URFJcAxjo+GYKJAopsvI7yuTcO6xLCChkmYspys 3fFyJsEqjG2wcraTU0ATmxzpijliO4c9SflHzkpj36Uw6fChIW8OCLGx+X6/E4QFq3dZ 1iBuWsTuPPSNv0iFAfMJ86Kb+YmZFh7/idXT/shPLZAaVrd9G6bBwr7e3AhnTxqu9kRa tJ7UzCvUbKviM2tr6eV5fLDvQ5M6zG9LSwpFiwCK7Iv0yyE62jkVNcghnV2u1qucBc3j NNWw== X-Gm-Message-State: AOAM530bBH/ZJIIfVNAStaYgcZK8Cen9Gr4o+/Jj3kQJJddTsk/Vcq+x AJ0ly4WyqMBqol1eJF5UHreT/N0C5HVYsWA2v4yRE6y/46H1FCtKFNhboh0HyZnENZvVhr3J29y xK+36Wepgsa4jaL2YEADwDLA= X-Received: by 2002:a2e:a805:0:b0:24a:fc47:d6ca with SMTP id l5-20020a2ea805000000b0024afc47d6camr15367373ljq.297.1653388651536; Tue, 24 May 2022 03:37:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7OrYYXvHjrbzAm7ulwPA53pq1tHbVxXR8wnVANMBJK0j3Vb4wrMedCwp4mEasUbPJxf8JR/cbF73Ap6qu2hU= X-Received: by 2002:a2e:a805:0:b0:24a:fc47:d6ca with SMTP id l5-20020a2ea805000000b0024afc47d6camr15367360ljq.297.1653388651332; Tue, 24 May 2022 03:37:31 -0700 (PDT) MIME-Version: 1.0 References: <20220520181050.55654-1-bruce.richardson@intel.com> In-Reply-To: From: David Marchand Date: Tue, 24 May 2022 12:37:19 +0200 Message-ID: Subject: Re: [PATCH] eal/freebsd: fix use of newer CPU_* macros To: "Richardson, Bruce" Cc: "dev@dpdk.org" , "stable@dpdk.org" , "Gao, DaxueX" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Tue, May 24, 2022 at 8:50 AM Gao, DaxueX wrote: > > From: David Marchand > > > > FreeBSD has updated its CPU macros to align more with the definitions used 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 check > > to determine which set of macros are used. > > > > [1] > > https://cgit.freebsd.org/src/commit/?id=e2650af157bc7489deaf2c9054995f0f8 > > > > Bugzilla ID: 1014 > > Fixes: c3568ea37670 ("eal: restrict control threads to startup CPU affinity") > > Fixes: b6be16acfeb1 ("eal: fix control thread affinity with --lcores") > > CC: stable@dpdk.org > > > > Signed-off-by: David Marchand > > Signed-off-by: Bruce Richardson > Tested-by: Daxue Gao Applied, thanks Bruce. -- David Marchand