summaryrefslogtreecommitdiff
path: root/drivers/scsi/bfa/bfi.h
diff options
context:
space:
mode:
authorMaggie Zhang <xmzhang@brocade.com>2010-12-10 03:10:27 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 18:32:45 (GMT)
commite3e7d3eebb08735c8a14cd27f76dac784e9a9b75 (patch)
tree4ceb179b8e41c85f205d9356c1d83784ae784d3f /drivers/scsi/bfa/bfi.h
parentb77ee1fb10e4b76dc61094b3678d805be0e4f7ba (diff)
downloadlinux-fsl-qoriq-e3e7d3eebb08735c8a14cd27f76dac784e9a9b75.tar.xz
[SCSI] bfa: scatter gather processing change
Modified scatter gather processing to use the kernel provided scsi_for_each_sg() macro. 1) Instead of allocating and setting up sgpg in bfa_ioim_sge_setup(), we only do allocation. As a result, we remove bfa_ioim_sgpg_setup() and rename bfa_ioim_sge_setup() to bfa_ioim_sgpg_alloc(). 2) bfa_ioim_send_ioreq() call scsi_for_each_sg() to handle both inline and sgpg setup. Signed-off-by: Maggie Zhang <xmzhang@brocade.com> Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfi.h')
0 files changed, 0 insertions, 0 deletions