Home
last modified time | relevance | path

Searched refs:max_sgs (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dsnic_ctl.c160 u32 cmnd_id, hid, max_sgs; in snic_io_exch_ver_cmpl_handler() local
201 max_sgs = snic->fwinfo.max_sgs_per_cmd; in snic_io_exch_ver_cmpl_handler()
202 if (max_sgs && max_sgs < SNIC_MAX_SG_DESC_CNT) { in snic_io_exch_ver_cmpl_handler()
203 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler()
206 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler()
209 snic->config.xpt_type, max_sgs, in snic_io_exch_ver_cmpl_handler()
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_ctl.c143 u32 cmnd_id, hid, max_sgs; in snic_io_exch_ver_cmpl_handler() local
184 max_sgs = snic->fwinfo.max_sgs_per_cmd; in snic_io_exch_ver_cmpl_handler()
185 if (max_sgs && max_sgs < SNIC_MAX_SG_DESC_CNT) { in snic_io_exch_ver_cmpl_handler()
186 snic->shost->sg_tablesize = max_sgs; in snic_io_exch_ver_cmpl_handler()
189 } else if (max_sgs > snic->shost->sg_tablesize) { in snic_io_exch_ver_cmpl_handler()
192 snic->config.xpt_type, max_sgs, in snic_io_exch_ver_cmpl_handler()

Completed in 1 milliseconds