From nobody Sun Jan 14 22:07:55 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 4TCqCH6DjGz57FtW; Sun, 14 Jan 2024 22:07:55 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCqCH4TM2z4KCr; Sun, 14 Jan 2024 22:07:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705270075; 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=IUIRcZn/IiZEvnGnKY654vYdztUTa/Bb7CqNwMK0kFM=; b=UmZpmKbwq5n0ZsUJlOxPwxtKEUn8EOKdwWxIiFbyGpQkZBZX4ah6U1oG1H1eoUnmeG38Er ygJaTwzjhdOq9f5kzuWFBAKVbwnTAtzJe6uRbF1dsv16y7soVE7mud5LlEHws8cncSAZAN jEQhmrnyMcFzQ0cj+GSATbbUtCESjk4ZToEAoQPaszWmcxLO+LknorcQEl8hBm9NHaQul8 NdDM0wmiLvSBWWfcArHjXEqyfik65F0o7IQTg51dpoxWIbIMMSh6Agcvq3Q46D1pXX9D0j z9n0AQ/Yz9zn6tHh+ddFyLExvO7mNeYJl3Yso4hGaqJkvhLodHMCB3e3bykaKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705270075; 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=IUIRcZn/IiZEvnGnKY654vYdztUTa/Bb7CqNwMK0kFM=; b=ErPjpbPlfaCd8S4wkcezaVyok/ekmKLuPL479AMpsqRjl7CbNs9EPlS7VOGCHk6cMP9JUf n11by3xZIL7FL4OvGB5PysCIFZ4cSfunHAWs7iEwG9rW4NFcPj+MwBYtM9KGMBvEWiLY+M TfPv7l/k8StrGYgzFgjHDWsSLVdmYWVhFq1kDK8cyOhq33k0CqHvqSrfNkJv6ULlalmCJd TmiD6HydrnofSRaNRDnO1dgSSMKLpFEynklk07qyF2tGeVcpTlBuR6veAEnVM0SFdouJhe MKXNIusEutc11UhwkOlc3UnQE02xv0eBGpK6qM7exxND3MP0fNXb3CT2k8s7WQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705270075; a=rsa-sha256; cv=none; b=GZDn86ZLqaP2goc7u4cANtOL+k0LkiCqo7OIfhUQGTK0U6GjAKs8UshCCRu8xVke/X9cow oXIWD5ighPZuU4IAde1nqxTLO8laqeJKMMpG3pdjK8gpaC7v7NN4ZcRU9ZI0N+7ySKaIPr wudxBZbH5kcRjrhpRWgdCfKtznAMMk6NTrKIEHOE72lUBotHfMna5Ts1nGrfO/VyOzQmFy ppWdzyRauoaWqWXzI1gRQdX5EQkOqLp9/uQYUESHNMowBrG0TVaHi69mehRWp5iJIDD+bH y2ULU7BNEVJtq1FxuKyn94M6FRcDMbQGOX/JaCuFcLkLcAejTvo7nW7/EZnw3g== 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 4TCqCH3Zc7zX5M; Sun, 14 Jan 2024 22:07:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40EM7tSO060098; Sun, 14 Jan 2024 22:07:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40EM7tPf060095; Sun, 14 Jan 2024 22:07:55 GMT (envelope-from git) Date: Sun, 14 Jan 2024 22:07:55 GMT Message-Id: <202401142207.40EM7tPf060095@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Arthur Kiyanovski Subject: git: 6e9bfa8040b5 - stable/13 - ena: Change measurement unit of time since last tx cleanup to ms 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: akiyano X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6e9bfa8040b59409f6f4d3c963e2221d23487746 Auto-Submitted: auto-generated The branch stable/13 has been updated by akiyano: URL: https://cgit.FreeBSD.org/src/commit/?id=6e9bfa8040b59409f6f4d3c963e2221d23487746 commit 6e9bfa8040b59409f6f4d3c963e2221d23487746 Author: Arthur Kiyanovski AuthorDate: 2023-06-14 10:12:16 +0000 Commit: Arthur Kiyanovski CommitDate: 2024-01-14 07:43:22 +0000 ena: Change measurement unit of time since last tx cleanup to ms This commit: 1. Sets the time since last cleanup to milliseconds. 2. Fixes incorrect indentations. Approved by: cperciva (mentor) MFC after: 2 weeks Sponsored by: Amazon, Inc. (cherry picked from commit 9272e45c04c0d4fcb5d767e962783f3ab192f64e) --- sys/dev/ena/ena.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ena/ena.c b/sys/dev/ena/ena.c index 7de87e6f3f4d..8b213b250ec7 100644 --- a/sys/dev/ena/ena.c +++ b/sys/dev/ena/ena.c @@ -3103,13 +3103,13 @@ check_missing_comp_in_tx_queue(struct ena_adapter *adapter, if (unlikely(time_offset > adapter->missing_tx_timeout)) { if (tx_buf->print_once) { - time_since_last_cleanup = TICKS_2_USEC(ticks - + time_since_last_cleanup = TICKS_2_MSEC(ticks - tx_ring->tx_last_cleanup_ticks); missing_tx_comp_to = sbttoms( adapter->missing_tx_timeout); ena_log(pdev, WARN, "Found a Tx that wasn't completed on time, qid %d, index %d. " - "%d usecs have passed since last cleanup. Missing Tx timeout value %d msecs.\n", + "%d msecs have passed since last cleanup. Missing Tx timeout value %d msecs.\n", tx_ring->qid, i, time_since_last_cleanup, missing_tx_comp_to); }