Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2025 04:57:56 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0143af8499ca - main - Revert "ifconfig: Display the IFCAP_NV capability without netlink"
Message-ID:  <202509220457.58M4vuW7094166@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=0143af8499cacfe5787ad3902a714bbdab4c8b28

commit 0143af8499cacfe5787ad3902a714bbdab4c8b28
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-09-22 04:45:48 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509220457.58M4vuW7094166>