mbox series

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

Message ID 20230921225435.3537728-1-tyreld@linux.ibm.com
Headers show
Series ibmvfc: fixes and generic prep work for NVMeoF support | expand


Tyrel Datwyler Sept. 21, 2023, 10:54 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.

v2 Changes:
* Fixed kernel test bot build warnings in patches 1 & 2

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(-)