Date: Wed, 24 Sep 2025 13:30:29 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: 6bcce275a5a9 - stable/15 - ifconfig: Display the IFCAP_HWSTATS capability without netlink Message-ID: <202509241330.58ODUT7i081949@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=6bcce275a5a9e10f8e5b990f8cfa2166aa49875a commit 6bcce275a5a9e10f8e5b990f8cfa2166aa49875a Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2025-09-21 16:47:45 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2025-09-24 13:29:24 +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) --- sbin/ifconfig/ifconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 41d2f4603983..9aeb4a09ef49 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1663,6 +1663,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?202509241330.58ODUT7i081949>