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 07FFEA04FF; Tue, 24 May 2022 12:37:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BE6F4067C; 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 AB35740140 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-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-587-20n-4YjmNLy1qiznmIT0EA-1; Tue, 24 May 2022 06:37:33 -0400 X-MC-Unique: 20n-4YjmNLy1qiznmIT0EA-1 Received: by mail-lf1-f71.google.com with SMTP id h13-20020a056512220d00b004785fd5239dso4044189lfu.7 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=h8rNY+WNwV81OoCbxNXCDrL4P1p9mDlLWkNfIQ0fOp1xY4OgrUIeci81yqoMtGaxCf zxp+7s3QIsvP+ASxNZFs9ky5pWXo/1RZsn/zTtkZ1PtZHvMmZWCyK4YzVQjz/fNHsta7 mZwFINUMg/8/HCSURP3L6QoY/tPJrcC7LkIG/2IelQQBY7sjXzL7pZNHWHUJL0UYKWKl 2q7OAwn1HEBExTZzYBXRombOZycznYKsjqTgA61o4dBMxHjWMIRTtSWyOY+Y9CyCgIJ+ ZrxC7MjIxhBVsTmCUjcCnju5nfvmW2eb6IFNDIyoCL52kBh9IVHm6FE5c/1otsJamYrV oEOQ== X-Gm-Message-State: AOAM53288dhxvZTqXdT5MFlYqQxrwutAqpqG2pEr0aSZxSYo6MQSPGqH ohvtBcnUfolytWYcFDQp5OPAds+fVeHiCbSpfS9iD9Etozmoi7tfHo5fvZR2vt93RdBUmqVuJwz fkVA6/8JK1TsSgoz2lO0= X-Received: by 2002:a2e:a805:0:b0:24a:fc47:d6ca with SMTP id l5-20020a2ea805000000b0024afc47d6camr15367378ljq.297.1653388651593; 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: 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 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