From nobody Thu Sep 11 21:10:52 2025 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 4cN9Fn5zrPz67R66; Thu, 11 Sep 2025 21:10:53 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cN9Fn2cM8z40K9; Thu, 11 Sep 2025 21:10:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757625053; 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=Q5g5bNvGJltGZdzw/1r2NCPisspj8QDrRwUxjN00Wjs=; b=tbHJAyvcrcUPUTmZs2mP4hMhZd1BRIYNAxWGFjflMHXq2Az/5vjPZnMENxTtNxdCs9hUqH 8N1NwlRQN7xrLIS0iacbo0Xj8Dbcu9j7LLSH0FJv9OrMbQRZtV72G/4+9hEyC0mAkKRpZC q8aX3Xq7ofvInb2YmntKkXZxAqGoMARhd5YboHUqUNQ0P01EUhup4PCc25LcfY5QZJSIK4 gPSvzlrZPJ/d4HSBcq6cno512REosTnadmOWB/tbS2GeNfYlCZrKHSsMUvMFaZ9V+aaIO6 n72gpTSxEPvHzdf2LLoYKArtQlsM8KWAzIxxFe4DkX4fWRRj/nYG/sKWbzdgVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757625053; 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=Q5g5bNvGJltGZdzw/1r2NCPisspj8QDrRwUxjN00Wjs=; b=oVfn0H9j0VvA+4YGO58vnVTpyfCZN3m/HduEtVjvr1zyceT0lj81w4b08umbEJfJ1MTX+r ndGfdaCXD+ySzyH0CjRyGSLfLdx4qY+PMT8F1qO2C0nCuZX48JtXE7J9uFPgOwlFyFbWYA FpzYO+o/tjD2veu7sksOKA74Ocd/oUDVU8JtPAT65eRnidgMYUaJvhNms1FTFc8Rk3gpl/ /gX1LUu4+fnu0UUTHiwcsHn/KD6pJ54hql+o0Jt2wAdqhcrg4kS5tFodf0Dz3OGq797mAT qSiOj85I8QQArbEXD2wACWmw2ecqG689ZtJeNQB7j/yn6CILJQbO/7HyPbg/zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757625053; a=rsa-sha256; cv=none; b=QPahBmGefQPZAh7GO00WTrQXfPe5Se/UFi8Qid1en1XfIw1YdDPvEJ68t5/hn/2BT1zfH2 1Xz+num25Zf6jUOjby9edHJ8Zza++ODQ/8m/uYk+vyBgpYJA1kJpQcUhdFPYJC+ABHj3+P om1kncN/E9hpOKCiwj6O5TmwocGdZs30z8/eSrP3arEzVfwXXIMicIMqvhp16dSTGmBfs9 6nhe4UGG67c0KgQVcORC0AzLxaOK+CtWfnMExLxzP3Tthlgy/MLbDqWkumuuWvdew0RC65 4Q0bZgGdZIUXdyTbE8RV2fJRzmxAbk/u+Nd4Mi/fKVFYu7xCBjiMkBwJkVmKDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cN9Fm51ckz8PH; Thu, 11 Sep 2025 21:10:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58BLAqZg058904; Thu, 11 Sep 2025 21:10:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58BLAqPD058900; Thu, 11 Sep 2025 21:10:52 GMT (envelope-from git) Date: Thu, 11 Sep 2025 21:10:52 GMT Message-Id: <202509112110.58BLAqPD058900@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: a7aab22d2bf3 - main - cxgbe tom: Export alloc_raw_mbuf for use in other TOE drivers 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: a7aab22d2bf36191baa646fc136ca020dad209f3 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a7aab22d2bf36191baa646fc136ca020dad209f3 commit a7aab22d2bf36191baa646fc136ca020dad209f3 Author: John Baldwin AuthorDate: 2025-09-11 21:10:40 +0000 Commit: John Baldwin 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 *);