From nobody Fri Apr 29 23:12:49 2022 X-Original-To: dev-commits-src-branches@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 57C611ABD630; Fri, 29 Apr 2022 23:12:51 +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 4KqpDf6blSz3wHB; Fri, 29 Apr 2022 23:12:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651273971; 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=BxypnRIITp2Nxcf6cVBqtFTRafg3ieRAyvavXzXxfSY=; b=nv8jS6UB2hPFOwOYNuickQg22+VcsvkEEecrvkaHzC0B6z+qWu2bJARDxGyEyfOloOpKOa 70sDPdLBCKQDpHprZn/gCZot6u1+ZbmNvhSnWlyCsOOoKDItD8+e8xw3ssVXst7IDc7ezm ZrIEOM2jS29snkZzmJXQ0s6p0YJJe1vdrK0cpPf1x79OK7WhQV8nEzk1Fg62OWDFqym7Pa 5Jdmp6AC6D1V4shCVllquo/g68RkJxkHuynFaLdM1aw/jESl4gGPDs37lxpozef1WcfNfR kWrOZAWYZW3MBTwnjcIfIA5UDKMA3+nK45CzVHg7RspDMqHXBbq90+nzxG4IaQ== 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 0EDE516380; Fri, 29 Apr 2022 23:12:50 +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 23TNCnXZ045171; Fri, 29 Apr 2022 23:12:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23TNCnsE045170; Fri, 29 Apr 2022 23:12:49 GMT (envelope-from git) Date: Fri, 29 Apr 2022 23:12:49 GMT Message-Id: <202204292312.23TNCnsE045170@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 64d35ef56abd - stable/13 - cxgbe tom: Use be64toh instead of htobe64 to convert to host order. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 64d35ef56abdc24d3a30fe7718bfbb41f6e84086 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651273971; 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=BxypnRIITp2Nxcf6cVBqtFTRafg3ieRAyvavXzXxfSY=; b=XaPhHMHwaagXqeClr61ezFqpWWjBYrSPIVh77LqUt6B2zkQuKtc+gNzYKz5+uLLVunK9h6 cjWPppiPuu3olCjIioCezGKMeB9H2oLGn1u7YGI1hBrYBE9P1k4YBabktg6ONH8+95T80V esB2quIuYC/dyb5X7M9ABGo3OW8opmRdmkalfLJdGf4LB25ez5mLpWyx4DhVDTrTUysiJA Y01U1EG5eQOxWODWjs4lrqdFL2iyoDW9GLy+TCExDaJf1zrqdU0ZVRnSJFnCXilZhjaAIq r7EcTcfeQPghZxN9ndZJbtvMmjCBymjuDirTHLOVk+10wnq64DVUdeWHDd46hA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651273971; a=rsa-sha256; cv=none; b=InAJhzGDVH3qADu+pKZHLPHtQVHhFaPQu1a0NhxmUoQ2qehCzUQB4E1zkgEKXTIJ9IAjbN w/P8XzqSZvpqCGrkyPJCyoObNF7/DpbT4M9b9wTKMoDaXXdy4BtWRDz6IyaTt7kHUvjVTs /gqLvYm5UWvpou5UrwxsosrIWZ0dWDOMq3v5FAiJWL9n51DRlcNrG829BWSNxJMqggW2Oq ewJBwBxq/FIkPeUlSliD9IEClLhGcXgYD17BYuVpZDLjEnnniXPteWQikd8y05BascohDr SilKGJUlD0DXv8bSbvlGfPGo3jmFMP8FKSICEi0ywBEOkJt7JZWtxodWfmCO0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=64d35ef56abdc24d3a30fe7718bfbb41f6e84086 commit 64d35ef56abdc24d3a30fe7718bfbb41f6e84086 Author: John Baldwin AuthorDate: 2022-03-08 18:26:45 +0000 Commit: John Baldwin CommitDate: 2022-04-29 23:10:34 +0000 cxgbe tom: Use be64toh instead of htobe64 to convert to host order. This is a no-op but more accurately conveys intent. Sponsored by: Chelsio Communications (cherry picked from commit 44e7472d0ededdcee787bb08f301af234c732ff3) --- sys/dev/cxgbe/tom/t4_ddp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c index bd5739e20821..428e942a29cd 100644 --- a/sys/dev/cxgbe/tom/t4_ddp.c +++ b/sys/dev/cxgbe/tom/t4_ddp.c @@ -1156,7 +1156,7 @@ t4_write_page_pods_for_ps(struct adapter *sc, struct sge_wrq *wrq, int tid, CTR5(KTR_CXGBE, "%s: tid %d ppod[%d]->addr[%d] = %p", __func__, toep->tid, i, k, - htobe64(ppod->addr[k])); + be64toh(ppod->addr[k])); #endif } @@ -1258,7 +1258,7 @@ t4_write_page_pods_for_buf(struct adapter *sc, struct toepcb *toep, CTR5(KTR_CXGBE, "%s: tid %d ppod[%d]->addr[%d] = %p", __func__, toep->tid, i, k, - htobe64(ppod->addr[k])); + be64toh(ppod->addr[k])); #endif } @@ -1348,7 +1348,7 @@ t4_write_page_pods_for_sgl(struct adapter *sc, struct toepcb *toep, CTR5(KTR_CXGBE, "%s: tid %d ppod[%d]->addr[%d] = %p", __func__, toep->tid, i, k, - htobe64(ppod->addr[k])); + be64toh(ppod->addr[k])); #endif /*