From nobody Sun Sep 21 16:50:17 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cVC0T3yj9z68MFv; Sun, 21 Sep 2025 16:50:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cVC0T3NZ8z47cw; Sun, 21 Sep 2025 16:50:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758473417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G4x3SUbYgLCMvPj8ihl5c3CIQdSdpUBnFkvxfck86HE=; b=pA8yJw30MZcDcOrWD8BqZmaHRFPPGQHL92JP0GKhfbobn8XH94gxQ64sr4q0173J/3mdyB TorBKyXGO5EIo8uQYLfLTbk5kAtJjLXoQt65sC6mn3glMy+S73Wan/xm/WwfHpcgGJm0rx ORDO3sU9mgCco33l0YdfVFtZ36ISEwbmKmo39C3WNjo/mXpccLTKvHKowCtfbp5nsoy1d8 3jnOB73ZdZTATY6X/JmMisWi9knjboaXsNXbCf3EBJQL0R/4rd7+46o3+nWld9YkpenL+i qL5O/ueDx7pQ/aadGhMHiSqEANJ/1moXHMpNvD5vzmQO1Njs93UjhYQYpz5dZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758473417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G4x3SUbYgLCMvPj8ihl5c3CIQdSdpUBnFkvxfck86HE=; b=itZ7SB6+CN0A8WSsNaAQw7rOAfu6Ri63Ji7jClmgiOGa1/jwygiF5z/6xQBO7/Gsof3z80 KIHTmUpC3c7M2sejRx21i1fQYeh6fEwAWKUnbgoFjvEZlk30SzMimC2tzwNpCNlBA/B74f maEHRbHPyUvP0Hkvz9f90e4hoHw7SYoi+Qt4VhHG7ep98Gx4gseiITu3Opqa6rAnUv8XvJ abymr2ODmI+hKXt8PXT8kEZXKapk44WQ/XRr5EI7krWpshy+DyH0zDe/SnoK4nrl13G9GB AUa9+i/de5VLwgj6qfBHzZ5KLb66aFZje9dgUbxH9BT6rjoz6MMBz47O01TTYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758473417; a=rsa-sha256; cv=none; b=lR2X14f1TButojwc9e1mkH0/HnNhyBlmS5FJAA+unop9tG+99CDuWTrwtVzU2DzctwmgXW p5X5+3SRb1P/VfIODINvrZSSt11+NMJ0xsL8DHKwYJqmvnlhGdAuIyEwLqUx0Ss3Yey9M9 awPcry4QbIs+zjoe6Ooxf/DUR1QQEZpaFde3XSWkm1RFsXEpLSoo02VZo/YnP3xeTVod+R Vko+rz0QhbkIS2fN4eUvSiA6vs7AjrQFDGIPmXXOywLZgUGV0IXMxUaYfWN7XF8waOX29l 4iQM/dzZQhGjo2PZz+zJQO8riMMk4FUN1kqMJ0/iifoDyovwAchCrQ9zJJbc5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cVC0T2qDRz79n; Sun, 21 Sep 2025 16:50:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58LGoHCc034601; Sun, 21 Sep 2025 16:50:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58LGoHwD034593; Sun, 21 Sep 2025 16:50:17 GMT (envelope-from git) Date: Sun, 21 Sep 2025 16:50:17 GMT Message-Id: <202509211650.58LGoHwD034593@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 595acb29a35f - main - ifconfig: Display the IFCAP_HWSTATS capability without netlink List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 595acb29a35f36a4fc08b89d3a476f16c1d108b4 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=595acb29a35f36a4fc08b89d3a476f16c1d108b4 commit 595acb29a35f36a4fc08b89d3a476f16c1d108b4 Author: Zhenlei Huang AuthorDate: 2025-09-21 16:47:45 +0000 Commit: Zhenlei Huang CommitDate: 2025-09-21 16:47:45 +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 --- 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",