iscsi-target: add int (*iscsit_xmit_pdu)()
authorVarun Prakash <varun@chelsio.com>
Tue, 19 Apr 2016 18:30:08 +0000 (00:00 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 May 2016 06:12:05 +0000 (23:12 -0700)
commit2854bb23cd5bef39fd845b7bdfac7799438bb920
tree0d33043babaac13a4dde9a11d27cafd68f6c5cfb
parentfdddf932269a75c3dd1c68d82b9a0fbc1821a2a8
iscsi-target: add int (*iscsit_xmit_pdu)()

Add int (*iscsit_xmit_pdu)() to
struct iscsit_transport, iscsi-target
uses this callback to transmit an
iSCSI PDU.

cxgbit.ko needs this callback to
avoid duplicating iscsit_immediate_queue()
and iscsit_response_queue() code.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c
include/target/iscsi/iscsi_transport.h