On Fri, 2019-04-05 at 16:04 -0700, James Smart wrote: > The FC standard has defined a new Fabric Performance Impact > Notification (FPIN) ELS that can be sent from the fabric to an > endpoint to communicate fabric integrity information. The FPIN > may communicate congestion detection, link integrity issues, or > other similar conditions. > > This patch set adds minimal support for the new FPIN ELS which is > still being worked in T11. The base ELS format is defined > and scsi_transport_fc is updated to allow an lldd to pass it an > FPIN, which the transport will post as an fc event with the FPIN > payload. In the future, it may be interesting to parse the payload > and set attributes on different fc ports. > > The last patch updates the lpfc driver to post a received FPIN. > > These patches were cut from the 5.2/scsi-queue branch. > > James Smart (4): > scsi fc: add FPIN ELS definition > scsi_transport_fc: refactor event posting routines > scsi_transport_fc: Add FPIN fc event codes > lpfc: add support for posting FC events on FPIN reception > > drivers/scsi/lpfc/lpfc_els.c | 8 +++ > drivers/scsi/lpfc/lpfc_hw.h | 4 ++ > drivers/scsi/scsi_transport_fc.c | 116 +++++++++++++++++++-------------------- > include/scsi/scsi_transport_fc.h | 13 ++++- > include/uapi/scsi/fc/fc_els.h | 33 +++++++++++ > 5 files changed, 113 insertions(+), 61 deletions(-) > Reviewed-by: Ewan D. Milne <emilne@xxxxxxxxxx>