From nobody Sun Aug 9 23:11:20 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hJDCx0dXBz6pFJP for ; Sun, 09 Aug 2026 23:11:41 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hJDCw41pSz3Y7g for ; Sun, 09 Aug 2026 23:11:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-84867f07d63so1469665b3a.2 for ; Sun, 09 Aug 2026 16:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786317094; x=1786921894; darn=freebsd.org; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:content-type:from:to:cc:subject:date:message-id :reply-to:content-type; bh=kSKSQY1SX9H1XJXiwmIwphbOBXzhXE+PxGn7lc5g5iw=; b=DWTTskSKNQQVc06AprhFYiSF74pW4bn92feV/W8RP0rrF3PlQQfy32paKQ9NAebjrj oDtxyvrt5iXwGqEfXlSa2pVWNMrXXIWRMvClDFP+basIA4IoR3E9uRJMPhFD4zx/TduG xZC3gl3q3PmojXbgqxKaSe+z1dKrhJ/VXsiuJkEl+CJpTwgXJQo3mtdtrklSBhT9VGaG czsbMTJN6owNqsSR1qqBubhqw+HuKII6GyWJnAkfwvO0+5xbGOw61w0IflsDSgcBHcvK IrlMlJlgRAAz/qbB3iFcfm1/AsBBO+gM/zTGcVqINLas68efHFy+MbA5Adyb/QeEUWsd g2KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786317094; x=1786921894; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:content-type:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=kSKSQY1SX9H1XJXiwmIwphbOBXzhXE+PxGn7lc5g5iw=; b=RiszcNW7eZ9A1xjEuaCzItX/NS4exh37DHzXRDVXaYbZ4KuBLIhiYKsg1+8HTWYtD/ qvm61YQr3RHqDFK6C1P2EeMtLQS9XGXN3WzRzYn5RwkGUJF+GZk9Omx4WpXM2S3O97Az Y3Eujn5QtlTaaW832IJ0DPobl016v7FwXceam9JSy9MZQSwMtqFsW+qJmMioSMmySLHH OMYaWgsyIG5kua7jibxmsLxcGQHM10HF+QzIcRzXdXtKUxdo3oWqnzQpA2aV5awnNZaF TYm2tj4lIhqZnw3vARkww28/mdkE/X2EOVLLaLSHvt4FyZzfhRAeIIDxRTzySEL4FQnJ YGUA== X-Forwarded-Encrypted: i=1; AHgh+RqaIXy+h3NYBR4qHvPWDXUBIaU3EoM4A6yfIuiemkIFLjFdyTaDiqJyb7nXx3PMARZHIb/rDhmVCFQdmZp3uagFAifu@freebsd.org X-Gm-Message-State: AOJu0YxcUrej0a/RCFeE7DxmqlgI0HhjPL3hTalEFPbSJY9KJGchlm1z CwtcLn9th9KDCuVphOtDA0eKWHq1jRHexsEKB3lOPa5qMhSG4J/+vORu X-Gm-Gg: AR+sD11Nxc6gBRTlNzWv60HXSHzxyGh8KIobbwyMKeS/LzoKZXkd6r4iBdsk22yW2sW eO0Cpn4eiZ8zujyPVzw08GCANn7oItCW6qZTp3Kfjd2NCf5iTihvdeCF6wxjmDxFGsIcIc1Y+Ej qu4BBwo9wwpz24v0FxI4z1E7qFrFj7pcIJOvyQ3EJE686DQMooa3WfdNeQHTq1s/vzWEhTNgtDq cbpY4wx1nN5hVqpFHGVE0Qitx23oysQYNPe/fvbGhi22Ajx3crtwgWfG9FEU3xvGMARJwVstOB+ eHBpj5zOeAkcRVsuzwmvH1O5qbf79ODvujfPDNQsVDAa4hqZa+0njuHOtbbokwOWt6JR2e3Aqv0 PIeRqXWRTRd9iCUnukQ5jDlnfJsPIz/G/1oe+BItEJquhuxiGXF1c2Mj2lXWUQmOBnVjVycPZq/ YHsENm4e4aE6ekqVx1u3AD0++uZ7KWPrm902RyVIX65VsKp2CLx832Z6xTkb4/LZIKYhxpu0WYK gt2kSPlhWI= X-Received: by 2002:a05:6a00:3692:b0:84e:24f:2677 with SMTP id d2e1a72fcca58-84f2dfc0601mr42649289b3a.4.1786317093831; Sun, 09 Aug 2026 16:11:33 -0700 (PDT) Received: from smtpclient.apple ([187.15.151.86]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84f5a51e9f0sm3050410b3a.28.2026.08.09.16.11.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Aug 2026 16:11:32 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_91AC80FC-7529-4C34-9692-8498A2CE6607"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: git: 2d6114f6d26b - main - libifconfig: Add an SR-IOV VF status query From: "Enji Cooper (yaneurabeya)" In-Reply-To: <87fr0nn4jz.wl-herbert@gojira.at> Date: Sun, 9 Aug 2026 16:11:20 -0700 Cc: Kevin Bowling , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Message-Id: <1356F358-D81E-4288-820F-BDA06A0C4D49@gmail.com> References: <6a782291.18052.6103210b@gitrepo.freebsd.org> <87fr0nn4jz.wl-herbert@gojira.at> To: "Herbert J. Skuhra" X-Mailer: Apple Mail (2.3864.600.51.1.1) X-Rspamd-Queue-Id: 4hJDCw41pSz3Y7g X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Spamd-Bar: ---- --Apple-Mail=_91AC80FC-7529-4C34-9692-8498A2CE6607 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 9, 2026, at 12:20=E2=80=AFAM, Herbert J. Skuhra = wrote: >=20 > On Sun, 09 Aug 2026 08:47:45 +0200, Kevin Bowling wrote: >>=20 >> The branch main has been updated by kbowling: >>=20 >> URL: = https://cgit.FreeBSD.org/src/commit/?id=3D2d6114f6d26bf7dfa5ad94e1db9b09ee= 7108dc7a >>=20 >> commit 2d6114f6d26bf7dfa5ad94e1db9b09ee7108dc7a >> Author: Kevin Bowling >> AuthorDate: 2026-08-09 02:03:20 +0000 >> Commit: Kevin Bowling >> CommitDate: 2026-08-09 06:46:41 +0000 >>=20 >> libifconfig: Add an SR-IOV VF status query >>=20 >> Provide a public helper which retrieves, unpacks, and validates = the >> versioned VF status nvlist. Validate the required VF indices and = the >> shape and version of driver-specific extension namespaces while = allowing >> unknown optional fields. >>=20 >> The ioctl argument is not copied back when the command returns = EFBIG. >> Start with a practical buffer and grow it geometrically rather = than >> relying on the required length being observable. >>=20 >> Use the helper in ifconfig so other consumers share the same = transport >> and validation behavior. >> --- >> lib/libifconfig/Makefile | 2 +- >> lib/libifconfig/Symbol.map | 4 ++ >> lib/libifconfig/libifconfig.c | 129 = ++++++++++++++++++++++++++++++++++++++++++ >> lib/libifconfig/libifconfig.h | 11 ++++ >> sbin/ifconfig/ifvfstatus.c | 60 +++----------------- >> share/mk/src.libnames.mk | 4 +- >> 6 files changed, 154 insertions(+), 56 deletions(-) >=20 > This breaks buildworld: >=20 >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_get_vf_status) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_get_number >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_exists_nvlist_array >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_get_nvlist_array >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_exists >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_exists_nvlist >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_get_nvlist >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a >=20 > ld.lld: error: undefined symbol: FreeBSD_nvlist_next >>>> referenced by libifconfig.c >>>> libifconfig.o:(ifconfig_vf_status_validate) in archive = /usr/obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig= /libifconfig.a > cc: error: linker command failed with exit code 1 (use -v to see = invocation) > *** [rescue] Error code 1 Does this issue exist with MK_CLEAN=3Dyes? -Enji= --Apple-Mail=_91AC80FC-7529-4C34-9692-8498A2CE6607 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkHfexGRJ3gYRdA2gGpE5DjPsNJgFAmp5CRgACgkQGpE5DjPs NJiLTA//QjC1XrQ850+gAfM5ZgLX62fT+CuQlUU/kKf+h1AgaBzQweiiiJCwW2iy wtN43QtrORkXSYOjWxzaC7Y70mu6rldaBhgB2kPDMR3mnr0iNzSc3X66ZC0A1wbQ Hehq29rWR1aPpdBnB0cnQcWXix6V14n7ciN7/WLe/UIRvBcW5AUGLsuZr/PM1qRz CVVccC4CIrZVDR8Lddvn5ZKcoY26ysGeSTyupjSYZcMdHBSIhaCDWwBpuMgVvb+d +blp76yEHttKAkrc/6FUFteaaLUaKw7GsKmNkhuZYERjqbZtEZ3UY8xYa74iTl6p 5nIBOus7lR8r3KfKxbzjevIYEL2mrZYxGaCzzZ2FxzbJzCGlxzlmBgkunHsjPC5N qoWKlPAzAUCJOHJtorBU2kstTBGR2yZ4dxIkgueXbJNQct0qmR1lq2IyRG3UkJd3 IpX0ROn2vEQrx8kmdxFbPhTKG8mPgRjvXstldPM5orqJ1IT2w418WQCBknM+ntXJ Xlgvd0vBdsIWUQh+1QaJF4aVmIGRMmNrQH9P8DEaXAmQa/truvwi9fgUtSouii9/ Q9qe6CtKTFCf8kwCb+Kr07yocPUNq+GneKqfAnFeP+CcH9eeF7d4FPIZgXPyz82Q ZO0uvdryGyh/DfUjwiUpKiXTF8Xlr/GYabXahqRiepFpKy+sVfo= =nvX9 -----END PGP SIGNATURE----- --Apple-Mail=_91AC80FC-7529-4C34-9692-8498A2CE6607--