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 529BAA0553; Sun, 29 May 2022 13:36:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EBD8F40A82; Sun, 29 May 2022 13:36:27 +0200 (CEST) Received: from smtp-gw.pt.net (smtp-gw.pt.net [206.210.194.15]) by mails.dpdk.org (Postfix) with ESMTP id D135F40041 for ; Sun, 29 May 2022 13:36:25 +0200 (CEST) X-ASG-Debug-ID: 1653824182-09411a0f729feab0001-TfluYd Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by smtp-gw.pt.net with ESMTP id cyPIcBrSjqRni7iN (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 29 May 2022 06:36:24 -0500 (CDT) X-Barracuda-Envelope-From: lew@donzis.com X-Barracuda-Effective-Source-IP: mail.pt.net[206.210.194.11] X-Barracuda-Apparent-Source-IP: 206.210.194.11 Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 2C936FAE187 for ; Sun, 29 May 2022 06:36:22 -0500 (CDT) Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id QyjfhoOVrIrh for ; Sun, 29 May 2022 06:36:21 -0500 (CDT) Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id DB611FAE185 for ; Sun, 29 May 2022 06:36:21 -0500 (CDT) X-Virus-Scanned: amavisd-new at pt.net Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id G-HINmUhtb37 for ; Sun, 29 May 2022 06:36:21 -0500 (CDT) Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by mail.pt.net (Postfix) with ESMTP id B2AF0FAE183 for ; Sun, 29 May 2022 06:36:21 -0500 (CDT) Date: Sun, 29 May 2022 06:36:21 -0500 (CDT) From: Lewis Donzis To: dev Message-ID: <1154975224.4469878.1653824181427.JavaMail.zimbra@donzis.com> Subject: FreeBSD 13.1 changes MIME-Version: 1.0 X-ASG-Orig-Subj: FreeBSD 13.1 changes Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: [206.210.194.11] X-Mailer: Zimbra 8.8.15_GA_4272 (ZimbraWebClient - GC101 (Mac)/8.8.15_GA_4257) Thread-Index: +6kZ902jzZxJfLZM3B5pIWuSL8uRYA== Thread-Topic: FreeBSD 13.1 changes X-Barracuda-Connect: mail.pt.net[206.210.194.11] X-Barracuda-Start-Time: 1653824184 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://smtp-gw.pt.net:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pt.net X-Barracuda-Scan-Msg-Size: 520 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.98339 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 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 Apparently FreeBSD 13.1 changed the syntax of the CPUSET macros, so DPDK no longer compiles. For example, here's one definition on FreeBSD 13.0 and prior: CPU_OR(cpuset_t *dst, cpuset_t *src); and here it is in FreeBSD 13.1: CPU_OR(cpuset_t *dst, cpuset_t *src1, cpuset_t *src2); I've modified lib/eal/freebsd/include/rte_os.h to handle both old and new versions of FreeBSD. I'd like to provide the updated file, if someone would be willing to review and commit, please? Thanks, lew