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)
Wed, Oct 23, 11:49 AM
Unknown Object (File)
Oct 6 2024, 6:50 AM
Unknown Object (File)
Oct 3 2024, 9:53 AM
Unknown Object (File)
Oct 2 2024, 7:45 PM
Unknown Object (File)
Oct 2 2024, 11:02 AM
Unknown Object (File)
Oct 2 2024, 10:21 AM
Unknown Object (File)
Oct 2 2024, 4:23 AM
Unknown Object (File)
Oct 1 2024, 6:24 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable