[PATCH v2 0/6] ibmvfc: Protocol definition updates and new targetWWPN Support

Tyrel Datwyler
2020-11-17T19:17:12Z

Several Management Datagrams (MADs) have been reversioned to add a targetWWPN
field that is intended to better identify a target over a scsi_id. Further, a
couple new MADs have been introduced to the protocol to be used for negotiation
of channels/hw queues resources when the VIOS is using SLI-4 capable adapters.

This patchset adds the new protocol definitions and implements support for using
the new targetWWPN field and exposing the capability to the VIOS. This
targetWWPN support is a prerequisuite for upcoming channelization/MQ support.

changes in v2:
Removed bug fixes to separate patchset
Fixed up checkpatch warnings

Tyrel Datwyler (6):
ibmvfc: deduplicate common ibmvfc_cmd init code
ibmvfc: add new fields for version 2 of several MADs
ibmvfc: add helper for testing capability flags
ibmvfc: add FC payload retrieval routines for versioned vfcFrames
ibmvfc: add support for targetWWPN field in v2 MADs and vfcFrame
ibmvfc: advertise client support for targetWWPN using v2 commands

drivers/scsi/ibmvscsi/ibmvfc.c | 183 ++++++++++++++++++++++-----------
drivers/scsi/ibmvscsi/ibmvfc.h | 28 ++++-
2 files changed, 145 insertions(+), 66 deletions(-)

--
2.27.0