scsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Aug 2021 02:50:13 +0000 (22:50 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Aug 2021 03:10:14 +0000 (23:10 -0400)
commitb3e2c72af1d553a646c86bbb4c0be278686a295a
tree9b1c202a528cc536a75f60f09774495c2626a0d4
parent125c12f71783a2aa394f6e16a5de3424ad4f7dfb
scsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI

Use the SCSI midlayer interfaces to query protection interval, reference
tag, and per-command DIX flags.

Link: https://lore.kernel.org/r/20210817025014.12085-2-martin.petersen@oracle.com
Cc: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c