Page MenuHomeFreeBSD

cxgbei: Add support for zero-copy iSCSI target transmission/read.
ClosedPublic

Authored by jhb on Apr 21 2021, 11:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 9:40 AM
Unknown Object (File)
Thu, Mar 26, 2:45 AM
Unknown Object (File)
Sun, Mar 22, 12:13 AM
Unknown Object (File)
Fri, Mar 20, 7:02 PM
Unknown Object (File)
Feb 23 2026, 2:21 AM
Unknown Object (File)
Feb 22 2026, 2:57 PM
Unknown Object (File)
Dec 27 2025, 3:01 AM
Unknown Object (File)
Nov 22 2025, 12:12 AM
Subscribers

Details

Summary
  • Switch to allocating the cxgbei version of icl_pdu explicitly as a separate refcounted object allocated via malloc/free instead of storing it in the bhs mbuf prior to the bhs.
  • Support the icl_conn_pdu_queue_cb() method to set a callback on a PDU to be invoked when the PDU is freed.
  • For ICL_NOCOPY buffers, use an external mbuf to manage the storage for the buffer via m_extaddref(). Each external mbuf holds a reference on the associated PDU, so the callback is invoked once all of the external mbufs have been freed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38778
Build 35667: arc lint + arc unit