diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-15 03:47:15 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-07-08 05:36:48 +0400 |
commit | adb54c29310e8785e4f2eb0dc76e0e2fde943b11 (patch) | |
tree | a1741996414a81337ffccc8e56ff6dbca8b7c1d6 /lib/locking-selftest-rsem.h | |
parent | dbbc5d11074fc017488e6bdaaf9238d53e35ab07 (diff) | |
download | linux-adb54c29310e8785e4f2eb0dc76e0e2fde943b11.tar.xz |
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 'lib/locking-selftest-rsem.h')
0 files changed, 0 insertions, 0 deletions