Date: Sat, 27 Sep 2025 15:14:18 GMT From: Zhenlei Huang <zlei@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1bd02c42131a - stable/14 - ifconfig: Display the IFCAP_HWSTATS capability without netlink Message-ID: <202509271514.58RFEIhu083767@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=1bd02c42131a20ecc34d4d0d4acb964fc650ff67 commit 1bd02c42131a20ecc34d4d0d4acb964fc650ff67 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2025-09-21 16:47:45 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-09-27 15:11:41 +0000 ifconfig: Display the IFCAP_HWSTATS capability without netlink This follows the commit 4cdc1f5421c5, which introduces the IFCAP_HWSTATS capability. Fixes: 4cdc1f5421c5 There are some high performance NICs that count statistics in hardware MFC after: 3 days (cherry picked from commit 595acb29a35f36a4fc08b89d3a476f16c1d108b4) (cherry picked from commit 6bcce275a5a9e10f8e5b990f8cfa2166aa49875a) --- sbin/ifconfig/ifconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 037f360d1b7a..ccc783c64ff9 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1672,6 +1672,7 @@ static const char *IFCAPBITS[] = { [20] = "NETMAP", [21] = "RXCSUM_IPV6", [22] = "TXCSUM_IPV6", + [23] = "HWSTATS", [24] = "TXRTLMT", [25] = "HWRXTSTMP", [26] = "MEXTPG",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509271514.58RFEIhu083767>