opnsense-src/sys/dev/iser
John Baldwin 7aab9c14a4 iscsi: Handle unmapped I/O requests.
Don't assume that csio->data_ptr is pointer to a data buffer that can
be passed to icl_get_pdu_data and icl_append_data.  For unmapped I/O
requests, csio->data_ptr is instead a pointer to a struct bio as
indicated by CAM_DATA_BIO.  To support these requests, add
icl_pdu_append_bio and icl_pdu_get_bio methods which pass a pointer to
the bio and an offset and length relative to the bio's buffer.

Note that only backends supporting unmapped requests need to implement
these hooks.

Implement simple no-op hooks for the iser backend.

Reviewed by:	mav
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D34382
2022-03-10 15:49:53 -08:00
..
icl_iser.c iscsi: Handle unmapped I/O requests. 2022-03-10 15:49:53 -08:00
icl_iser.h Update iser backend code to use new ibcore APIs. 2017-11-16 13:28:00 +00:00
iser_initiator.c Make iser(4) buildable again by adjusting it for the recent changes 2016-05-26 10:30:03 +00:00
iser_memory.c ibcore: Declare ib_post_send() and ib_post_recv() arguments const 2021-07-12 14:22:33 +02:00
iser_verbs.c ibcore: Declare ib_post_send() and ib_post_recv() arguments const 2021-07-12 14:22:33 +02:00