Re: [PATCH 3/4] scsi: hisi_sas: Make sg_tablesize consistent value

2018-11-21 Thread John Garry
On 21/11/2018 11:08, Steffen Maier wrote: On 11/21/2018 12:02 PM, Steffen Maier wrote: On 11/20/2018 03:59 PM, John Garry wrote: From: Xiang Chen Sht->sg_tablesize is set in the driver, and it will be assigned to shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign shost->s

Re: [PATCH 3/4] scsi: hisi_sas: Make sg_tablesize consistent value

2018-11-21 Thread Steffen Maier
On 11/21/2018 12:02 PM, Steffen Maier wrote: On 11/20/2018 03:59 PM, John Garry wrote: From: Xiang Chen Sht->sg_tablesize is set in the driver, and it will be assigned to shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign shost->sg_table one more time in the driver. In ad

Re: [PATCH 3/4] scsi: hisi_sas: Make sg_tablesize consistent value

2018-11-21 Thread Steffen Maier
On 11/20/2018 03:59 PM, John Garry wrote: From: Xiang Chen Sht->sg_tablesize is set in the driver, and it will be assigned to shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign shost->sg_table one more time in the driver. In addition to the change, change each scsi_host_te

[PATCH 3/4] scsi: hisi_sas: Make sg_tablesize consistent value

2018-11-20 Thread John Garry
From: Xiang Chen Sht->sg_tablesize is set in the driver, and it will be assigned to shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign shost->sg_table one more time in the driver. In addition to the change, change each scsi_host_template.sg_tablesize to HISI_SAS_SGE_PAGE_CNT