linux/drivers/scsi/qedf
Chad Dupuis 3e2c11b3fb scsi: qedf: Simplify s/g list mapping
When mapping the pages from a scatter/gather list from the SCSI layer we
only need to follow these rules:

 - Max SGEs for each I/O request is 256
 - No size limit on each SGE
 - No need to split OS provided SGEs to 4K before sending to firmware.
 - Slow SGE is applicable only when:
   - There are > 8 SGEs and any middle SGE is less than a page size (4K)

Make necessary changes so that driver follows these rules. Applicable only
for Write requests (not for Read requests). No need to check SGE address
alignment requirements (first, middle or last) before declaring slow SGE.

Signed-off-by: Chad Dupuis <cdupuis@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-03-27 21:54:51 -04:00
..
drv_fcoe_fw_funcs.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
drv_fcoe_fw_funcs.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
drv_scsi_fw_funcs.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
drv_scsi_fw_funcs.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
Kconfig
Makefile qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qedf_attr.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_dbg.c scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_dbg.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_debugfs.c scsi: qedf: Simplify s/g list mapping 2019-03-27 21:54:51 -04:00
qedf_els.c scsi: qedf: Do not retry ELS request if qedf_alloc_cmd fails 2019-03-27 21:54:51 -04:00
qedf_fip.c SCSI misc on 20180610 2018-06-10 13:01:12 -07:00
qedf_hsi.h scsi: qedf: Update copyright for 2018 2018-05-08 00:57:11 -04:00
qedf_io.c scsi: qedf: Simplify s/g list mapping 2019-03-27 21:54:51 -04:00
qedf_main.c scsi: qedf: Correct xid range overlap between offloaded requests and libfc requests 2019-03-27 21:54:51 -04:00
qedf_version.h scsi: qedf: Update version number to 8.33.16.20 2018-05-08 00:57:11 -04:00
qedf.h scsi: qedf: Simplify s/g list mapping 2019-03-27 21:54:51 -04:00