aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_nl.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nl.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_nl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nl.h b/drivers/scsi/lpfc/lpfc_nl.h
index 1accb5a9f4e6..991ad53bd3ce 100644
--- a/drivers/scsi/lpfc/lpfc_nl.h
+++ b/drivers/scsi/lpfc/lpfc_nl.h
@@ -52,6 +52,13 @@
52 * The payload sent via the fc transport is one-way driver->application. 52 * The payload sent via the fc transport is one-way driver->application.
53 */ 53 */
54 54
55/* RSCN event header */
56struct lpfc_rscn_event_header {
57 uint32_t event_type;
58 uint32_t payload_length; /* RSCN data length in bytes */
59 uint32_t rscn_payload[];
60};
61
55/* els event header */ 62/* els event header */
56struct lpfc_els_event_header { 63struct lpfc_els_event_header {
57 uint32_t event_type; 64 uint32_t event_type;
@@ -65,6 +72,7 @@ struct lpfc_els_event_header {
65#define LPFC_EVENT_PRLO_RCV 0x02 72#define LPFC_EVENT_PRLO_RCV 0x02
66#define LPFC_EVENT_ADISC_RCV 0x04 73#define LPFC_EVENT_ADISC_RCV 0x04
67#define LPFC_EVENT_LSRJT_RCV 0x08 74#define LPFC_EVENT_LSRJT_RCV 0x08
75#define LPFC_EVENT_LOGO_RCV 0x10
68 76
69/* special els lsrjt event */ 77/* special els lsrjt event */
70struct lpfc_lsrjt_event { 78struct lpfc_lsrjt_event {
@@ -74,6 +82,11 @@ struct lpfc_lsrjt_event {
74 uint32_t explanation; 82 uint32_t explanation;
75}; 83};
76 84
85/* special els logo event */
86struct lpfc_logo_event {
87 struct lpfc_els_event_header header;
88 uint8_t logo_wwpn[8];
89};
77 90
78/* fabric event header */ 91/* fabric event header */
79struct lpfc_fabric_event_header { 92struct lpfc_fabric_event_header {
@@ -125,6 +138,7 @@ struct lpfc_scsi_varqueuedepth_event {
125/* special case scsi check condition event */ 138/* special case scsi check condition event */
126struct lpfc_scsi_check_condition_event { 139struct lpfc_scsi_check_condition_event {
127 struct lpfc_scsi_event_header scsi_event; 140 struct lpfc_scsi_event_header scsi_event;
141 uint8_t opcode;
128 uint8_t sense_key; 142 uint8_t sense_key;
129 uint8_t asc; 143 uint8_t asc;
130 uint8_t ascq; 144 uint8_t ascq;