From nobody Tue Oct 15 17:43:13 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 4XShJx6Q7Jz5Ylkx; Tue, 15 Oct 2024 17:43:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XShJx26XFz4ZH6; Tue, 15 Oct 2024 17:43:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729014193; 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=iOrKK3TTW5zmu6b3yyfKGqIE9INh4r1Iv5TtSqpdjgE=; b=eB28SF+ohW4kNzg96pSe53UC5Ine8iYfpw0dMhPOoVX3eqltzuWTPrCjSsgEzW3swt+W5G 7GKmWGEpwKokJD3QCVD6lMYl0SfKRyJ8e13A8RdR0UYskX4KI2G1ID0ECWwuwTzJhS7IjD 1sQiOQ5bmU+Q0lZmD9Hqz0/LqEWyKa2TR8UkJh3IdaeqdI7t4jRiftBXXSAtW5FSq47gMw V039CCbnsBt5NzyUv+7HGCG8IGhzmcuJmQIDZ5y6cxGwGN3gAndpYNr8vhAyko6W1NmxrT 4C54s7km47DPtE6kxV9KaqQFIDTA8nH0eJF9YPuYWQUWcjelwzZY3komwvIs0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729014193; 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=iOrKK3TTW5zmu6b3yyfKGqIE9INh4r1Iv5TtSqpdjgE=; b=cwHm13jATgMjN540xTzyabjABgIl/217BEW6u5BIPULG6DRT7EwEe09kfYY9F1pCP47TAc u3I1U2crl4wjl4OHU2MWhBhJmfbl/aOPxB9uI5xGvkAQQGSgit8vU23QYsY46FZiagT0pG uzRO7zEsQS+FI/EEKaWs1s34g1FIcQ9NDOw8gXHUmV4fv0h2MGTamn/32nCPyQ+CTThISh BY4ITpBc5Vmou42x+qO58TY3hV/3Nqh8n/vU6qVqD81SHYvhDPq7ZGwH2jfalI0DHStLQt 3JYPfzJbXxHVqzuJNHBfilQERNVSqkhU7R6P21wSm58hvyuLjZ3BgxGK524Pxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729014193; a=rsa-sha256; cv=none; b=hEYtiUId5lnMYUjbFGxRcP1ewrZDXr2DYKE0pjqjPGfke265o7qcZ8q2qDP51MFVZ2OxOk xf9mfeoCUU4yAiLCbx0HKPaohxCgdC0hUEUDtkKFi3RUGSsGRnD0/6JEyEX1BaIiCH/RF4 lStygrq4T+qLASnold+e19a8dOLKfR0kIRQTUK5XdHdMlNe2o70zc5dx2pzXbjdR8A6EN0 TvbykQ3VWOsx/V3fTRu9RCGbuwUZgh+Qv7VBnzbMsn98vYKA+UsTY95uxSTsw0M5FUINeX 8K228MsXFHTrqGUiCAvgVJK1dK8qeZoils81U8uLUUKlmy5YJnUaZBLRSbm0yQ== 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 4XShJx1hxgzXZr; Tue, 15 Oct 2024 17:43:13 +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 49FHhD34062394; Tue, 15 Oct 2024 17:43:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FHhDYZ062391; Tue, 15 Oct 2024 17:43:13 GMT (envelope-from git) Date: Tue, 15 Oct 2024 17:43:13 GMT Message-Id: <202410151743.49FHhDYZ062391@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Osama Abboud Subject: git: 90953d2f829a - main - 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/main X-Git-Reftype: branch X-Git-Commit: 90953d2f829a45669b0c88a6a03da481f2d54e46 Auto-Submitted: auto-generated The branch main has been updated by osamaabb: URL: https://cgit.FreeBSD.org/src/commit/?id=90953d2f829a45669b0c88a6a03da481f2d54e46 commit 90953d2f829a45669b0c88a6a03da481f2d54e46 Author: Osama Abboud AuthorDate: 2024-08-07 06:24:20 +0000 Commit: Osama Abboud CommitDate: 2024-10-15 17:38:32 +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) MFC after: 2 weeks Sponsored by: Amazon, Inc. --- 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 b9c880e2e8e4..32fde58c610c 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,