qla2xxx: Remove SRR code
During initial implementation, tape support was included but not enabled by default on target. So far, we don't see any target customer requesting this support. Since this code is not being used actively, we want to remove it and we will add back if there are any request in future for SRR support. Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@cavium.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
1eb42f965c
commit
2c39b5ca2a
@@ -890,16 +890,7 @@ struct qla_tgt {
|
||||
int notify_ack_expected;
|
||||
int abts_resp_expected;
|
||||
int modify_lun_expected;
|
||||
|
||||
int ctio_srr_id;
|
||||
int imm_srr_id;
|
||||
spinlock_t srr_lock;
|
||||
struct list_head srr_ctio_list;
|
||||
struct list_head srr_imm_list;
|
||||
struct work_struct srr_work;
|
||||
|
||||
atomic_t tgt_global_resets_count;
|
||||
|
||||
struct list_head tgt_list_entry;
|
||||
};
|
||||
|
||||
@@ -1087,18 +1078,6 @@ struct qla_tgt_prm {
|
||||
uint16_t tot_dsds;
|
||||
};
|
||||
|
||||
struct qla_tgt_srr_imm {
|
||||
struct list_head srr_list_entry;
|
||||
int srr_id;
|
||||
struct imm_ntfy_from_isp imm_ntfy;
|
||||
};
|
||||
|
||||
struct qla_tgt_srr_ctio {
|
||||
struct list_head srr_list_entry;
|
||||
int srr_id;
|
||||
struct qla_tgt_cmd *cmd;
|
||||
};
|
||||
|
||||
/* Check for Switch reserved address */
|
||||
#define IS_SW_RESV_ADDR(_s_id) \
|
||||
((_s_id.b.domain == 0xff) && (_s_id.b.area == 0xfc))
|
||||
|
||||
Reference in New Issue
Block a user