From nobody Thu Oct 31 16:00:07 2024 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 4XfTGc08yrz5bwZ4; Thu, 31 Oct 2024 16:00:08 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfTGb5zR4z4PKZ; Thu, 31 Oct 2024 16:00:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730390407; 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=q9YTo4BMj8lWrMnRGRtzKRGUN+n0c+5KtEqQ3fZVd+4=; b=s3FX1t8oL91TO3P2qqpAs+Cx98wOm6BUnYvPHzuh9HkePYbRn/WKmXVLV8E0DDBMzC6O31 E1Nef22xz2PTdSQZuSKDVM3/f0fXwB9sgEY6eoTFuKCX3qU8P8KHdtkirJH5fnD5B6I0Cj H1d88nGshi7nAJJIOm6nFRRsOXdrvfrpXaIxU55VfTEyzq7x4yOOJ2Qz9CcszE+GwkvliC LG2DVM5p+D+1167a3iizAUYxOdwlK+Nvj7Zu/UtODPajH2rqvo2Y5zFcwwBaLUwz2sANpw mpa9NAKN87ZdpXtYXMpDCS5humQcQ6ghPEBtwA6S9Cn9QUbfOMDBBY4lKHmRVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730390407; 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=q9YTo4BMj8lWrMnRGRtzKRGUN+n0c+5KtEqQ3fZVd+4=; b=QNGiWVEsLO8HGUiBHECpL7lZkdN6kj6FBr2TEvnlcNOFsnp01U3FVcRtlPagy7Th32RffP ZYIie92Rlu53afgHB9DwqtrGL7nKhtXib1SEPQ7nihoPH4TXdWz5NLazjy7Mc+Qv/FnvHL uZqc/hcXbdTys4wxDy8WfeSN2+kK0Kfw1fVLMnxdjP6d9QRxxgwgZMgpG2VzMy3dJq/Bz5 ZnMuFjU9WcChg8iCko80ymm0tO/Q/3dJqycpiXrnQ4hqMnVV+aUOcB9j+nitqQzfY0TrP+ Nud4pNswb4bQKQ2K4LspL13BlNM5D1T+9Is81iDWhmv5PRni0B5jNlK7tuZFnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730390407; a=rsa-sha256; cv=none; b=kHsud9zAGWcYkdOA6c/5x4fNM+ZlP1gYm+Ex7n1X4QFFg2o5hW9Ru9fTYtopW1gMhuMS81 r92AE0y5+wSXearMsxLBuFm7jxa9vDEQ270bg7RnHFq2YxGb/xl19CTZJ0eEbDNv7pvlWF 4mkwmtfC8dmjv/SpQUuDzrSCZ8/kOLUFgZq1JaVlzY7lUh0TNls8GWYbUGCdrfV4GVdvTI qb+QXfTU4bjObkVfV0UuhynGFxj5y8sZM7VxdvbquRHgeevh35kaJAam6mHprr+sk9VzAj XnN8IIZkksiAwkTW6Ov30g3dmxBiuXjNCxwFuf6RgRdO4mE8YIQQCP3zfBXv+A== 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 4XfTGb5Xf3zj5G; Thu, 31 Oct 2024 16:00:07 +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 49VG07TH061299; Thu, 31 Oct 2024 16:00:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VG07qI061295; Thu, 31 Oct 2024 16:00:07 GMT (envelope-from git) Date: Thu, 31 Oct 2024 16:00:07 GMT Message-Id: <202410311600.49VG07qI061295@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Osama Abboud Subject: git: a6edd8f03342 - stable/13 - ena: Make global counters style unified 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: osamaabb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: a6edd8f033428c7f807beecb8eee09739e18c0bb Auto-Submitted: auto-generated The branch stable/13 has been updated by osamaabb: URL: https://cgit.FreeBSD.org/src/commit/?id=a6edd8f033428c7f807beecb8eee09739e18c0bb commit a6edd8f033428c7f807beecb8eee09739e18c0bb Author: Osama Abboud AuthorDate: 2024-08-07 06:24:20 +0000 Commit: Osama Abboud CommitDate: 2024-10-31 14:55:20 +0000 ena: Make global counters style unified This commit changes the code so all global counters will have the same line break. Approved by: cperciva (mentor) Sponsored by: Amazon, Inc. (cherry picked from commit 90953d2f829a45669b0c88a6a03da481f2d54e46) --- sys/dev/ena/ena_sysctl.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/dev/ena/ena_sysctl.c b/sys/dev/ena/ena_sysctl.c index c711ecf66d7a..e18328ddc8b2 100644 --- a/sys/dev/ena/ena_sysctl.c +++ b/sys/dev/ena/ena_sysctl.c @@ -275,11 +275,10 @@ ena_sysctl_add_stats(struct ena_adapter *adapter) &dev_stats->wd_expired, "Watchdog expiry count"); SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "interface_up", CTLFLAG_RD, &dev_stats->interface_up, "Network interface up count"); - SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "interface_down", - CTLFLAG_RD, &dev_stats->interface_down, - "Network interface down count"); - SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "admin_q_pause", - CTLFLAG_RD, &dev_stats->admin_q_pause, "Admin queue pauses"); + SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "interface_down", CTLFLAG_RD, + &dev_stats->interface_down, "Network interface down count"); + SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "admin_q_pause", CTLFLAG_RD, + &dev_stats->admin_q_pause, "Admin queue pauses"); SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "os_trigger", CTLFLAG_RD, &dev_stats->os_trigger, "OS trigger count"); SYSCTL_ADD_COUNTER_U64(ctx, child, OID_AUTO, "missing_tx_cmpl", CTLFLAG_RD,