scsi: ibmvfc: Interface updates for future FPIN and MQ support
authorTyrel Datwyler <tyreld@linux.ibm.com>
Fri, 4 Sep 2020 23:29:36 +0000 (18:29 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Sep 2020 01:57:45 +0000 (21:57 -0400)
commitdf4d7329b2558008c64e573adb79d3fa3d5fc5c4
tree2ac3790e4de7a72ef4def7cf236fff0a94f602fb
parent802c60e3684e05633158055b862a99e0590f6327
scsi: ibmvfc: Interface updates for future FPIN and MQ support

VIOS partitions with SLI-4 enabled Emulex adapters will be capable of
driving I/O in parallel through mulitple work queues or channels, and with
new hypervisor firmware that supports multiple interrupt sources an ibmvfc
NPIV single initiator can be modified to exploit end-to-end channelization
in a PowerVM environment.

VIOS hosts will also be able to expose fabric perfromance impact
notifications (FPIN) via a new asynchronous event to ibmvfc clients that
advertise support via IBMVFC_CAN_HANDLE_FPIN in their capabilities flag
during NPIV_LOGIN.

This patch introduces three new Management Datagrams (MADs) for
channelization support negotiation as well as the FPIN asynchronous
event and FPIN status flags. Follow up work is required to plumb the
ibmvfc client driver to use these new interfaces.

Link: https://lore.kernel.org/r/20200904232936.840193-2-tyreld@linux.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.h