Skip to content

Commit

Permalink
[SCSI] be2iscsi: Adding Ring Mode Wrb's V3
Browse files Browse the repository at this point in the history
This patch adds support for ring based wrbs

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Jayamohan Kallickal authored and James Bottomley committed Dec 4, 2009
1 parent bfead3b commit 35e6601
Showing 3 changed files with 169 additions and 48 deletions.
6 changes: 3 additions & 3 deletions drivers/scsi/be2iscsi/be_cmds.c
Original file line number Diff line number Diff line change
@@ -125,7 +125,7 @@ static void beiscsi_cq_notify(struct beiscsi_hba *phba, u16 qid, bool arm,
}


int be_process_mcc(struct beiscsi_hba *phba)
int beiscsi_process_mcc(struct beiscsi_hba *phba)
{
struct be_mcc_compl *compl;
int num = 0, status = 0;
@@ -161,7 +161,7 @@ static int be_mcc_wait_compl(struct beiscsi_hba *phba)
#define mcc_timeout 120000 /* 5s timeout */
int i, status;
for (i = 0; i < mcc_timeout; i++) {
status = be_process_mcc(phba);
status = beiscsi_process_mcc(phba);
if (status)
return status;

@@ -504,7 +504,7 @@ static u32 be_encoded_q_len(int q_len)
return len_encoded;
}

int be_cmd_mccq_create(struct beiscsi_hba *phba,
int beiscsi_cmd_mccq_create(struct beiscsi_hba *phba,
struct be_queue_info *mccq,
struct be_queue_info *cq)
{
2 changes: 1 addition & 1 deletion drivers/scsi/be2iscsi/be_cmds.h
Original file line number Diff line number Diff line change
@@ -418,7 +418,7 @@ int beiscsi_cmd_cq_create(struct be_ctrl_info *ctrl,

int beiscsi_cmd_q_destroy(struct be_ctrl_info *ctrl, struct be_queue_info *q,
int type);
int be_cmd_mccq_create(struct beiscsi_hba *phba,
int beiscsi_cmd_mccq_create(struct beiscsi_hba *phba,
struct be_queue_info *mccq,
struct be_queue_info *cq);

Loading

0 comments on commit 35e6601

Please sign in to comment.