From nobody Sun Aug 9 23:11:20 2026 X-Original-To: dev-commits-src-main@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 4hJDCr42nQz6pFJF for ; Sun, 09 Aug 2026 23:11:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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 4hJDCr1bznz3YVt for ; Sun, 09 Aug 2026 23:11:36 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-84867f07d63so1469666b3a.2 for ; Sun, 09 Aug 2026 16:11:36 -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=aafKKk9VqpWK+yqYxnPgmjllpAuJhn2YhOKLNHwVbDpJeS0jobixg+MY2493AJR7ma NmoG25xiFWHBNtov1f6L3USEsJLlzV+KSJZRI/u0ge2OWYmEdUhcUDKxpNsSNn+Dx5rz ZTZ255i/tqel4qM6u8s3CpKYpVSrvtfJtG4Kwh9Cxdc5XDM/sg1NKvSOn4+AjgzmYgk/ r0kpcwI/ejDwKakrLecy5jFfk7jW+UIFtcfsAWVmrQ0OkrGV4TMCV2ElG3f73MOT1e9r PUaMmB7r1j/7ttn13U0if2FbO7ge1g8ULvUmGuItI/Kw6KwzPfZPMue8shoZIlXZusCQ YtpA== X-Forwarded-Encrypted: i=1; AHgh+RpQhYVrVfIHepZgCsBP9GCzN7P+Teri32wpHGUtLN3uLOg1X8qS6ICD052kd/D4dLDewuYpXnC6khzrTdr+ZOzGafNJsw==@freebsd.org X-Gm-Message-State: AOJu0YyLcphqkQX4BVcJgaWSlJ9BHe0PXjNYIWg5ed8YSm4GWFiTXw/W HOsht6mHaWgSD7cWqBp/M2fkeXsCO7DZeDsDFOgZ/1E73BMt2U2CP6By X-Gm-Gg: AR+sD104Pe90QZQVUCiy1K3WEQOCHmpKBbCnv5vF5uK1KX8iNm5q6732qPp619QKrfM ASHcZ89TmiftIQYT6bAGa4V/2ReXJnm2fLFVuR3r3vDvrDg4Fi0zMBdPL4ZWqqmIh+kACFCEiDD EvSf7ViOqLwpVk93kXbixQbKDk5tF/3xJpk3e61B61HrqJmL8rlSOiwJz4AOh6LyoWdSG/C20le NSTfqoll4mI/Mi2kCkhGvQCBs7JU59rHxchCj1QnvF3oP25jSNq/sN4qeeUc+XNw1DwmsRTR8tZ XSMx05hdfpwLMV26BRzfoZMzQCp0SiFPLEPoXnSyBJPHNGyeeZ1h6/HjeGQtBZqtJLoVhKGn6fA ijsEBxhuTd3ehuxyUJkXkDRa0MMm/czKux/OVby29OAwyRa6Uk4tTFyOeqFdgZF2u2aXIBvOpVN TeGuAA1435uB6mXBhLrUEbLG3QcuRgD2lOumHD9MzERXzS8R6AZyXVLuxxLidatrh8wWV0xjN6L TUlGM/7ois= 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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 4hJDCr1bznz3YVt 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--