scsi: ibmvfc: Define hcall wrapper for registering a Sub-CRQ
authorTyrel Datwyler <tyreld@linux.ibm.com>
Thu, 14 Jan 2021 20:31:32 +0000 (14:31 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Jan 2021 03:27:44 +0000 (22:27 -0500)
commit9e6b6b81aafaf6e6d6d8f22e87b2cd9f2ffd66e8
tree99fd5c92aa053227c1f5904fad07bb1800ac3d7a
parentbb35ecb2a949d9f4be84343107826bc69f33e72c
scsi: ibmvfc: Define hcall wrapper for registering a Sub-CRQ

Sub-CRQs are registred with firmware via a hypercall. Abstract that
interface into a simpler helper function.

Link: https://lore.kernel.org/r/20210114203148.246656-6-tyreld@linux.ibm.com
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvfc.c