The branch main has been updated by jhb:

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

commit a7aab22d2bf36191baa646fc136ca020dad209f3
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2025-09-11 21:10:40 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2025-09-11 21:10:40 +0000

    cxgbe tom: Export alloc_raw_mbuf for use in other TOE drivers
    
    Reviewed by:    np
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D47762
---
 sys/dev/cxgbe/tom/t4_ddp.c | 2 +-
 sys/dev/cxgbe/tom/t4_tom.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/cxgbe/tom/t4_ddp.c b/sys/dev/cxgbe/tom/t4_ddp.c
index 2fee8fa91dac..da0753296532 100644
--- a/sys/dev/cxgbe/tom/t4_ddp.c
+++ b/sys/dev/cxgbe/tom/t4_ddp.c
@@ -1785,7 +1785,7 @@ t4_write_page_pods_for_rcvbuf(struct adapter *sc, struct 
sge_wrq *wrq, int tid,
        return (0);
 }
 
-static struct mbuf *
+struct mbuf *
 alloc_raw_wr_mbuf(int len)
 {
        struct mbuf *m;
diff --git a/sys/dev/cxgbe/tom/t4_tom.h b/sys/dev/cxgbe/tom/t4_tom.h
index 3dfa24a33f85..af6d37931b2e 100644
--- a/sys/dev/cxgbe/tom/t4_tom.h
+++ b/sys/dev/cxgbe/tom/t4_tom.h
@@ -556,6 +556,7 @@ int t4_aio_queue_ddp(struct socket *, struct kaiocb *);
 int t4_enable_ddp_rcv(struct socket *, struct toepcb *);
 void t4_ddp_mod_load(void);
 void t4_ddp_mod_unload(void);
+struct mbuf *alloc_raw_wr_mbuf(int);
 void ddp_assert_empty(struct toepcb *);
 void ddp_uninit_toep(struct toepcb *);
 void ddp_queue_toep(struct toepcb *);

Reply via email to