From nobody Sat Oct 4 16:44:45 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 4cfBG64Qxsz69JYD; Sat, 04 Oct 2025 16:44:46 +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 4cfBG60WVSz3L9T; Sat, 04 Oct 2025 16:44:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759596286; 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=G+RHztK1eop5/w6wJdpzB9qebzKPkA1ncHtrjQVkYFU=; b=tUhvcLvDQNjrUuy/PTwXmZ8TgtJqJBZa2idPCOWhBjxHMxtES+QZmYkkTbMMTYEVSZ9JnP p740JtwHh2EaqwxfUoNwcXXcYon+CRRRGdCL+afoRAtQdTd4ynmKC0ckXs00ydCLzKbQCo MJ18535gXB+dnes+HXu97uxskcuqsSQyKR6xDqNqGqy9p91g4YrC+b5kCRddcf+3YnvbZI FD4Mu0Mg+tQ8VQE7NNgqF/zYvhnfWlxX2gWKylK3VRyvj5x3pjpyNdzYGvsb1ZPQox27nU RnIEnbeipic++H5YjZl0uhsIDH6qPWaKptUiSov9euLESeDwGkT/CWlmesIQLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759596286; 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=G+RHztK1eop5/w6wJdpzB9qebzKPkA1ncHtrjQVkYFU=; b=rqiU9wbS2Yd1fxnqe8/3W16p4A283uEFvI3YmXDgR6AHDZHBXzAmQZbkAc2iNNT7StaKGY 9jaI4mwkU6iZCAChi+YZFntPlJ0yAzNSGVOTNGAr2InpFNjHyXa4ThvHDU4KNTci3JAjcW mGo7lKlIO8+LY0V+XzVMhEJWZfD4neEB7YpuzMTq+TwC5c7678eOQ8TaoM4JghCDnRHm+N UYZsR3lQCArTDnelfF6XGBeEQUEgToiIm8Q6l/dR66k/rMcbuVNGnkChmVEZsOjabYcwXE QW0ofRnWqcuEWejQ575EMIfHfHKzf8LqB8f1fCMDiwODrH1e8ALvxihMT+YoCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759596286; a=rsa-sha256; cv=none; b=aaxfNOXvb6oPJd4e/c+JFH+de3dSvMJcXdzdb960vygONenlZeGbdu4YmMDUK+vOPD0NSJ ZPQe51EvOjYrwCEMnDL7sEHWlH3a+9Wij0kPCtGY1g6Fa54pQ0VCWJpvT9rIw+GwctIYId L3YK+ShmVSUa/Yj1dGghF2br0o3pusTU8057CTriaLh4fFENgG+7lyG6cQgKmVzIL4c1XB wXjmtqr1/AMTSbHzHv4TAW+uXYpbvWl7hyhSXk+k7sharIOfsFcKz6j5g+HIex1s2dPhKQ UQKme5XMfjZ0IJXartopHqkGclknoyHiCFAidIl1wQLv5lLKxEQeFYmsj+/9vw== 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 4cfBG602LMzqWq; Sat, 04 Oct 2025 16:44:46 +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 594GijlC058472; Sat, 4 Oct 2025 16:44:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 594GijUW058469; Sat, 4 Oct 2025 16:44:45 GMT (envelope-from git) Date: Sat, 4 Oct 2025 16:44:45 GMT Message-Id: <202510041644.594GijUW058469@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: a08e8da2745d - stable/13 - ifconfig: Display the IFCAP_HWSTATS capability 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/stable/13 X-Git-Reftype: branch X-Git-Commit: a08e8da2745dd80f944c08a30e37a45471e636ba Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=a08e8da2745dd80f944c08a30e37a45471e636ba commit a08e8da2745dd80f944c08a30e37a45471e636ba Author: Zhenlei Huang AuthorDate: 2025-09-21 16:47:45 +0000 Commit: Zhenlei Huang CommitDate: 2025-10-04 16:43:27 +0000 ifconfig: Display the IFCAP_HWSTATS capability This follows the commit 4cdc1f5421c5, which introduces the IFCAP_HWSTATS capability. This is a direct commit to stable/13. Fixes: 4cdc1f5421c5 There are some high performance NICs that count statistics in hardware --- sbin/ifconfig/ifconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 9a52f4512993..bbfe7bb8adab 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1398,8 +1398,8 @@ unsetifdescr(const char *val, int value, int s, const struct afswtch *afp) "\020\1RXCSUM\2TXCSUM\3NETCONS\4VLAN_MTU\5VLAN_HWTAGGING\6JUMBO_MTU\7POLLING" \ "\10VLAN_HWCSUM\11TSO4\12TSO6\13LRO\14WOL_UCAST\15WOL_MCAST\16WOL_MAGIC" \ "\17TOE4\20TOE6\21VLAN_HWFILTER\23VLAN_HWTSO\24LINKSTATE\25NETMAP" \ -"\26RXCSUM_IPV6\27TXCSUM_IPV6\31TXRTLMT\32HWRXTSTMP\33MEXTPG\34TXTLS4\35TXTLS6" \ -"\36VXLAN_HWCSUM\37VXLAN_HWTSO\40TXTLS_RTLMT" +"\26RXCSUM_IPV6\27TXCSUM_IPV6\30HWSTATS\31TXRTLMT\32HWRXTSTMP\33MEXTPG" \ +"\34TXTLS4\35TXTLS6\36VXLAN_HWCSUM\37VXLAN_HWTSO\40TXTLS_RTLMT" /* * Print the status of the interface. If an address family was