ifconfig: Display the IFCAP_HWSTATS capability without netlink

This follows the commit 4cdc1f5421, which introduces the IFCAP_HWSTATS
capability.

Fixes:	4cdc1f5421 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)
This commit is contained in:
Zhenlei Huang 2025-09-22 00:47:45 +08:00 committed by Franco Fichtner
parent 9a29980d3e
commit 839d02c9e3

View file

@ -1672,6 +1672,7 @@ static const char *IFCAPBITS[] = {
[20] = "NETMAP",
[21] = "RXCSUM_IPV6",
[22] = "TXCSUM_IPV6",
[23] = "HWSTATS",
[24] = "TXRTLMT",
[25] = "HWRXTSTMP",
[26] = "MEXTPG",