]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: lpfc: Add MDS driver loopback diagnostics support
authorJames Smart <jsmart2021@gmail.com>
Wed, 14 Aug 2019 23:57:08 +0000 (16:57 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Aug 2019 02:41:12 +0000 (22:41 -0400)
commite62245d923caebc02582b12ce861c3d780b4106f
tree0141bcf65ed5887c1b1ca04cce4db41670a0d76b
parentec76242f3be73e5cbb950a7ac99d4fba7e226e2e
scsi: lpfc: Add MDS driver loopback diagnostics support

Added code to support driver loopback with MDS Diagnostics.  This style of
diagnostics passes frames from the fabric to the driver who then echo them
back out the link.  SEND_FRAME WQEs are used to transmit the frames.  Added
the SOF and EOF field location definitions for use by SEND_FRAME.

Also ensure that enable_mds_diags is a RW parameter.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_sli.c