diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-01-04 22:37:17 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-01-04 22:37:17 +0000 |
commit | 8903d8e37f141ba12125d60a84b7c78d589e4867 (patch) | |
tree | 3c86d28ca265a1e079cc8e47107f3c29dd3ec3b0 /sys/dev/iscsi/icl_wrappers.h | |
parent | e43cf698d93c9f3007ade4884c6ace38eec43a52 (diff) | |
download | src-8903d8e37f141ba12125d60a84b7c78d589e4867.tar.gz src-8903d8e37f141ba12125d60a84b7c78d589e4867.zip |
iscsi: Pass the request PDU to icl_conn_transfer_setup().
This matches icl_conn_task_setup() which passes the PDU and avoids the
need for a layering violation in cxgbei to fetch the request PDU from
the ctl_io.
Reviewed by: mav
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D33746
Diffstat (limited to 'sys/dev/iscsi/icl_wrappers.h')
-rw-r--r-- | sys/dev/iscsi/icl_wrappers.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/iscsi/icl_wrappers.h b/sys/dev/iscsi/icl_wrappers.h index cc37771c7dba..515410b40045 100644 --- a/sys/dev/iscsi/icl_wrappers.h +++ b/sys/dev/iscsi/icl_wrappers.h @@ -129,11 +129,11 @@ icl_conn_task_done(struct icl_conn *ic, void *prv) } static inline int -icl_conn_transfer_setup(struct icl_conn *ic, union ctl_io *io, - uint32_t *transfer_tagp, void **prvp) +icl_conn_transfer_setup(struct icl_conn *ic, struct icl_pdu *ip, + union ctl_io *io, uint32_t *transfer_tagp, void **prvp) { - return (ICL_CONN_TRANSFER_SETUP(ic, io, transfer_tagp, prvp)); + return (ICL_CONN_TRANSFER_SETUP(ic, ip, io, transfer_tagp, prvp)); } static inline void |