diff options
author | Varun Prakash <varun@chelsio.com> | 2016-04-20 00:00:13 +0530 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-05-09 23:12:08 -0700 |
commit | 8567270d8de6192eb2632b45421b1fde9bcda2f2 (patch) | |
tree | 84db3d3884911087df816395957f2a209a3ca851 /include/target/iscsi | |
parent | 42bc3e57877f2357ccbbc3ad6e6c7d9be44579f9 (diff) | |
download | blackbird-op-linux-8567270d8de6192eb2632b45421b1fde9bcda2f2.tar.gz blackbird-op-linux-8567270d8de6192eb2632b45421b1fde9bcda2f2.zip |
iscsi-target: add void (*iscsit_get_r2t_ttt)()
Add void (*iscsit_get_r2t_ttt)() to
struct iscsit_transport, iscsi-target
uses this callback to get
r2t->targ_xfer_tag.
cxgbit.ko needs this callback
for Direct Data Placement of Data Out
pdus, adapter uses ttt in Data Out pdus
for placing data directly in to the host
buffers.
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target/iscsi')
-rw-r--r-- | include/target/iscsi/iscsi_transport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/target/iscsi/iscsi_transport.h b/include/target/iscsi/iscsi_transport.h index 46aa219be1ae..32704b214be5 100644 --- a/include/target/iscsi/iscsi_transport.h +++ b/include/target/iscsi/iscsi_transport.h @@ -27,6 +27,8 @@ struct iscsit_transport { void (*iscsit_release_cmd)(struct iscsi_conn *, struct iscsi_cmd *); void (*iscsit_get_rx_pdu)(struct iscsi_conn *); int (*iscsit_validate_params)(struct iscsi_conn *); + void (*iscsit_get_r2t_ttt)(struct iscsi_conn *, struct iscsi_cmd *, + struct iscsi_r2t *); enum target_prot_op (*iscsit_get_sup_prot_ops)(struct iscsi_conn *); }; |