HomeFreeBSD

cxgbei: Support unmapped I/O requests.

Description

cxgbei: Support unmapped I/O requests.

  • Add icl_pdu_append_bio and icl_pdu_get_bio methods.
  • Add new page pod routines for allocating and writing page pods for unmapped bio requests. Use these new routines for setting up DDP for iSCSI tasks with a SCSI I/O CCB which uses CAM_DATA_BIO.
  • When ICL_NOCOPY is used to append data from an unmapped I/O request to a PDU, construct unmapped mbufs from the relevant pages backing the struct bio. This also requires changes in the t4_push_pdus path to support unmapped mbufs.

Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D34383

(cherry picked from commit 2beaefe88443f0644d65b3ae0ac2f1ccff51e748)

Details

Provenance
jhbAuthored on Mar 10 2022, 11:50 PM
Differential Revision
D34383: cxgbei: Support unmapped I/O requests.
Parents
rG34185c0a1af7: icl_soft: Use PHYS_TO_DMAP instead of pmap_map_io_transient.
Branches
Unknown
Tags
Unknown