Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2025 16:50:18 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: 0c1684dd456e - main - ifconfig: Display the IFCAP_NV capability without netlink
Message-ID:  <202509211650.58LGoIIh035032@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=0c1684dd456e3df306b359b04e61f9f2048d9ff2

commit 0c1684dd456e3df306b359b04e61f9f2048d9ff2
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-09-21 16:47:45 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
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",



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