diff options
| author | John Garry <[email protected]> | 2022-06-11 00:46:39 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-06-16 21:45:08 -0400 |
| commit | 35a7e9dbff9a25b1fd03a0a93dd1b69459e0c14e (patch) | |
| tree | fd9a0a490add31b0da8d0d80e12fc02862bda3ae /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | dcad25cb2500d2fe1f9a9222ecb316f431e2e1c9 (diff) | |
scsi: pm8001: Rework shost initial values
Some values in pm8001_prep_sas_ha_init() are set the same as they would be
set in scsi_host_alloc(), or could be in the sht (which would be better),
or later just overwritten, so rework the following:
- cmd_per_lun can be set in the sht
- max_lun and max_channel are as scsi_host_alloc() (so no need to set)
- can_queue is later overwritten (so don't set in
pm8001_prep_sas_ha_init())
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Damien Le Moal <[email protected]>
Acked-by: Jack Wang <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions