From nobody Sun Sep 21 16:50:18 2025 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 4cVC0V54ktz68Lny; Sun, 21 Sep 2025 16:50:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cVC0V49lYz47lk; Sun, 21 Sep 2025 16:50:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758473418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7FeG0m5FnVHxoWebZ2DgfIC+pHjtJUdsni6VqHneA4A=; b=RyyTmMPMDFQ0RwEavjWhwzZ3RocTy0olNSJDnNSLdbW6ElsMBq61pmweNplNVNGCIdluXb Xe30l1l6CtyEvafO/T8NbXr0Xfl1o9dkc8+WvP3pd5XOb3Y7MAUm/pBWzIzRPpEv3cWlKg JH/yajmmYB4C9/YQTZu2q95LVch/GUI4L79SfnuyzeMnsNdQCJ3CvyxTNhC1p2GXAsNCDP iffuYtCMcKKkMXVDTrd91ma6pc6KDfhVsONs3ws7CMb2qsIceM3oX8JblN21lwcnc+pQyN ahBiR9ZnSY6L4L9TSDkOlqx8V2AfviB1ZZTYEws+fMXAel32jYIghiPC29aWmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758473418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7FeG0m5FnVHxoWebZ2DgfIC+pHjtJUdsni6VqHneA4A=; b=iY8LPXikf6+5zHhpq0CjKgX4t2suwLLJM6EmfzS6Dvs3mVnLf4ytl5dkrqsSphIpBDewOo 36Odzc94TfeyoA8El5st1P6hN5GWRhLIUvP6hUOY0d06coNQ3WeGOMxin/XPE9aRgVvLp7 O8ey+ElpgAhml6UvtxhuECY38pZqq3rRQWW8MAuTUXdSKE1Zc3mLN3lNpAjPdZmYzMc3rV 3KiBCWKq9rdfSCcuRX/KmKzeubF7P0eUz/ERE+ZMzhgyI1X2BpHK0aW2mCSmslKylFYufI 65XEBRPWHAUn5ULHD8rJbjqyANAKkTboRN8OC5eH7UBwcEC7cfubQD9T6VrhmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758473418; a=rsa-sha256; cv=none; b=BATHrObOOl0Gpz54G+eG45zMz0CCvzS7iBcrMh4YjGAKZNjxupwrCisDn0Jgub1h3Wh2ZM 1HaRhlChDh1T+tv0TVAB3Tc33ReqY1Bv+t7s2ubmFkWvOYXNKqp6TzEkm5kyzbhzdN46vh g6FD5vzvh+6raOTVKKPf/WPV1yTJkC2XTPVwB2Gqn1AvP7iW7PlctrjU5UC6M92jJGMWVa FWFtWwKc3AzyyqGlgtOPazoZ4RK64rkN50k5lOOpx8EU4akb57Dqb7CbQ34uEgzbvUD9n8 kecSlVfEwaCpM2JXr3ayK7Zkmx1NTAwtzmv41pIOtfTtFcduEA+6Gm5W8RJiuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cVC0V3lt4z6cF; Sun, 21 Sep 2025 16:50:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58LGoIcJ035035; Sun, 21 Sep 2025 16:50:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58LGoIIh035032; Sun, 21 Sep 2025 16:50:18 GMT (envelope-from git) Date: Sun, 21 Sep 2025 16:50:18 GMT Message-Id: <202509211650.58LGoIIh035032@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 0c1684dd456e - main - ifconfig: Display the IFCAP_NV capability without netlink 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0c1684dd456e3df306b359b04e61f9f2048d9ff2 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=0c1684dd456e3df306b359b04e61f9f2048d9ff2 commit 0c1684dd456e3df306b359b04e61f9f2048d9ff2 Author: Zhenlei Huang AuthorDate: 2025-09-21 16:47:45 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-21 16:47:45 +0000 ifconfig: Display the IFCAP_NV capability without netlink This follows the commit 051e7d78b039, which introduces the IFCAP_NV capability. Fixes: 051e7d78b039 Kernel-side infrastructure to implement nvlist-based set/get ifcaps MFC after: 3 days --- sbin/ifconfig/ifconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 9aeb4a09ef49..d4c8cbd29d18 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1658,6 +1658,7 @@ static const char *IFCAPBITS[] = { [14] = "TOE4", [15] = "TOE6", [16] = "VLAN_HWFILTER", + [17] = "NV", [18] = "VLAN_HWTSO", [19] = "LINKSTATE", [20] = "NETMAP",