diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-15 01:47:15 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-07-08 03:36:48 +0200 |
commit | adb54c29310e8785e4f2eb0dc76e0e2fde943b11 (patch) | |
tree | a1741996414a81337ffccc8e56ff6dbca8b7c1d6 /drivers/target | |
parent | iser-target: Rename sense_buf_[dma,len] to pdu_[dma,len] (diff) | |
download | linux-adb54c29310e8785e4f2eb0dc76e0e2fde943b11.tar.xz linux-adb54c29310e8785e4f2eb0dc76e0e2fde943b11.zip |
iser-target: Add support for ISCSI_OP_TEXT opcode + payload handling
This patch adds isert_handle_text_cmd() to handle incoming
ISCSI_OP_TEXT PDU processing, along with isert_put_text_rsp()
for posting ISCSI_OP_TEXT_RSP ib_send_wr response.
It copies ISCSI_OP_TEXT payload using unsolicited payload at
&iser_rx_desc->data[0] into iscsi_cmd->text_in_ptr for usage
with outgoing isert_put_text_rsp() -> iscsit_build_text_rsp()
v2 changes:
- Let iscsit_build_text_rsp() determine any extra padding
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions