The branch stable/13 has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=05da0093a6d1635eb42eb10129d0e861ef40bc40

commit 05da0093a6d1635eb42eb10129d0e861ef40bc40
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-03-08 18:25:41 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-04-29 23:10:27 +0000

    cxgbe tom: Use vm_paddr_t for physical addresses in page pod routines.
    
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit de414339c9826d0a560fd4faafdba74756803f35)
---
 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);

Reply via email to