]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ibmvfc: Register Sub-CRQ handles with VIOS during channel setup
authorTyrel Datwyler <tyreld@linux.ibm.com>
Thu, 14 Jan 2021 20:31:43 +0000 (14:31 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Jan 2021 03:31:04 +0000 (22:31 -0500)
commit2cedac0104c00dccea65a3cb5e8dbd6160c87a07
tree2249fd955c1aed462cdbe20f8301dee202b58608
parent1b2df87f6244cc229e0e0f0f6d93af780498b58a
scsi: ibmvfc: Register Sub-CRQ handles with VIOS during channel setup

If the ibmvfc client adapter requests channels it must submit a number of
Sub-CRQ handles matching the number of channels being requested. The VIOS
in its response will overwrite the actual number of channel resources
allocated which may be less than what was requested. The client then must
store the VIOS Sub-CRQ handle for each queue. This VIOS handle is needed as
a parameter with h_send_sub_crq().

Link: https://lore.kernel.org/r/20210114203148.246656-17-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