/* fc_fcp_ddp_setup() - Calls a LLD's ddp_setup routine to set up DDP context @fsp: The FCP packet that will manage the DDP frames @xid: The XID that will be used for the DDP exchange  */
void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid)
/* fc_fcp_ddp_setup() - Calls a LLD's ddp_setup routine to set up DDP context @fsp: The FCP packet that will manage the DDP frames @xid: The XID that will be used for the DDP exchange  */
void fc_fcp_ddp_setup(struct fc_fcp_pkt *fsp, u16 xid)
{
	struct fc_lport *lport;
	lport = fsp->lp;
	if ((fsp->req_flags & FC_SRB_READ) &&
	    (lport->lro_enabled) && (lport->tt.ddp_setup)) {
		if (lport->tt.ddp_setup(lport, xid, scsi_sglist(fsp->cmd),
					scsi_sg_count(fsp->cmd)))
			fsp->xfer_ddp = xid;
	}
}