linux/drivers/scsi/lpfc
Bodo Stroesser 5f406fae01 lpfc: in sli3 use configured sg_seg_cnt for sg_tablesize
Currently the module parameter lpfc_sg_seg_count does not have effect
for sli3 devices.

In lpfc_sli_driver_resource_setup(), which is used for sli3, the code
writes the configured sg_seg_cnt into lpfc_template.sg_tablesize.
But lpfc_template is the template used for sli4 only. Thus the value should
correctly be written to lpfc_template_s3->sg_tablesize.

This patch is for kernel 4.1-rc5, but is tested with lpfc 10.2.405.26 only.

Signed-off-by: Bodo Stroesser <bstroesser@ts.fujitsu.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Sebastian Herbszt <herbszt@gmx.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-10-27 09:57:40 +09:00
..
lpfc_attr.c lpfc: Update copyright to 2015 2015-04-10 07:50:42 -07:00
lpfc_bsg.c lpfc: Update copyright to 2015 2015-04-10 07:50:42 -07:00
lpfc_bsg.h lpfc: Update copyright to 2015 2015-04-10 07:50:42 -07:00
lpfc_compat.h
lpfc_crtn.h lpfc: Add support for RDP ELS command. 2015-06-05 22:34:55 -07:00
lpfc_ct.c lpfc: Update copyright to 2015 2015-04-10 07:50:42 -07:00
lpfc_debugfs.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-06-23 14:08:54 -07:00
lpfc_debugfs.h
lpfc_disc.h lpfc: Fix rport leak. 2015-06-05 22:40:19 -07:00
lpfc_els.c lpfc: Fix to drop PLOGIs from fabric node till LOGO processing completes 2015-06-13 08:24:13 -07:00
lpfc_hbadisc.c lpfc: Use && instead of & for boolean expression 2015-08-26 16:35:07 -07:00
lpfc_hw4.h lpfc: Fix cq_id masking problem. 2015-06-13 08:22:59 -07:00
lpfc_hw.h lpfc: Add support for RDP ELS command. 2015-06-05 22:34:55 -07:00
lpfc_init.c lpfc: in sli3 use configured sg_seg_cnt for sg_tablesize 2015-10-27 09:57:40 +09:00
lpfc_logmsg.h
lpfc_mbox.c lpfc: Fix possible use-after-free and double free in lpfc_mbx_cmpl_rdp_page_a2() 2015-09-06 11:51:39 -07:00
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c lpfc: Fix to drop PLOGIs from fabric node till LOGO processing completes 2015-06-13 08:24:13 -07:00
lpfc_scsi.c lpfc: Fix scsi task management error message. 2015-06-13 08:23:40 -07:00
lpfc_scsi.h lpfc: Add support for using block multi-queue 2015-06-13 08:20:59 -07:00
lpfc_sli4.h lpfc: Add support for RDP ELS command. 2015-06-05 22:34:55 -07:00
lpfc_sli.c lpfc: Fix to drop PLOGIs from fabric node till LOGO processing completes 2015-06-13 08:24:13 -07:00
lpfc_sli.h lpfc: Update copyright to 2015 2015-04-10 07:50:42 -07:00
lpfc_version.h lpfc: Update version to 10.7.0.0 for upstream patch set. 2015-06-13 08:24:45 -07:00
lpfc_vport.c lpfc: Fix crash in vport_delete. 2015-06-05 22:39:07 -07:00
lpfc_vport.h
lpfc.h lpfc: Add support for RDP ELS command. 2015-06-05 22:34:55 -07:00
Makefile