Commit 2c39b5ca authored by Himanshu Madhani's avatar Himanshu Madhani Committed by Nicholas Bellinger

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: default avatarHimanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: default avatarGiridhar Malavali <giridhar.malavali@cavium.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 1eb42f96
This diff is collapsed.
...@@ -890,16 +890,7 @@ struct qla_tgt { ...@@ -890,16 +890,7 @@ struct qla_tgt {
int notify_ack_expected; int notify_ack_expected;
int abts_resp_expected; int abts_resp_expected;
int modify_lun_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; atomic_t tgt_global_resets_count;
struct list_head tgt_list_entry; struct list_head tgt_list_entry;
}; };
...@@ -1087,18 +1078,6 @@ struct qla_tgt_prm { ...@@ -1087,18 +1078,6 @@ struct qla_tgt_prm {
uint16_t tot_dsds; 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 */ /* Check for Switch reserved address */
#define IS_SW_RESV_ADDR(_s_id) \ #define IS_SW_RESV_ADDR(_s_id) \
((_s_id.b.domain == 0xff) && (_s_id.b.area == 0xfc)) ((_s_id.b.domain == 0xff) && (_s_id.b.area == 0xfc))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment