1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20#ifndef _FC_ELS_H_
21#define _FC_ELS_H_
22
23#include <linux/types.h>
24
25
26
27
28
29
30
31
32
33enum fc_els_cmd {
34 ELS_LS_RJT = 0x01,
35 ELS_LS_ACC = 0x02,
36 ELS_PLOGI = 0x03,
37 ELS_FLOGI = 0x04,
38 ELS_LOGO = 0x05,
39 ELS_ABTX = 0x06,
40 ELS_RCS = 0x07,
41 ELS_RES = 0x08,
42 ELS_RSS = 0x09,
43 ELS_RSI = 0x0a,
44 ELS_ESTS = 0x0b,
45 ELS_ESTC = 0x0c,
46 ELS_ADVC = 0x0d,
47 ELS_RTV = 0x0e,
48 ELS_RLS = 0x0f,
49 ELS_ECHO = 0x10,
50 ELS_TEST = 0x11,
51 ELS_RRQ = 0x12,
52 ELS_REC = 0x13,
53 ELS_SRR = 0x14,
54 ELS_PRLI = 0x20,
55 ELS_PRLO = 0x21,
56 ELS_SCN = 0x22,
57 ELS_TPLS = 0x23,
58 ELS_TPRLO = 0x24,
59 ELS_LCLM = 0x25,
60 ELS_GAID = 0x30,
61 ELS_FACT = 0x31,
62 ELS_FDACDT = 0x32,
63 ELS_NACT = 0x33,
64 ELS_NDACT = 0x34,
65 ELS_QOSR = 0x40,
66 ELS_RVCS = 0x41,
67 ELS_PDISC = 0x50,
68 ELS_FDISC = 0x51,
69 ELS_ADISC = 0x52,
70 ELS_RNC = 0x53,
71 ELS_FARP_REQ = 0x54,
72 ELS_FARP_REPL = 0x55,
73 ELS_RPS = 0x56,
74 ELS_RPL = 0x57,
75 ELS_RPBC = 0x58,
76 ELS_FAN = 0x60,
77 ELS_RSCN = 0x61,
78 ELS_SCR = 0x62,
79 ELS_RNFT = 0x63,
80 ELS_CSR = 0x68,
81 ELS_CSU = 0x69,
82 ELS_LINIT = 0x70,
83 ELS_LSTS = 0x72,
84 ELS_RNID = 0x78,
85 ELS_RLIR = 0x79,
86 ELS_LIRR = 0x7a,
87 ELS_SRL = 0x7b,
88 ELS_SBRP = 0x7c,
89 ELS_RPSC = 0x7d,
90 ELS_QSA = 0x7e,
91 ELS_EVFP = 0x7f,
92 ELS_LKA = 0x80,
93 ELS_AUTH_ELS = 0x90,
94};
95
96
97
98
99
100#define FC_ELS_CMDS_INIT { \
101 [ELS_LS_RJT] = "LS_RJT", \
102 [ELS_LS_ACC] = "LS_ACC", \
103 [ELS_PLOGI] = "PLOGI", \
104 [ELS_FLOGI] = "FLOGI", \
105 [ELS_LOGO] = "LOGO", \
106 [ELS_ABTX] = "ABTX", \
107 [ELS_RCS] = "RCS", \
108 [ELS_RES] = "RES", \
109 [ELS_RSS] = "RSS", \
110 [ELS_RSI] = "RSI", \
111 [ELS_ESTS] = "ESTS", \
112 [ELS_ESTC] = "ESTC", \
113 [ELS_ADVC] = "ADVC", \
114 [ELS_RTV] = "RTV", \
115 [ELS_RLS] = "RLS", \
116 [ELS_ECHO] = "ECHO", \
117 [ELS_TEST] = "TEST", \
118 [ELS_RRQ] = "RRQ", \
119 [ELS_REC] = "REC", \
120 [ELS_SRR] = "SRR", \
121 [ELS_PRLI] = "PRLI", \
122 [ELS_PRLO] = "PRLO", \
123 [ELS_SCN] = "SCN", \
124 [ELS_TPLS] = "TPLS", \
125 [ELS_TPRLO] = "TPRLO", \
126 [ELS_LCLM] = "LCLM", \
127 [ELS_GAID] = "GAID", \
128 [ELS_FACT] = "FACT", \
129 [ELS_FDACDT] = "FDACDT", \
130 [ELS_NACT] = "NACT", \
131 [ELS_NDACT] = "NDACT", \
132 [ELS_QOSR] = "QOSR", \
133 [ELS_RVCS] = "RVCS", \
134 [ELS_PDISC] = "PDISC", \
135 [ELS_FDISC] = "FDISC", \
136 [ELS_ADISC] = "ADISC", \
137 [ELS_RNC] = "RNC", \
138 [ELS_FARP_REQ] = "FARP_REQ", \
139 [ELS_FARP_REPL] = "FARP_REPL", \
140 [ELS_RPS] = "RPS", \
141 [ELS_RPL] = "RPL", \
142 [ELS_RPBC] = "RPBC", \
143 [ELS_FAN] = "FAN", \
144 [ELS_RSCN] = "RSCN", \
145 [ELS_SCR] = "SCR", \
146 [ELS_RNFT] = "RNFT", \
147 [ELS_CSR] = "CSR", \
148 [ELS_CSU] = "CSU", \
149 [ELS_LINIT] = "LINIT", \
150 [ELS_LSTS] = "LSTS", \
151 [ELS_RNID] = "RNID", \
152 [ELS_RLIR] = "RLIR", \
153 [ELS_LIRR] = "LIRR", \
154 [ELS_SRL] = "SRL", \
155 [ELS_SBRP] = "SBRP", \
156 [ELS_RPSC] = "RPSC", \
157 [ELS_QSA] = "QSA", \
158 [ELS_EVFP] = "EVFP", \
159 [ELS_LKA] = "LKA", \
160 [ELS_AUTH_ELS] = "AUTH_ELS", \
161}
162
163
164
165
166struct fc_els_ls_acc {
167 __u8 la_cmd;
168 __u8 la_resv[3];
169};
170
171
172
173
174struct fc_els_ls_rjt {
175 __u8 er_cmd;
176 __u8 er_resv[4];
177 __u8 er_reason;
178 __u8 er_explan;
179 __u8 er_vendor;
180};
181
182
183
184
185enum fc_els_rjt_reason {
186 ELS_RJT_NONE = 0,
187 ELS_RJT_INVAL = 0x01,
188 ELS_RJT_LOGIC = 0x03,
189 ELS_RJT_BUSY = 0x05,
190 ELS_RJT_PROT = 0x07,
191 ELS_RJT_UNAB = 0x09,
192 ELS_RJT_UNSUP = 0x0b,
193 ELS_RJT_INPROG = 0x0e,
194 ELS_RJT_FIP = 0x20,
195 ELS_RJT_VENDOR = 0xff,
196};
197
198
199
200
201
202enum fc_els_rjt_explan {
203 ELS_EXPL_NONE = 0x00,
204 ELS_EXPL_SPP_OPT_ERR = 0x01,
205 ELS_EXPL_SPP_ICTL_ERR = 0x03,
206 ELS_EXPL_AH = 0x11,
207 ELS_EXPL_AH_REQ = 0x13,
208 ELS_EXPL_SID = 0x15,
209 ELS_EXPL_OXID_RXID = 0x17,
210 ELS_EXPL_INPROG = 0x19,
211 ELS_EXPL_PLOGI_REQD = 0x1e,
212 ELS_EXPL_INSUF_RES = 0x29,
213 ELS_EXPL_UNAB_DATA = 0x2a,
214 ELS_EXPL_UNSUPR = 0x2c,
215 ELS_EXPL_INV_LEN = 0x2d,
216 ELS_EXPL_NOT_NEIGHBOR = 0x62,
217
218};
219
220
221
222
223struct fc_els_csp {
224 __u8 sp_hi_ver;
225 __u8 sp_lo_ver;
226 __be16 sp_bb_cred;
227 __be16 sp_features;
228 __be16 sp_bb_data;
229 union {
230 struct {
231 __be16 _sp_tot_seq;
232 __be16 _sp_rel_off;
233 } sp_plogi;
234 struct {
235 __be32 _sp_r_a_tov;
236 } sp_flogi_acc;
237 } sp_u;
238 __be32 sp_e_d_tov;
239};
240#define sp_tot_seq sp_u.sp_plogi._sp_tot_seq
241#define sp_rel_off sp_u.sp_plogi._sp_rel_off
242#define sp_r_a_tov sp_u.sp_flogi_acc._sp_r_a_tov
243
244#define FC_SP_BB_DATA_MASK 0xfff
245
246
247
248
249#define FC_SP_MIN_MAX_PAYLOAD FC_MIN_MAX_PAYLOAD
250#define FC_SP_MAX_MAX_PAYLOAD FC_MAX_PAYLOAD
251
252
253
254
255#define FC_SP_FT_NPIV 0x8000
256#define FC_SP_FT_CIRO 0x8000
257#define FC_SP_FT_CLAD 0x8000
258#define FC_SP_FT_RAND 0x4000
259#define FC_SP_FT_VAL 0x2000
260#define FC_SP_FT_NPIV_ACC 0x2000
261#define FC_SP_FT_FPORT 0x1000
262#define FC_SP_FT_ABB 0x0800
263#define FC_SP_FT_EDTR 0x0400
264#define FC_SP_FT_MCAST 0x0200
265#define FC_SP_FT_BCAST 0x0100
266#define FC_SP_FT_HUNT 0x0080
267#define FC_SP_FT_SIMP 0x0040
268#define FC_SP_FT_SEC 0x0020
269#define FC_SP_FT_CSYN 0x0010
270#define FC_SP_FT_RTTOV 0x0008
271#define FC_SP_FT_HALF 0x0004
272#define FC_SP_FT_SEQC 0x0002
273#define FC_SP_FT_PAYL 0x0001
274
275
276
277
278struct fc_els_cssp {
279 __be16 cp_class;
280 __be16 cp_init;
281 __be16 cp_recip;
282 __be16 cp_rdfs;
283 __be16 cp_con_seq;
284 __be16 cp_ee_cred;
285 __u8 cp_resv1;
286 __u8 cp_open_seq;
287 __u8 _cp_resv2[2];
288};
289
290
291
292
293#define FC_CPC_VALID 0x8000
294#define FC_CPC_IMIX 0x4000
295#define FC_CPC_SEQ 0x0800
296#define FC_CPC_CAMP 0x0200
297#define FC_CPC_PRI 0x0080
298
299
300
301
302
303#define FC_CPI_CSYN 0x0010
304
305
306
307
308#define FC_CPR_CSYN 0x0008
309
310
311
312
313
314struct fc_els_flogi {
315 __u8 fl_cmd;
316 __u8 _fl_resvd[3];
317 struct fc_els_csp fl_csp;
318 __be64 fl_wwpn;
319 __be64 fl_wwnn;
320 struct fc_els_cssp fl_cssp[4];
321 __u8 fl_vend[16];
322} __attribute__((__packed__));
323
324
325
326
327struct fc_els_spp {
328 __u8 spp_type;
329 __u8 spp_type_ext;
330 __u8 spp_flags;
331 __u8 _spp_resvd;
332 __be32 spp_orig_pa;
333 __be32 spp_resp_pa;
334 __be32 spp_params;
335};
336
337
338
339
340#define FC_SPP_OPA_VAL 0x80
341#define FC_SPP_RPA_VAL 0x40
342#define FC_SPP_EST_IMG_PAIR 0x20
343#define FC_SPP_RESP_MASK 0x0f
344
345
346
347
348enum fc_els_spp_resp {
349 FC_SPP_RESP_ACK = 1,
350 FC_SPP_RESP_RES = 2,
351 FC_SPP_RESP_INIT = 3,
352 FC_SPP_RESP_NO_PA = 4,
353 FC_SPP_RESP_CONF = 5,
354 FC_SPP_RESP_COND = 6,
355 FC_SPP_RESP_MULT = 7,
356 FC_SPP_RESP_INVL = 8,
357};
358
359
360
361
362struct fc_els_rrq {
363 __u8 rrq_cmd;
364 __u8 rrq_zero[3];
365 __u8 rrq_resvd;
366 __u8 rrq_s_id[3];
367 __be16 rrq_ox_id;
368 __be16 rrq_rx_id;
369};
370
371
372
373
374struct fc_els_rec {
375 __u8 rec_cmd;
376 __u8 rec_zero[3];
377 __u8 rec_resvd;
378 __u8 rec_s_id[3];
379 __be16 rec_ox_id;
380 __be16 rec_rx_id;
381};
382
383
384
385
386struct fc_els_rec_acc {
387 __u8 reca_cmd;
388 __u8 reca_zero[3];
389 __be16 reca_ox_id;
390 __be16 reca_rx_id;
391 __u8 reca_resvd1;
392 __u8 reca_ofid[3];
393 __u8 reca_resvd2;
394 __u8 reca_rfid[3];
395 __be32 reca_fc4value;
396 __be32 reca_e_stat;
397};
398
399
400
401
402struct fc_els_prli {
403 __u8 prli_cmd;
404 __u8 prli_spp_len;
405 __be16 prli_len;
406
407};
408
409
410
411
412struct fc_els_prlo {
413 __u8 prlo_cmd;
414 __u8 prlo_obs;
415 __be16 prlo_len;
416};
417
418
419
420
421struct fc_els_adisc {
422 __u8 adisc_cmd;
423 __u8 adisc_resv[3];
424 __u8 adisc_resv1;
425 __u8 adisc_hard_addr[3];
426 __be64 adisc_wwpn;
427 __be64 adisc_wwnn;
428 __u8 adisc_resv2;
429 __u8 adisc_port_id[3];
430} __attribute__((__packed__));
431
432
433
434
435struct fc_els_logo {
436 __u8 fl_cmd;
437 __u8 fl_zero[3];
438 __u8 fl_resvd;
439 __u8 fl_n_port_id[3];
440 __be64 fl_n_port_wwn;
441};
442
443
444
445
446struct fc_els_rtv {
447 __u8 rtv_cmd;
448 __u8 rtv_zero[3];
449};
450
451
452
453
454struct fc_els_rtv_acc {
455 __u8 rtv_cmd;
456 __u8 rtv_zero[3];
457 __be32 rtv_r_a_tov;
458 __be32 rtv_e_d_tov;
459 __be32 rtv_toq;
460};
461
462
463
464
465#define FC_ELS_RTV_EDRES (1 << 26)
466#define FC_ELS_RTV_RTTOV (1 << 19)
467
468
469
470
471struct fc_els_scr {
472 __u8 scr_cmd;
473 __u8 scr_resv[6];
474 __u8 scr_reg_func;
475};
476
477enum fc_els_scr_func {
478 ELS_SCRF_FAB = 1,
479 ELS_SCRF_NPORT = 2,
480 ELS_SCRF_FULL = 3,
481 ELS_SCRF_CLEAR = 255,
482};
483
484
485
486
487struct fc_els_rscn {
488 __u8 rscn_cmd;
489 __u8 rscn_page_len;
490 __be16 rscn_plen;
491
492
493};
494
495struct fc_els_rscn_page {
496 __u8 rscn_page_flags;
497 __u8 rscn_fid[3];
498};
499
500#define ELS_RSCN_EV_QUAL_BIT 2
501#define ELS_RSCN_EV_QUAL_MASK 0xf
502#define ELS_RSCN_ADDR_FMT_BIT 0
503#define ELS_RSCN_ADDR_FMT_MASK 0x3
504
505enum fc_els_rscn_ev_qual {
506 ELS_EV_QUAL_NONE = 0,
507 ELS_EV_QUAL_NS_OBJ = 1,
508 ELS_EV_QUAL_PORT_ATTR = 2,
509 ELS_EV_QUAL_SERV_OBJ = 3,
510 ELS_EV_QUAL_SW_CONFIG = 4,
511 ELS_EV_QUAL_REM_OBJ = 5,
512};
513
514enum fc_els_rscn_addr_fmt {
515 ELS_ADDR_FMT_PORT = 0,
516 ELS_ADDR_FMT_AREA = 1,
517 ELS_ADDR_FMT_DOM = 2,
518 ELS_ADDR_FMT_FAB = 3,
519};
520
521
522
523
524struct fc_els_rnid {
525 __u8 rnid_cmd;
526 __u8 rnid_resv[3];
527 __u8 rnid_fmt;
528 __u8 rnid_resv2[3];
529};
530
531
532
533
534enum fc_els_rnid_fmt {
535 ELS_RNIDF_NONE = 0,
536 ELS_RNIDF_GEN = 0xdf,
537};
538
539
540
541
542struct fc_els_rnid_resp {
543 __u8 rnid_cmd;
544 __u8 rnid_resv[3];
545 __u8 rnid_fmt;
546 __u8 rnid_cid_len;
547 __u8 rnid_resv2;
548 __u8 rnid_sid_len;
549};
550
551struct fc_els_rnid_cid {
552 __be64 rnid_wwpn;
553 __be64 rnid_wwnn;
554};
555
556struct fc_els_rnid_gen {
557 __u8 rnid_vend_id[16];
558 __be32 rnid_atype;
559 __be32 rnid_phys_port;
560 __be32 rnid_att_nodes;
561 __u8 rnid_node_mgmt;
562 __u8 rnid_ip_ver;
563 __be16 rnid_prot_port;
564 __be32 rnid_ip_addr[4];
565 __u8 rnid_resvd[2];
566 __be16 rnid_vend_spec;
567};
568
569enum fc_els_rnid_atype {
570 ELS_RNIDA_UNK = 0x01,
571 ELS_RNIDA_OTHER = 0x02,
572 ELS_RNIDA_HUB = 0x03,
573 ELS_RNIDA_SWITCH = 0x04,
574 ELS_RNIDA_GATEWAY = 0x05,
575 ELS_RNIDA_CONV = 0x06,
576 ELS_RNIDA_HBA = 0x07,
577 ELS_RNIDA_PROXY = 0x08,
578 ELS_RNIDA_STORAGE = 0x09,
579 ELS_RNIDA_HOST = 0x0a,
580 ELS_RNIDA_SUBSYS = 0x0b,
581 ELS_RNIDA_ACCESS = 0x0e,
582 ELS_RNIDA_NAS = 0x11,
583 ELS_RNIDA_BRIDGE = 0x12,
584 ELS_RNIDA_VIRT = 0x13,
585 ELS_RNIDA_MF = 0xff,
586 ELS_RNIDA_MF_HUB = 1UL << 31,
587 ELS_RNIDA_MF_SW = 1UL << 30,
588 ELS_RNIDA_MF_GW = 1UL << 29,
589 ELS_RNIDA_MF_ST = 1UL << 28,
590 ELS_RNIDA_MF_HOST = 1UL << 27,
591 ELS_RNIDA_MF_SUB = 1UL << 26,
592 ELS_RNIDA_MF_ACC = 1UL << 25,
593 ELS_RNIDA_MF_WDM = 1UL << 24,
594 ELS_RNIDA_MF_NAS = 1UL << 23,
595 ELS_RNIDA_MF_BR = 1UL << 22,
596 ELS_RNIDA_MF_VIRT = 1UL << 21,
597};
598
599enum fc_els_rnid_mgmt {
600 ELS_RNIDM_SNMP = 0,
601 ELS_RNIDM_TELNET = 1,
602 ELS_RNIDM_HTTP = 2,
603 ELS_RNIDM_HTTPS = 3,
604 ELS_RNIDM_XML = 4,
605};
606
607enum fc_els_rnid_ipver {
608 ELS_RNIDIP_NONE = 0,
609 ELS_RNIDIP_V4 = 1,
610 ELS_RNIDIP_V6 = 2,
611};
612
613
614
615
616struct fc_els_rpl {
617 __u8 rpl_cmd;
618 __u8 rpl_resv[5];
619 __be16 rpl_max_size;
620 __u8 rpl_resv1;
621 __u8 rpl_index[3];
622};
623
624
625
626
627struct fc_els_pnb {
628 __be32 pnb_phys_pn;
629 __u8 pnb_resv;
630 __u8 pnb_port_id[3];
631 __be64 pnb_wwpn;
632};
633
634
635
636
637struct fc_els_rpl_resp {
638 __u8 rpl_cmd;
639 __u8 rpl_resv1;
640 __be16 rpl_plen;
641 __u8 rpl_resv2;
642 __u8 rpl_llen[3];
643 __u8 rpl_resv3;
644 __u8 rpl_index[3];
645 struct fc_els_pnb rpl_pnb[1];
646};
647
648
649
650
651struct fc_els_lesb {
652 __be32 lesb_link_fail;
653 __be32 lesb_sync_loss;
654 __be32 lesb_sig_loss;
655 __be32 lesb_prim_err;
656 __be32 lesb_inv_word;
657 __be32 lesb_inv_crc;
658};
659
660
661
662
663struct fc_els_rps {
664 __u8 rps_cmd;
665 __u8 rps_resv[2];
666 __u8 rps_flag;
667 __be64 rps_port_spec;
668};
669
670enum fc_els_rps_flag {
671 FC_ELS_RPS_DID = 0x00,
672 FC_ELS_RPS_PPN = 0x01,
673 FC_ELS_RPS_WWPN = 0x02,
674};
675
676
677
678
679struct fc_els_rps_resp {
680 __u8 rps_cmd;
681 __u8 rps_resv[2];
682 __u8 rps_flag;
683 __u8 rps_resv2[2];
684 __be16 rps_status;
685 struct fc_els_lesb rps_lesb;
686};
687
688enum fc_els_rps_resp_flag {
689 FC_ELS_RPS_LPEV = 0x01,
690};
691
692enum fc_els_rps_resp_status {
693 FC_ELS_RPS_PTP = 1 << 5,
694 FC_ELS_RPS_LOOP = 1 << 4,
695 FC_ELS_RPS_FAB = 1 << 3,
696 FC_ELS_RPS_NO_SIG = 1 << 2,
697 FC_ELS_RPS_NO_SYNC = 1 << 1,
698 FC_ELS_RPS_RESET = 1 << 0,
699};
700
701
702
703
704struct fc_els_lirr {
705 __u8 lirr_cmd;
706 __u8 lirr_resv[3];
707 __u8 lirr_func;
708 __u8 lirr_fmt;
709 __u8 lirr_resv2[2];
710};
711
712enum fc_els_lirr_func {
713 ELS_LIRR_SET_COND = 0x01,
714 ELS_LIRR_SET_UNCOND = 0x02,
715 ELS_LIRR_CLEAR = 0xff
716};
717
718
719
720
721struct fc_els_srl {
722 __u8 srl_cmd;
723 __u8 srl_resv[3];
724 __u8 srl_flag;
725 __u8 srl_flag_param[3];
726};
727
728enum fc_els_srl_flag {
729 FC_ELS_SRL_ALL = 0x00,
730 FC_ELS_SRL_ONE = 0x01,
731 FC_ELS_SRL_EN_PER = 0x02,
732 FC_ELS_SRL_DIS_PER = 0x03,
733};
734
735
736
737
738struct fc_els_rls {
739 __u8 rls_cmd;
740 __u8 rls_resv[4];
741 __u8 rls_port_id[3];
742};
743
744
745
746
747struct fc_els_rls_resp {
748 __u8 rls_cmd;
749 __u8 rls_resv[3];
750 struct fc_els_lesb rls_lesb;
751};
752
753
754
755
756
757struct fc_els_rlir {
758 __u8 rlir_cmd;
759 __u8 rlir_resv[3];
760 __u8 rlir_fmt;
761 __u8 rlir_clr_len;
762 __u8 rlir_cld_len;
763 __u8 rlir_slr_len;
764};
765
766
767
768
769struct fc_els_clir {
770 __be64 clir_wwpn;
771 __be64 clir_wwnn;
772 __u8 clir_port_type;
773 __u8 clir_port_id[3];
774
775 __be64 clir_conn_wwpn;
776 __be64 clir_conn_wwnn;
777 __be64 clir_fab_name;
778 __be32 clir_phys_port;
779 __be32 clir_trans_id;
780 __u8 clir_resv[3];
781 __u8 clir_ts_fmt;
782 __be64 clir_timestamp;
783};
784
785
786
787
788enum fc_els_clir_ts_fmt {
789 ELS_CLIR_TS_UNKNOWN = 0,
790 ELS_CLIR_TS_SEC_FRAC = 1,
791 ELS_CLIR_TS_CSU = 2,
792};
793
794
795
796
797struct fc_els_clid {
798 __u8 clid_iq;
799 __u8 clid_ic;
800 __be16 clid_epai;
801};
802
803
804
805
806enum fc_els_clid_iq {
807 ELS_CLID_SWITCH = 0x20,
808 ELS_CLID_E_PORT = 0x10,
809 ELS_CLID_SEV_MASK = 0x0c,
810 ELS_CLID_SEV_INFO = 0x00,
811 ELS_CLID_SEV_INOP = 0x08,
812 ELS_CLID_SEV_DEG = 0x04,
813 ELS_CLID_LASER = 0x02,
814 ELS_CLID_FRU = 0x01,
815};
816
817
818
819
820enum fc_els_clid_ic {
821 ELS_CLID_IC_IMPL = 1,
822 ELS_CLID_IC_BER = 2,
823 ELS_CLID_IC_LOS = 3,
824 ELS_CLID_IC_NOS = 4,
825 ELS_CLID_IC_PST = 5,
826 ELS_CLID_IC_INVAL = 6,
827 ELS_CLID_IC_LOOP_TO = 7,
828 ELS_CLID_IC_LIP = 8,
829};
830
831#endif
832