From nobody Mon Sep 22 04:57:56 2025 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 4cVW845czmz68Zf7; Mon, 22 Sep 2025 04:57:56 +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 4cVW844qVLz3QKt; Mon, 22 Sep 2025 04:57:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758517076; 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=5zWCkRyM/RPdl545jEDQjdw8+Gf3nMXsdicZGAr4znU=; b=ynfngXgL9TGXUE4AkUd2whljRbI4IH0VIAPliSgBpNkgx9aFuEwgF4De11JYosobNFNBrF aVfdcSzIVKIDXGVLqrQGtOVQBwwsrYCj71LBjy8deVSrPWIhGn4UXHHT5f6a5SAi6Zxljl 82Hr1GVCyWWAW2/60qpCUUILXWSgI1xEdbsA9Btop92GSl2ZqXRv0NaBNmk3sbzTUbttA+ SgNudoT0IZFVEjJRCOZB/IL315ONWAbFRGmqeqv6lmnF+JjOPRSSiPtcjFDyrusExDvFTH WPvww0dTgjSasa/ON7jnJSnu+U9pMKzxy3mkGAfN3fd6em6G/Cn0mmYAmUWQEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758517076; 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=5zWCkRyM/RPdl545jEDQjdw8+Gf3nMXsdicZGAr4znU=; b=TDLPvEkvqLFB0Hco9pZbZTsXwhdmTNzBL0UWt75Jl1Rn7T0Sg1+mHSXhjLOYYM0egzKTkJ WlKP0HuQQqTjHFzcv9tDwJ7XSGCpik6XI7JtjQydy3ke3Ny884u/VyQ47JxTkc6VtvFruM Ox4o8qv3SSTitcwUiBumOG4nCVFb/sh366//AemWi6DDgIKITQ4qeHMNCkhVdahFMF+3dp X/A6CKWTj2fN3UnEAhOBlVXuVw7fuDHsRxJu1OZzips5wVC5ISiO4lUUyaNAEbml6mV3nx AKAeeYvJ0CQbKWBgKbiEOwX76jJ0GwENIsGBRKW/qKFohkMSKWNoO0NOo3pHwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758517076; a=rsa-sha256; cv=none; b=U5Uo/GSwi/T7nkPH4pmDpwqMbrt03ikV/Y581L5DZZSwwRuvOhsxvCEfNMTo6D1M5zXmOe ZUoNJPk+MfYfmye1B8MbFljmJu+yKzQg4ixjy+cNtcBHM9D5RG+da3Aj/3RDfqeQXIsw5Z bho2d71gV66wN6I1kRQJX0YNlXj1gH9LpiIpQm9JpLktjcaZxPTDmuq4/tHwi9HZmwCgc/ 8LaM7pTxC0a2u/VvZTRy5EkKbRdGKagOsO5LjiexABi/kFyRUjZnNa3dNR0RJJiVqhti3p hhgwfmWd2r4GIchJq0wsg62/OLxzkJZppVLebEBwR7SZDpEEICTCcfWGthNanQ== 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 4cVW8448NDzm42; Mon, 22 Sep 2025 04:57:56 +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 58M4vuH0094169; Mon, 22 Sep 2025 04:57:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58M4vuW7094166; Mon, 22 Sep 2025 04:57:56 GMT (envelope-from git) Date: Mon, 22 Sep 2025 04:57:56 GMT Message-Id: <202509220457.58M4vuW7094166@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: 0143af8499ca - main - Revert "ifconfig: Display the IFCAP_NV capability without netlink" 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 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: 0143af8499cacfe5787ad3902a714bbdab4c8b28 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=0143af8499cacfe5787ad3902a714bbdab4c8b28 commit 0143af8499cacfe5787ad3902a714bbdab4c8b28 Author: Zhenlei Huang AuthorDate: 2025-09-22 04:45:48 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-22 04:51:03 +0000 Revert "ifconfig: Display the IFCAP_NV capability without netlink" The display of IFCAP_NV is handled by SIOCGIFCAPNV ioctl. The kernel composes a nvlist of capabilities and the userland unpack them and display. So this "NV" in IFCAPBITS is meaningless but rather misleading. This reverts commit 0c1684dd456e3df306b359b04e61f9f2048d9ff2. --- sbin/ifconfig/ifconfig.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index d4c8cbd29d18..9aeb4a09ef49 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1658,7 +1658,6 @@ static const char *IFCAPBITS[] = { [14] = "TOE4", [15] = "TOE6", [16] = "VLAN_HWFILTER", - [17] = "NV", [18] = "VLAN_HWTSO", [19] = "LINKSTATE", [20] = "NETMAP",