From nobody Thu Oct 31 16:01:33 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 4XfTJG1Zxgz5bwdQ; Thu, 31 Oct 2024 16:01:34 +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 4XfTJF6h4nz4TB7; Thu, 31 Oct 2024 16:01:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730390493; 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=GFF1SvwybaHv2BF7byjrcX6fy5L+V5/h+H79sFeQgX4=; b=igwEq2sBaTiuNio1oMK/EFMSDCOWAtRpWnk4sCAHvmFgqSWeUx7k9hhj46CV/jag+QwYsA vuzOcfR8FOYw1S/r0A4KpMcHtlFVepgm7VWuDnXZ7WTQZM+kE6ISAVGYfqz+fvyMSYezCz j7nQMHHMWTM9n+o+B7WkFFfSmfjy0hhhMUI6t/6UhX97rL2/oND4J0mIYDHxnpW8Bkr+v4 1A15NvpM/1eQ6txkd6hTAq0yqCuR2j++8e83CRerLB5EbUZzBY6/gysC5qzCKNAEriraS0 qLcUMqeUpUKq21OA7tmqpJIwFL4iRR4oGvbj62vC1TNuWklbaQu/Kb9/E5rHJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730390493; 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=GFF1SvwybaHv2BF7byjrcX6fy5L+V5/h+H79sFeQgX4=; b=F5kr7BsbGkCMG5qPV7LQ8qYbYZLsr28zyACKTxaX6bnUJOa3Tt79gNhDxwGpaKePjaDA7l K6Uf0ydlKRdQtjTLWZ150gef+5JgbVp5O7ALDjZbAiiappfd67Koc6MIoZdSkYDTiJ2TrG 5ix2onWucaJmjdHG0XebB/+KoiVYKmwE4zBXjezQgiAs1Bx852t21IRBEADQ8YqRjf+cWe dvq//+hFZ6tbbQsh6is64xwn7oM8lw7A7ow9f8VqeKBXLF7KnkJZAwPOJP8gUwW17ItJR8 Unfpc50zLIgbxXMs4x0fP/Qq5Gfp3rs+1LDDu34PLikkHbobTZjFgx/KQEhnPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730390493; a=rsa-sha256; cv=none; b=ru4qNoyOnP3Jmi6BsKv9NkXC+uYfZfUmrV1evcfJo84tbw1HzV1DVUrug0RFQUgvLhr/hr 9MHddICxZb8CUEyLJXjAdCGmE093Q+1kc8S8WxDNJS01e/l0PWJIReW5sCabj6UUYcgHJo odGWlkW1Ezxoa3PpdEM7yqxRKS0RgVTZY1AaFK/kMtujtgO4O9Mvc/Wo9XDNCE8RhDJvyI awVJ6tTH0Kgb0/CM/+MW2PA/gaua+lymXiHzeme8AT7+ueFofoEPvxBLaLnj6s/vpX8PBJ Rrn8KDKvZYDxPcWZ7AjNwz4f80FeDi7vP1hbEO8Ubq62WwaGOsUMJSNu9aoOMg== 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 4XfTJF5k0Czjd7; Thu, 31 Oct 2024 16:01:33 +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 49VG1X6C070427; Thu, 31 Oct 2024 16:01:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VG1XcE070424; Thu, 31 Oct 2024 16:01:33 GMT (envelope-from git) Date: Thu, 31 Oct 2024 16:01:33 GMT Message-Id: <202410311601.49VG1XcE070424@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: d38362c0eed0 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: d38362c0eed00fdd72755ba186eb28ff51fe4ad0 Auto-Submitted: auto-generated The branch stable/14 has been updated by osamaabb: URL: https://cgit.FreeBSD.org/src/commit/?id=d38362c0eed00fdd72755ba186eb28ff51fe4ad0 commit d38362c0eed00fdd72755ba186eb28ff51fe4ad0 Author: Osama Abboud AuthorDate: 2024-08-07 06:24:20 +0000 Commit: Osama Abboud CommitDate: 2024-10-31 14:54:11 +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,