diff options
author | John Garry <john.garry@huawei.com> | 2019-08-05 21:47:58 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-07 22:13:14 -0400 |
commit | 93352abc81a90314bf032038200ce96989a32c62 (patch) | |
tree | a80c910918374f0fa09fd41b9c05f8cf7edff34d /drivers/target/target_core_tmr.c | |
parent | 69a76d08f2e41fa7f27bd6c4c0dce92cce01744a (diff) |
scsi: hisi_sas: Make max IPTT count equal for all hw revisions
There is a small optimisation to be had by making the max IPTT the same for
all hw revisions, that being we can drop the check for read and write
pointer being the same in the get free slot function.
Change v1 hw to have max IPTT of 4096 - same as v2 and v3 hw - and
drop hisi_sas_hw.max_command_entries.
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/target_core_tmr.c')
0 files changed, 0 insertions, 0 deletions