From nobody Sat Sep 27 15:14:18 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 4cYrb00v8mz68Dmf; Sat, 27 Sep 2025 15:14:20 +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 4cYrZz26Lzz44gt; Sat, 27 Sep 2025 15:14:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986059; 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=3j4V72pHPqk5M4diOOS3XZOptcmBWAuquysdZ+AyQKA=; b=sobJ2YSQDiDs7RqDzgc+XgMzE6oRVDxehaDsY347OZ2Srp6FfayP6QfpEHbk8ucJ8Vx1ez z1kLg3DFW6aRCnI7AqDG0qSsCfa86j/IRWDRjpmH5Rt41qi+xQaRqLvGdzzFFEQnNDc5pZ yaLqCAQP/5SI1ATyzdIH7e8PYpfET+7tjOLsF5EuCiPxqZCWqKfP6w6DbgD2wQ5Zm4snhO oriP2d9V0s50n5bGn0OcicB/9sw1bwPtECiKnAfX06wA32ypR31gK/ZhnqOCCGR2C9IxbL 7ELtqidkWRYsCAf0amYogLBNG+Gi6j63qfguoqv+s+iEuIsm5AQRTcQeypwTzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758986059; 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=3j4V72pHPqk5M4diOOS3XZOptcmBWAuquysdZ+AyQKA=; b=kMMkWz2yyAD5ckRyBsrL/cVyCF0IIYPLfc7LwwAQhlQr+MnND1EemzcId7mAckkOHwPeK5 3Xyo7pqHMCmR6UnPrLOI7eek02tw1ZjgS7BAdb721JZyf0IhCJ7ZCxkTvpC3Z4nqSsYF// rpyJFxsR34CAFO70GfWtKjd/Y21BTKA+TOv9gE2gVmusUHKCtcB6QVSAGjK/6kJQKC9deh 1WhUwsrNhUWswK9Axv8/BVPpvPexmrJM0HADEW4KI/tAgLufdeczuea1Y/wZb8PD2ah2eP E6Ne2dLrvleReBR2EtJ7lc1MIa7owf5A3z/20x6SIZ4yWNS9L+vKTes4Eux3Zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758986059; a=rsa-sha256; cv=none; b=ZCNeN3sXUouVV9U+J8QccejubmeBG9b29uV1/CToPq+FrTR0x+F/jiBmnW9x2/zIOGzlxe ClGm+QloHn4xcgCTAGZFHTloZ7V4kqXn1wOYn44OV7jnbzw3TOCqKtoC1ue/AFODdHBqIv aHGe9PUoH2QqhoQyiZiXM0HZOeKNxS+/R6yn2iB+FBBeoUdY9v6jLTqOWR6Wd+ToA48DLe j81I/rt0Z5K6O1r6gfL7bL5upCMOLrkNC2+MzxoC4kL3Xo775y9x+mz/6xm707221VWM/j e/0xMDkq3rR0rUzfUzowo6owQ16o7IUQn2ig9hAv9vYrcVM+r+uGY+mKoB+d5g== 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 4cYrZy4XygzfWS; Sat, 27 Sep 2025 15:14:18 +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 58RFEIGk083770; Sat, 27 Sep 2025 15:14:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58RFEIhu083767; Sat, 27 Sep 2025 15:14:18 GMT (envelope-from git) Date: Sat, 27 Sep 2025 15:14:18 GMT Message-Id: <202509271514.58RFEIhu083767@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: 1bd02c42131a - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 1bd02c42131a20ecc34d4d0d4acb964fc650ff67 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=1bd02c42131a20ecc34d4d0d4acb964fc650ff67 commit 1bd02c42131a20ecc34d4d0d4acb964fc650ff67 Author: Zhenlei Huang AuthorDate: 2025-09-21 16:47:45 +0000 Commit: Zhenlei Huang 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",