From nobody Sun Aug 9 23:22:56 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 4hJDTG5PkJz6pGTF for ; Sun, 09 Aug 2026 23:23:14 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 4hJDTG2y6Gz3dCx for ; Sun, 09 Aug 2026 23:23:14 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-51c149c5722so9688331cf.0 for ; Sun, 09 Aug 2026 16:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1786317788; cv=none; d=google.com; s=arc-20260327; b=GpOfeN5zwFWca1peYZ6b2LHNWelyM4XwTKUUfKsh+l2M7v+c9OY7vET+jRW98b3Eo7 2siGBM/I5071vXZrVYuHBPPYxbqDS0/w2iuhzvpD4evWsH2Wdgf89ZBaN92l2q4+TAWd j92crl1xgYkpWhdTYX25FX8+lXJvEdAJlcXhbeNy3vA5i/qrNadHUM3EURuWhharJl/m KSUaQP7q9rwqzDzGoNw+fTZvrt/C+fECrDLafjBRnXSRNOWpwqe0UkJfijIGyvLfBHPj RrD0er92VM3BBnu9xO+HAfTvBp9hEgtnYzn0x6P+dlijEcjXQMIQAg4jhdDgoeyxD1Dc D+ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=F8lwuwmqx6aLkvx2pEZ9pjUHOs5jH0CAqvasaoCGjHM=; fh=opIRx26wukomfNi4uCNAQZ15bEZqqCyQERW48kZJVaY=; b=NEVbAaCampOwfJkHwhl+1b9iqAH/to48SwtAyL5YuldooCYmwUVySXwqxOUwyPVz/x R6pCkyBMpgFtp2yMaFDXRT4zC+TX+9giX33qd+PL0cpDnKDpjJmYSAnzGfONmUNOhu8+ OnlN/HFPlTZPs1mzAJShtzm39IlNbAIFVvC7Nhfyn7BDmVWIgmSBggZWGQMLCVEif9G8 qvBzQ48gjJKsLbdWLvvos1D67mf6aSTezd5rBF+G1HJW58SMvPzFnnUdDYrCB06qU30t KIB2RLses1NUU46t9zjm86IrDlrJ6PhT+nAnrq40i4T7mEjlP6wH/hhxAFg4GUXGYpIg sQ2A==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; t=1786317788; x=1786922588; darn=freebsd.org; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to:content-type; bh=F8lwuwmqx6aLkvx2pEZ9pjUHOs5jH0CAqvasaoCGjHM=; b=I+QSqP35ONMeXlKh9ZmhRIKzhjdAkAHa+sdhADsY4PvQQ26RnWI+AVbC1qRoNRdz1r PGiwk+aK4QMd/KMYkZlJyuGRy8NP+IDkZg7LR59/taMd5Au0S/FkbTgUGgvfT2yZTKh5 DtduTdImd56p9bqWg1z22tCXRq3WSzPEHbHwk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786317788; x=1786922588; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=F8lwuwmqx6aLkvx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vMkaKCCOCajbzgk8cKQqq9gE+BfFJLvDQ4q6+5zzaTR6KsEz/0kpXjbjs+AyNFrHZXGXFvefjmx E6h1VT11+kz7o= X-Received: by 2002:a05:622a:130c:b0:50b:29da:ec58 with SMTP id d75a77b69052e-52d236bdacfmr134562831cf.8.1786317788566; Sun, 09 Aug 2026 16:23:08 -0700 (PDT) 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 References: <6a782291.18052.6103210b@gitrepo.freebsd.org> <87fr0nn4jz.wl-herbert@gojira.at> <1356F358-D81E-4288-820F-BDA06A0C4D49@gmail.com> In-Reply-To: <1356F358-D81E-4288-820F-BDA06A0C4D49@gmail.com> From: Kevin Bowling Date: Sun, 9 Aug 2026 16:22:56 -0700 X-Gm-Features: AUfX_myQVz4wgsJUIzbYj-d1Jo41MreiWiTLObqZgqgZKPvKgEVRVesW5NjtsJ4 Message-ID: Subject: Re: git: 2d6114f6d26b - main - libifconfig: Add an SR-IOV VF status query To: "Enji Cooper (yaneurabeya)" Cc: "Herbert J. Skuhra" , Kevin Bowling , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4hJDTG2y6Gz3dCx 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: ---- On Sun, Aug 9, 2026 at 4:11=E2=80=AFPM Enji Cooper (yaneurabeya) wrote: > > > > On Aug 9, 2026, at 12:20=E2=80=AFAM, Herbert J. Skuhra wrote: > > > > On Sun, 09 Aug 2026 08:47:45 +0200, Kevin Bowling wrote: > >> > >> The branch main has been updated by kbowling: > >> > >> URL: https://cgit.FreeBSD.org/src/commit/?id=3D2d6114f6d26bf7dfa5ad94e= 1db9b09ee7108dc7a > >> > >> commit 2d6114f6d26bf7dfa5ad94e1db9b09ee7108dc7a > >> Author: Kevin Bowling > >> AuthorDate: 2026-08-09 02:03:20 +0000 > >> Commit: Kevin Bowling > >> CommitDate: 2026-08-09 06:46:41 +0000 > >> > >> libifconfig: Add an SR-IOV VF status query > >> > >> Provide a public helper which retrieves, unpacks, and validates the > >> versioned VF status nvlist. Validate the required VF indices and t= he > >> shape and version of driver-specific extension namespaces while all= owing > >> unknown optional fields. > >> > >> The ioctl argument is not copied back when the command returns EFBI= G. > >> Start with a practical buffer and grow it geometrically rather than > >> relying on the required length being observable. > >> > >> Use the helper in ifconfig so other consumers share the same transp= ort > >> 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(-) > > > > This breaks buildworld: > > > >>>> referenced by libifconfig.c > >>>> libifconfig.o:(ifconfig_get_vf_status) in archive /usr/= obj/home/herbert/sources/freebsd/main/src/amd64.amd64/lib/libifconfig/libif= config.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 > >>>> 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 > > > > 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 > > > > 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 > > > > 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 > > > > 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 > > > > 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 > > > > 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 > > > > 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 invoca= tion) > > *** [rescue] Error code 1 > > Does this issue exist with MK_CLEAN=3Dyes? > -Enji It's fixed by fb1820d23a04