Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257825
b: refs/heads/master
c: 33dc362
h: refs/heads/master
i:
  257823: 9cec5c5
v: v3
  • Loading branch information
Yi Zou authored and James Bottomley committed Jun 29, 2011
1 parent 3fef8ac commit 63fdb64
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 480584818a4bb3655d8d0d875ed60b427fc61cc5
refs/heads/master: 33dc362b7f155a584688bcab2facdd4d21232001
5 changes: 3 additions & 2 deletions trunk/drivers/target/tcm_fc/tfc_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,9 @@ int ft_write_pending(struct se_cmd *se_cmd)
cmd->sg_cnt =
T_TASK(se_cmd)->t_tasks_sg_chained_no;
}
if (cmd->sg && lport->tt.ddp_setup(lport, ep->xid,
cmd->sg, cmd->sg_cnt))
if (cmd->sg && lport->tt.ddp_target(lport, ep->xid,
cmd->sg,
cmd->sg_cnt))
cmd->was_ddp_setup = 1;
}
}
Expand Down
8 changes: 8 additions & 0 deletions trunk/include/scsi/libfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,14 @@ struct libfc_function_template {
* STATUS: OPTIONAL
*/
int (*ddp_done)(struct fc_lport *, u16);
/*
* Sets up the DDP context for a given exchange id on the given
* scatterlist if LLD supports DDP for FCoE target.
*
* STATUS: OPTIONAL
*/
int (*ddp_target)(struct fc_lport *, u16, struct scatterlist *,
unsigned int);
/*
* Allow LLD to fill its own Link Error Status Block
*
Expand Down

0 comments on commit 63fdb64

Please sign in to comment.