commit | 7bb25a89aad2cc96de188c9ecc89a175360f6fb4 | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Thu Jan 10 21:32:41 2019 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri Jan 11 21:38:43 2019 -0500 |
tree | fd8b947988135d5d0235db52e0a2365946ae7af2 | |
parent | a94a2572b97744d3a35a1996df0e5cf6b2461a4a [diff] |
scsi: hisi_sas: Set protection parameters prior to adding SCSI host Currently we set the protection parameters after calling scsi_add_host() for v3 hw. They should be set beforehand, so make this change. Appearantly this fixes our DIX issue (not mainline yet) also, but more testing required. Fixes: d6a9000b81be ("scsi: hisi_sas: Add support for DIF feature for v2 hw") Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>