Date: Tue, 8 Mar 2022 22:31:09 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: de414339c982 - main - cxgbe tom: Use vm_paddr_t for physical addresses in page pod routines. Message-ID: <202203082231.228MV9MU060208@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=de414339c9826d0a560fd4faafdba74756803f35 commit de414339c9826d0a560fd4faafdba74756803f35 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-03-08 18:25:41 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-03-08 22:28:06 +0000 cxgbe tom: Use vm_paddr_t for physical addresses in page pod routines. Sponsored by: Chelsio Communications --- sys/dev/cxgbe/tom/t4_ddp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c index 7614f2ea9497..bd5739e20821 100644 --- a/sys/dev/cxgbe/tom/t4_ddp.c +++ b/sys/dev/cxgbe/tom/t4_ddp.c @@ -1200,7 +1200,8 @@ t4_write_page_pods_for_buf(struct adapter *sc, struct toepcb *toep, u_int ppod_addr, offset; uint32_t cmd; struct ppod_region *pr = prsv->prsv_pr; - uintptr_t end_pva, pva, pa; + uintptr_t end_pva, pva; + vm_paddr_t pa; struct mbuf *m; cmd = htobe32(V_ULPTX_CMD(ULP_TX_MEM_WRITE)); @@ -1289,7 +1290,8 @@ t4_write_page_pods_for_sgl(struct adapter *sc, struct toepcb *toep, u_int ppod_addr, offset, sg_offset = 0; uint32_t cmd; struct ppod_region *pr = prsv->prsv_pr; - uintptr_t pva, pa; + uintptr_t pva; + vm_paddr_t pa; struct mbuf *m; MPASS(sgl != NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203082231.228MV9MU060208>