iscsi-target: split iscsi_target_rx_thread()
authorVarun Prakash <varun@chelsio.com>
Tue, 19 Apr 2016 18:30:11 +0000 (00:00 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 May 2016 06:12:07 +0000 (23:12 -0700)
commite8205cca0abd126418c18030fb8c9ef272080d70
treea8743a88870cdd8e056c2b391d6f6b2e05694f3b
parent187e84f7c2e4fa0028241c253c24658ef658e5d3
iscsi-target: split iscsi_target_rx_thread()

split iscsi_target_rx_thread() into two parts,
1. iscsi_target_rx_thread() is common to all
   transport drivers, it will call Rx function
   registered by transport driver.

2. iscsit_get_rx_pdu() is Rx function for
   ISCSI_TCP transport.

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