mbox series

[00/11] ibmvfc: fixes and generic prep work for NVMeoF support

Message ID 20230913230457.2575849-1-tyreld@linux.ibm.com (mailing list archive)
Headers show
Series ibmvfc: fixes and generic prep work for NVMeoF support | expand

Message

Tyrel Datwyler Sept. 13, 2023, 11:04 p.m. UTC
This series includes a couple minor fixes, generalization of some code that is
not protocol specific, and a reworking of the way event pool buffers are
accounted for by the driver. This is a precursor to a series to follow that
introduces support for NVMeoF protocol with ibmvfc.

Tyrel Datwyler (11):
  ibmvfc: remove BUG_ON in the case of an empty event pool
  ibmvfc: implement channel queue depth and event buffer accounting
  ibmvfc: limit max hw queues by num_online_cpus()
  ibmvfc: fix erroneous use of rtas_busy_delay with hcall return code
  ibmvfc: use a bitfield for boolean flags
  ibmvfc: rename ibmvfc_scsi_channels to ibmvfc_channels
  ibmvfc: track max and desired queue size in ibmvfc_channels
  ibmvfc: make channel allocation generic
  ibmvfc: add protocol field to ibmvfc_channels
  ibmvfc: make discovery buffer per protocol channel group
  ibmvfc: add protocol field to target structure

 drivers/scsi/ibmvscsi/ibmvfc.c | 438 ++++++++++++++++++++++++---------
 drivers/scsi/ibmvscsi/ibmvfc.h |  50 ++--
 2 files changed, 353 insertions(+), 135 deletions(-)