From nobody Wed Jul 06 15:06:33 2022 X-Original-To: dev-commits-src-main@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 986661CFC5C7; Wed, 6 Jul 2022 15:06:33 +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 4LdND93v04z4hRK; Wed, 6 Jul 2022 15:06:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657119993; 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=qsM++lilqcXSYvJyCVURhzLgmTWkl7oz4qWng/nHIeA=; b=XgUOHPoFKrkGuKkD+PUJOLyhJoguZIh6KqXi4JEi0SJI4Te68OCgzj8WRC4PtvIWmDpElZ YmoaT/ShR9SJuNlEdXsNjNw3LoZwR3fRiM/5EPeECs32otfa1dtCGGgvG3zBUA4DiGHQz/ sl1a5s1gQg0mnoG0hJpcLz6NlPjSNKwrYR7uwnGqdn1fBh4xBN0znazvIjiJ68f90F5LZe 0K4DpRIGe+/0qQavFG79Q4gKVlqCHVKmjA5dRnDTisP6UwR3RFcVKw/vu0CkCnWEvtfqmo bZ6w7F4mQj8GE8oiBPRIgFma8va9tEwSbhDX9ooEEmgA1htrCBj3lZ8IdTUC9Q== 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 6713F1C8D2; Wed, 6 Jul 2022 15:06:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 266F6XV7020811; Wed, 6 Jul 2022 15:06:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 266F6X8d020810; Wed, 6 Jul 2022 15:06:33 GMT (envelope-from git) Date: Wed, 6 Jul 2022 15:06:33 GMT Message-Id: <202207061506.266F6X8d020810@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Marcin Wojtas Subject: git: 38d036e91a8c - main - ena: Align req_id and qid print order List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mw X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 38d036e91a8c29bf97b86d441a9d627c5cef2aea Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657119993; 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=qsM++lilqcXSYvJyCVURhzLgmTWkl7oz4qWng/nHIeA=; b=SjQPjt7VexPz0NZvPD4KD/tHVZY5SFxvOSR5onWfW5pokmhHRR/qpIuUY8bB1fSCepe8ZK 1Z1R0QXcxpcn+uC/1nzckT4+kyoMbqBAaxIrbOEmgTGJF+Pf6I9hpdea/Qmu6Q9DohT1xI ZFvEe6mtRT/Ou8z/D0YOF/+MkO34Do/dW959wYkFr3aUnW7EoDlVJO/94k+i7a+kbdMdMb AsHj5gOjBiDqK69KFygTntwgxo5Hlwhk2+hun89UIDtvvj/t039xR+kgIhxw4ZqOpd0wN+ 1XLHL5qSMvzXBNrVFpKdWViEycPhPIad0kSBnXUXEpCtMG8d8bnkFelmTcS2dQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657119993; a=rsa-sha256; cv=none; b=x9tplLOp0ZqGCjnc0HYbrMRj6S+zPslbvnbLnb6xZgdcH962Jn7PJvBOVbevNKTyxXV/Ed BGMdhI+7K8+OkGtogojlq48uF5+t8CJM//LicXBIqcKfzDfFz3nWOLXjQW+IPzzXfTiFwl smt3QVzNRHB3VpMl/s/tHX/IxcGgj9UDYzudKKnP2n8mcl8R7kk4lFTYVm5JzQrgwK2I2M UG+GjsSu/FJCBZFoU9WC1QxGcVX1qs9ZYcvDkYPAvC3IzCfSWTBUMURsakAxS3Bc6cpJUn R+Pbw3NfCtSUTYHsVV0uECr8veTOxWkBK7Tw4dOM7J8IpnAEYj3lCckyzWzLDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mw: URL: https://cgit.FreeBSD.org/src/commit/?id=38d036e91a8c29bf97b86d441a9d627c5cef2aea commit 38d036e91a8c29bf97b86d441a9d627c5cef2aea Author: Michal Krawczyk AuthorDate: 2022-07-04 07:03:54 +0000 Commit: Marcin Wojtas CommitDate: 2022-07-06 15:06:21 +0000 ena: Align req_id and qid print order In most places, the req_id is printed first, and the qid is printed as a second. To align the driver, one printout was reworked and the print order of those variables was changed. Suggested by: rpokala Obtained from: Semihalf MFC after: 2 weeks Sponsored by: Amazon, Inc. --- sys/dev/ena/ena_datapath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ena/ena_datapath.c b/sys/dev/ena/ena_datapath.c index 1bd901a30059..5a021a9304cc 100644 --- a/sys/dev/ena/ena_datapath.c +++ b/sys/dev/ena/ena_datapath.c @@ -219,8 +219,8 @@ ena_get_tx_req_id(struct ena_ring *tx_ring, struct ena_com_io_cq *io_cq, return (0); ena_log(adapter->pdev, ERR, - "tx_info doesn't have valid mbuf. qid %hu req_id %hu\n", - tx_ring->qid, *req_id); + "tx_info doesn't have valid mbuf. req_id %hu qid %hu\n", + *req_id, tx_ring->qid); err: ena_trigger_reset(adapter, ENA_REGS_RESET_INV_TX_REQ_ID);