iPXE
CIB_PRM.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013-2015 Mellanox Technologies Ltd.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * License, or any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  * 02110-1301, USA.
18  */
19 
20 FILE_LICENCE ( GPL2_OR_LATER );
21 
22 #ifndef __CIB_PRM__
23 #define __CIB_PRM__
24 
25 typedef unsigned long long __be64;
26 typedef uint32_t __be32;
27 typedef uint16_t __be16;
28 
29 #define GOLAN_CMD_DATA_BLOCK_SIZE (1 << 9)
30 #define GOLAN_CMD_PAS_CNT (GOLAN_CMD_DATA_BLOCK_SIZE / sizeof(__be64))
31 #define MAILBOX_STRIDE (1 << 10)
32 #define MAILBOX_MASK (MAILBOX_STRIDE - 1)
33 
34 #define GOLAN_PCI_CMD_XPORT 7
35 #define CMD_OWNER_HW 0x1
36 #define GOLAN_LOG_MAX_QP 0x1
37 #define IB_NUM_PKEYS 0x20
38 
39 struct health_buffer {
51 } __attribute ( ( packed ) );
52 
60  __be32 rsvd1[121];
62  __be32 rsvd2[884];
64  __be32 rsvd3[1023];
68 } __attribute ( ( packed ) );
69 
74 };
75 
80 };
81 
82 enum {
83  GOLAN_REG_PCAP = 0x5001,
84  GOLAN_REG_PMTU = 0x5003,
85  GOLAN_REG_PTYS = 0x5004,
86  GOLAN_REG_PAOS = 0x5006,
87  GOLAN_REG_PMAOS = 0x5012,
88  GOLAN_REG_PUDE = 0x5009,
89  GOLAN_REG_PMPE = 0x5010,
90  GOLAN_REG_PELC = 0x500e,
91  GOLAN_REG_PMLP = 0, /* TBD */
94 };
95 
96 enum {
103 
107 
112 
116 
121 
143 
149 
155 
159 
164 
167 
168 
171 
173 };
174 
177  u8 rsvd[4];
179 } __attribute ( ( packed ) );
180 
183  u8 rsvd0[3];
185  union {
188  };
189  __be32 in[4];
191  union {
194  };
199  volatile u8 status_own;
200 } __attribute ( ( packed ) );
201 
204  u8 rsvd[3];
206 } __attribute ( ( packed ) );
207 
208 enum {
225 };
226 
227 
229  u8 rsvd1[16];
235  u8 rsvd4[2];
256  u8 rsvd11[4];
264  u8 rsvd15[3];
266  u8 rsvd16[2];
273  u8 rsvd19[4];
275  u8 rsvd20[2];
277  u8 rsvd21[2];
279  u8 rsvd22[4];
287  u8 rsvd26[40];
289  u8 rsvd27[28];
291  u8 rsvd28[2];
293  u8 rsvd29[76];
294 } __attribute ( ( packed ) );
295 
298  u8 rsvd[8];
299 } __attribute ( ( packed ) );
300 
303  u8 rsvd[2];
306 } __attribute ( ( packed ) );
307 
310  u8 rsvd[8];
311 } __attribute ( ( packed ) );
312 
315  u8 rsvd0[8];
317 } __attribute ( ( packed ) );
318 
321  u8 rsvd[8];
323 } __attribute ( ( packed ) );
324 
327  u8 rsvd0[8];
328 } __attribute ( ( packed ) );
329 
332  u8 rsvd0[2];
334  u8 rsvd1[4];
335 } __attribute ( ( packed ) );
336 
339  u8 rsvd[8];
340 } __attribute ( ( packed ) );
341 
345 };
346 
349  u8 rsvd0[2];
351  u8 rsvd1[4];
352 } __attribute ( ( packed ) );
353 
356  u8 rsvd[8];
357 } __attribute ( ( packed ) );
358 
361  u8 rsvd[8];
362 } __attribute ( ( packed ) );
363 
366  u8 rsvd[8];
367 } __attribute ( ( packed ) );
368 
371  u8 rsvd[8];
372 } __attribute ( ( packed ) );
373 
376  u8 rsvd[8];
377 } __attribute ( ( packed ) );
378 
380  u8 rsvd2[16];
382 } __attribute ( ( packed ) );
383 
390 } __attribute ( ( packed ) );
391 
394 } __attribute ( ( packed ) );
395 
401 } __attribute ( ( packed ) );
402 
405  u8 rsvd[15];
406 } __attribute ( ( packed ) );
407 
409  union {
412  };
413  u8 rsvd0[48];
420 } __attribute ( ( packed ) );
421 
422 /* MAD IFC structures */
423 #define GOLAN_MAD_SIZE 256
424 #define GOLAN_MAD_IFC_NO_VALIDATION 0x3
425 #define GOLAN_MAD_IFC_RLID_BIT 16
426 
432  u8 rsvd1[4];
434 } __attribute ( ( packed ) );
435 
438  u8 rsvd[8];
440 } __attribute ( ( packed ) );
441 
442 /* UAR Structures */
445  u8 rsvd[8];
446 } __attribute ( ( packed ) );
447 
451  u8 rsvd[4];
452 } __attribute ( ( packed ) );
453 
457  u8 rsvd[4];
458 } __attribute ( ( packed ) );
459 
462  u8 rsvd[8];
463 } __attribute ( ( packed ) );
464 
465 /* Event Queue Structures */
466 enum {
470 };
471 
472 
477  u8 rsvd2[7];
480  u8 rsvd3[7];
483  u8 rsvd4[15];
486  u8 rsvd5[16];
487 } __attribute ( ( packed ) );
488 
491  u8 rsvd2[8];
493  u8 rsvd3[176];
495 } __attribute ( ( packed ) );
496 
499  u8 rsvd0[3];
501  u8 rsvd1[4];
503 } __attribute ( ( packed ) );
504 
507  u8 rsvd0[3];
509  u8 rsvd1[4];
510 } __attribute ( ( packed ) );
511 
514  u8 rsvd0[3];
516  u8 rsvd1[4];
517 } __attribute ( ( packed ) );
518 
521  u8 rsvd[8];
522 } __attribute ( ( packed ) );
523 
524 /***********************************************/
525 /************** Query Vport ****************/
533  u8 rsvd[4];
534 } __attribute ( ( packed ) );
535 
539  //****
544  __be16 rsvd2 : 12;
549  //****
550  u8 rsvd3[4];
551  //****
553  //****
555  //****
557  //****
562  u8 rsvd4[16];
564  u8 rsvd5 : 4;
566  u8 lmc : 3;
569  u8 sm_sl : 4;
570  u8 rsvd6 : 4;
574  u8 rsvd8[100];
575 } __attribute ( ( packed ) );
576 
579  u8 rsvd[8];
581 } __attribute ( ( packed ) );
582 
586  u8 rsvd1 : 7;
588  u8 rsvd2 : 4;
592 } __attribute ( ( packed ) );
593 
596  u8 rsvd0[4];
598  u8 rsvd1[2];
600 } __attribute ( ( packed ) );
601 
605  u8 rsvd1 : 7;
607  u8 rsvd2 : 4;
611 } __attribute ( ( packed ) );
612 
616 } __attribute ( ( packed ) );
617 
620  u8 rsvd[8];
622 } __attribute ( ( packed ) );
623 
627 } __attribute ( ( packed ) );
628 
632 } __attribute ( ( packed ) );
633 
638 } __attribute ( ( packed ) );
639 
641 };
642 
646 } __attribute ( ( packed ) );
647 
651 } __attribute ( ( packed ) );
652 
657 } __attribute ( ( packed ) );
658 
660  u8 rsvd0[3];
662 } __attribute ( ( packed ) );
663 
667 } __attribute ( ( packed ) );
668 
670  u8 rsvd0[2];
672  u8 rsvd1[2];
675 } __attribute ( ( packed ) );
676 
677 union ev_data {
689 } __attribute__ ((packed));
690 
691 struct golan_eqe {
697  union ev_data data;
701 } __attribute__ ((packed));
702 
703 /* Protection Domain Structures */
706  u8 rsvd[8];
707 } __attribute ( ( packed ) );
708 
712  u8 rsvd[4];
713 } __attribute ( ( packed ) );
714 
718  u8 rsvd[4];
719 } __attribute ( ( packed ) );
720 
723  u8 rsvd[8];
724 } __attribute ( ( packed ) );
725 
726 /* Memory key structures */
727 #define GOLAN_IB_ACCESS_LOCAL_READ (1 << 2)
728 #define GOLAN_IB_ACCESS_LOCAL_WRITE (1 << 3)
729 #define GOLAN_MKEY_LEN64 (1 << 31)
730 #define GOLAN_CREATE_MKEY_SEG_QPN_BIT 8
731 
733  /*
734  * This is a two bit field occupying bits 31-30.
735  * bit 31 is always 0,
736  * bit 30 is zero for regular MRs and 1 (e.g free) for UMRs that do not have tanslation
737  */
743  u8 rsvd1[4];
748  u8 rsvd2[16];
750  u8 rsvd3[3];
752  u8 rsvd4[4];
753 } __attribute ( ( packed ) );
754 
757  u8 rsvd1[16];
760  u8 rsvd2[168];
762 } __attribute ( ( packed ) );
763 
767  u8 rsvd0[4];
769 } __attribute ( ( packed ) );
770 
774  u8 rsvd[4];
775 } __attribute ( ( packed ) );
776 
780  u8 rsvd[4];
781 } __attribute ( ( packed ) );
782 
785  u8 rsvd[8];
786 } __attribute ( ( packed ) );
787 
788 /* Completion Queue Structures */
789 enum {
793 };
794 
795 enum {
801  GOLAN_CQE_RESIZE_CQ = 0xff, /* TBD */
804 };
805 
811  u8 rsvd4[6];
819  u8 rsvd25[7];
824  u8 rsvd48[8];
826 } __attribute ( ( packed ) );
827 
828 
831  u8 rsvd6[192];
833 } __attribute ( ( packed ) );
834 
838  u8 rsvdx[4];
840 } __attribute ( ( packed ) );
841 
845  u8 rsvd0[4];
846 } __attribute ( ( packed ) );
847 
851  u8 rsvd0[4];
852 } __attribute ( ( packed ) );
853 
856  u8 rsvd0[8];
857 } __attribute ( ( packed ) );
858 
860  u8 rsvd0[32];
862  u8 rsvd1[16];
871 } __attribute ( ( packed ) );
872 
873 struct golan_cqe64 {
874  u8 rsvd0[17];
876  u8 rsvd20[4];
879  u8 rsvd28[4];
882  u8 rsvd40[4];
889 } __attribute ( ( packed ) );
890 
891 /* Queue Pair Structures */
892 #define GOLAN_QP_CTX_ST_BIT 16
893 #define GOLAN_QP_CTX_PM_STATE_BIT 11
894 #define GOLAN_QP_CTX_FRE_BIT 11
895 #define GOLAN_QP_CTX_RLKY_BIT 4
896 #define GOLAN_QP_CTX_RQ_SIZE_BIT 3
897 #define GOLAN_QP_CTX_SQ_SIZE_BIT 11
898 #define GOLAN_QP_CTX_MTU_BIT 5
899 #define GOLAN_QP_CTX_ACK_REQ_FREQ_BIT 28
900 
901 enum {
904 };
905 
906 enum {
908 };
909 
930 };
931 
932 #define GOLAN_QP_PARAMS_INIT2RTR_MASK (GOLAN_QP_PARAM_PKEY_INDEX |\
933  GOLAN_QP_PARAM_Q_KEY |\
934  GOLAN_QP_PARAM_RWE |\
935  GOLAN_QP_PARAM_RRE)
936 
937 #define GOLAN_QP_PARAMS_RTR2RTS_MASK (GOLAN_QP_PARAM_PM_STATE |\
938  GOLAN_QP_PARAM_RNR_TIMEOUT |\
939  GOLAN_QP_PARAM_Q_KEY |\
940  GOLAN_QP_PARAM_RWE |\
941  GOLAN_QP_PARAM_RRE)
942 
943 
944 enum {
960 };
961 
962 enum {
966 };
967 
968 enum {
971 };
972 
973 
974 struct golan_qp_db {
975  u8 rsvd0[2];
977  u8 rsvd1[2];
979 } __attribute ( ( packed ) );
980 
981 enum {
982  GOLAN_WQE_CTRL_CQ_UPDATE = 2 << 2, /*Wissam, wtf?*/
984 };
985 
990  u8 rsvd[2];
993 } __attribute ( ( packed ) );
994 
995 struct golan_av {
996  union {
997  struct {
1000  } qkey;
1002  } key;
1011  u8 rgid[16];
1012 } __attribute ( ( packed ) );
1013 
1018 } __attribute ( ( packed ) );
1019 
1021  u8 rsvd0[4];
1023  u8 rsvd1[11];
1024 } __attribute ( ( packed ) );
1025 
1028 } __attribute ( ( packed ) );
1029 
1043  u8 rgid[16];
1044  u8 rsvd1[4];
1047  u8 rsvd2[6];
1048 } __attribute ( ( packed ) );
1049 
1082  u8 rsvd0[5];
1087  u8 rsvd1[24];
1088 } __attribute ( ( packed ) );
1089 
1092  u8 rsvd1[4];
1094  u8 rsvd3[16];
1096 } __attribute ( ( packed ) );
1097 
1101  u8 rsvd0[4];
1103 } __attribute ( ( packed ) );
1104 
1108  u8 rsvd0[4];
1109 } __attribute ( ( packed ) );
1110 
1114  u8 rsvd0[4];
1115 } __attribute ( ( packed ) );
1116 
1119  u8 rsvd0[8];
1120 } __attribute ( ( packed ) );
1121 
1124  u8 rsvd0[4];
1126 } __attribute ( ( packed ) );
1127 
1131  u8 rsvd1[4];
1133 } __attribute ( ( packed ) );
1134 
1137  u8 rsvd0[8];
1138 } __attribute ( ( packed ) );
1139 
1144  u8 gid[16];
1145 } __attribute ( ( packed ) );
1146 
1149  u8 rsvf[8];
1150 } __attribute ( ( packed ) );
1151 
1156  u8 gid[16];
1157 } __attribute ( ( packed ) );
1158 
1161  u8 rsvf[8];
1162 } __attribute ( ( packed ) );
1163 
1164 
1165 #define MAILBOX_SIZE sizeof(struct golan_cmd_prot_block)
1166 
1167 #endif /* __CIB_PRM__ */
__be32 consumer_counter
Definition: CIB_PRM.h:822
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:302
__be32 rnr_nextrecvpsn
Definition: CIB_PRM.h:1069
__be64 gpio_event
Definition: CIB_PRM.h:650
__be32 s_wqe_opcode_qpn
Definition: CIB_PRM.h:867
unsigned short uint16_t
Definition: stdint.h:11
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:778
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:498
__be64 db_rec_addr
Definition: CIB_PRM.h:1072
__be32 raw[7]
Definition: CIB_PRM.h:678
u8 bdata[GOLAN_CMD_DATA_BLOCK_SIZE]
Definition: CIB_PRM.h:411
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:455
__be32 last_acked_psn
Definition: CIB_PRM.h:1066
__be16 sw_rcyclic_byte_counter
Definition: CIB_PRM.h:1080
u8 rsvd22[4]
Definition: CIB_PRM.h:279
__be16 max_wqe_sz_rq
Definition: CIB_PRM.h:276
__be32 cmdq_addr_h
Definition: CIB_PRM.h:57
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:365
u8 log_max_srqs
Definition: CIB_PRM.h:234
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:444
u8 rsvd0
Definition: CIB_PRM.h:692
__be16 max_qp_count
Definition: CIB_PRM.h:257
__be32 flags_pd
Definition: CIB_PRM.h:1052
u8 owner
Definition: CIB_PRM.h:700
__be32 reserved[6]
Definition: CIB_PRM.h:625
u8 log_max_xrcd
Definition: CIB_PRM.h:286
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:1136
__be64 out_ptr
Definition: CIB_PRM.h:192
#define GOLAN_CMD_DATA_BLOCK_SIZE
Definition: CIB_PRM.h:29
u8 rsvd3[3]
Definition: CIB_PRM.h:750
__be32 imm_inval_pkey
Definition: CIB_PRM.h:881
__be32 params2
Definition: CIB_PRM.h:1068
struct golan_eqe_dropped_packet dp
Definition: CIB_PRM.h:683
u8 log_max_cq_sz
Definition: CIB_PRM.h:237
u8 reserved1[7]
Definition: CIB_PRM.h:636
u8 local_ca_ack_delay
Definition: CIB_PRM.h:260
__be16 sw_rq_counter
Definition: CIB_PRM.h:1081
__be32 log_sz_usr_page
Definition: CIB_PRM.h:813
__be16 send_db
Definition: CIB_PRM.h:978
u8 log_max_klm_list_sz
Definition: CIB_PRM.h:247
__be16 hw_rq_counter
Definition: CIB_PRM.h:1079
__be32 out_ptr32[2]
Definition: CIB_PRM.h:193
u8 mad[GOLAN_MAD_SIZE]
Definition: CIB_PRM.h:439
u8 log_max_eq_sz
Definition: CIB_PRM.h:240
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:716
struct golan_manage_pages_outbox_data data
Definition: CIB_PRM.h:400
u8 rsvd4[15]
Definition: CIB_PRM.h:483
__be32 rsvd2[7]
Definition: CIB_PRM.h:696
__be16 opmod
Definition: CIB_PRM.h:178
__be16 slid
Definition: CIB_PRM.h:877
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:784
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:772
u8 log_msx_atomic_size_qp
Definition: CIB_PRM.h:290
u8 rsvd1[4]
Definition: CIB_PRM.h:743
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:513
__be64 ieee1588_clk
Definition: CIB_PRM.h:65
__be32 opmod_idx_opcode
Definition: CIB_PRM.h:987
__be32 rq_type_srqn
Definition: CIB_PRM.h:1074
__be32 last_notified_index
Definition: CIB_PRM.h:820
u8 irisc_index
Definition: CIB_PRM.h:48
__be32 params1
Definition: CIB_PRM.h:1061
u8 log2_page_size
Definition: CIB_PRM.h:751
__be32 flags_pd
Definition: CIB_PRM.h:744
struct golan_eqe_stall_vl stall_vl
Definition: CIB_PRM.h:687
struct golan_manage_pages_inbox_data data
Definition: CIB_PRM.h:389
golan_qry_pages_mode
Definition: CIB_PRM.h:76
__be16 max_wqe_sz_sq
Definition: CIB_PRM.h:274
__be32 hw_id
Definition: CIB_PRM.h:46
__be64 len
Definition: CIB_PRM.h:746
u8 rsvd20[4]
Definition: CIB_PRM.h:876
golan_qp_optpar
Definition: CIB_PRM.h:910
u8 reserved0[10]
Definition: CIB_PRM.h:1007
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:1118
__be64 dc_access_key
Definition: CIB_PRM.h:1086
__be32 bsfs_octo_size
Definition: CIB_PRM.h:747
__be32 outlen
Definition: CIB_PRM.h:195
u8 max_indirection
Definition: CIB_PRM.h:244
__be32 ieee1588_clk_type
Definition: CIB_PRM.h:66
struct golan_create_cq_mbox_in_data data
Definition: CIB_PRM.h:839
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:855
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:578
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:437
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:1106
__be16 wqe_counter
Definition: CIB_PRM.h:886
u8 log_max_mkey
Definition: CIB_PRM.h:241
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:710
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:355
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:1099
__be32 cqn
Definition: CIB_PRM.h:626
__be64 dc_key
Definition: CIB_PRM.h:1001
unsigned long long __be64
Definition: CIB_PRM.h:25
__be32 fw_ver
Definition: CIB_PRM.h:45
u8 rsvd1[4]
Definition: CIB_PRM.h:1044
struct golan_qp_context ctx
Definition: CIB_PRM.h:1093
struct golan_eq_context ctx
Definition: CIB_PRM.h:490
u8 rsvd28[2]
Definition: CIB_PRM.h:291
u8 rsvd29[76]
Definition: CIB_PRM.h:293
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:584
u8 rsvd28[4]
Definition: CIB_PRM.h:879
u8 rsvd40[4]
Definition: CIB_PRM.h:882
u8 log_max_strq_sz
Definition: CIB_PRM.h:233
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:297
__be64 db_record_addr
Definition: CIB_PRM.h:825
__be16 hw_sq_wqe_counter
Definition: CIB_PRM.h:1076
u8 fl_mlid
Definition: CIB_PRM.h:1005
struct golan_hca_cap hca_cap
Definition: CIB_PRM.h:322
struct golan_eqe_comp comp
Definition: CIB_PRM.h:680
__be32 flags_rqpn
Definition: CIB_PRM.h:878
u8 rsvd0[32]
Definition: CIB_PRM.h:860
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:1148
union ev_data __attribute__((packed))
__be16 pkey_table_size
Definition: CIB_PRM.h:258
__be32 rsvd2[884]
Definition: CIB_PRM.h:62
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:765
__be32 syndrome
Definition: CIB_PRM.h:205
__be16 num_pages
Definition: CIB_PRM.h:673
struct golan_query_hca_vport_context_data context_data
Definition: CIB_PRM.h:580
u8 vendor_err_synd
Definition: CIB_PRM.h:865
__be32 in_ptr32[2]
Definition: CIB_PRM.h:187
struct golan_hca_cap hca_cap
Definition: CIB_PRM.h:316
u8 rsvd4[4]
Definition: CIB_PRM.h:752
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:370
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:1129
__be16 rsvd3
Definition: CIB_PRM.h:698
struct golan_create_eq_mbox_in_data data
Definition: CIB_PRM.h:502
__be64 timestamp
Definition: CIB_PRM.h:884
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:1160
__be32 qkey
Definition: CIB_PRM.h:998
struct golan_qp_context ctx
Definition: CIB_PRM.h:1125
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:836
__be32 sop_drop_qpn
Definition: CIB_PRM.h:885
struct golan_qp_path pri_path
Definition: CIB_PRM.h:1059
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:1141
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:843
__be32 rsvd1[2]
Definition: CIB_PRM.h:44
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:595
__be32 produser_counter
Definition: CIB_PRM.h:485
u8 rsvd1[16]
Definition: CIB_PRM.h:862
__be32 next_send_psn
Definition: CIB_PRM.h:1063
golan_teardown
Definition: CIB_PRM.h:342
__be64 data[GOLAN_CMD_PAS_CNT]
Definition: CIB_PRM.h:410
__be32 srqn
Definition: CIB_PRM.h:880
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:506
__be32 cmd_dbell
Definition: CIB_PRM.h:59
u8 rsvd19[4]
Definition: CIB_PRM.h:273
u8 rsvd21[2]
Definition: CIB_PRM.h:277
struct golan_eqe_cq_err cq_err
Definition: CIB_PRM.h:682
__be16 recv_db
Definition: CIB_PRM.h:976
__be32 qp_counter_set_usr_page
Definition: CIB_PRM.h:1056
u8 sub_type
Definition: CIB_PRM.h:695
__be16 sq_crq_size
Definition: CIB_PRM.h:1055
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:360
struct golan_eqe_qp_srq qp_srq
Definition: CIB_PRM.h:681
__be32 reserved0[2]
Definition: CIB_PRM.h:649
u8 log_max_ra_req_qp
Definition: CIB_PRM.h:253
u8 rsvd1[16]
Definition: CIB_PRM.h:229
u8 type
Definition: CIB_PRM.h:693
enum golan_manage_pages_mode __attribute
__be16 cq_period
Definition: CIB_PRM.h:814
u8 signature
Definition: CIB_PRM.h:699
__be16 max_qp_mcg
Definition: CIB_PRM.h:280
u8 log_msx_atomic_size_dc
Definition: CIB_PRM.h:292
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:705
u8 hop_limit
Definition: CIB_PRM.h:1009
__be32 rsvd2
Definition: CIB_PRM.h:47
u8 log_max_mrw_sz
Definition: CIB_PRM.h:245
u8 rsvd1
Definition: CIB_PRM.h:694
__be32 xlt_oct_size
Definition: CIB_PRM.h:749
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:1112
__be32 out[4]
Definition: CIB_PRM.h:190
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:314
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:527
union ev_data data
Definition: CIB_PRM.h:697
__be32 rsvd0[2]
Definition: CIB_PRM.h:56
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:1153
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:603
struct golan_create_mkey_mbox_in_data data
Definition: CIB_PRM.h:768
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:849
__be16 stat_rate_support
Definition: CIB_PRM.h:265
struct golan_cq_context ctx
Definition: CIB_PRM.h:830
FILE_LICENCE(GPL2_OR_LATER)
__be16 ext_sync
Definition: CIB_PRM.h:50
__be32 health_counter
Definition: CIB_PRM.h:63
struct golan_eqe_gpio gpio
Definition: CIB_PRM.h:685
__be32 in[4]
Definition: CIB_PRM.h:189
__be32 rsvd2[5]
Definition: CIB_PRM.h:674
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:722
unsigned int uint32_t
Definition: stdint.h:12
__be32 grh_gid_fl
Definition: CIB_PRM.h:1010
__be32 inlen
Definition: CIB_PRM.h:184
struct golan_eqe_port_state port
Definition: CIB_PRM.h:684
__be32 clr_intx
Definition: CIB_PRM.h:67
u8 rsvd15[3]
Definition: CIB_PRM.h:264
__be16 opcode
Definition: CIB_PRM.h:176
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:619
__be32 cmdq_addr_l_sz
Definition: CIB_PRM.h:58
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:320
__be32 log_pg_sz_remote_qpn
Definition: CIB_PRM.h:1058
u8 rgid[16]
Definition: CIB_PRM.h:1011
__be32 rsvd0[3]
Definition: CIB_PRM.h:41
__be32 solicit_producer_index
Definition: CIB_PRM.h:821
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:338
u8 rsvd2[16]
Definition: CIB_PRM.h:748
u8 rsvd0[17]
Definition: CIB_PRM.h:874
__be32 tclass_flowlabel
Definition: CIB_PRM.h:1042
__be16 rsvd20
Definition: CIB_PRM.h:816
__be32 rsvd[6]
Definition: CIB_PRM.h:666
u8 rsvd27[28]
Definition: CIB_PRM.h:289
__be16 log_max_qp
Definition: CIB_PRM.h:232
u8 log_max_srq_sz
Definition: CIB_PRM.h:230
__be32 reserved
Definition: CIB_PRM.h:999
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:331
__be32 dqp_dct
Definition: CIB_PRM.h:1003
__be64 flags
Definition: CIB_PRM.h:267
struct golan_create_qp_mbox_in_data data
Definition: CIB_PRM.h:1102
uint32_t __be32
Definition: CIB_PRM.h:26
__be32 cmdif_rev_fw_sub
Definition: CIB_PRM.h:55
u8 rsvd4[2]
Definition: CIB_PRM.h:235
__be16 max_wqe_sz_sq_dc
Definition: CIB_PRM.h:278
u8 rsvd11[4]
Definition: CIB_PRM.h:256
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:309
u8 rsvd26[40]
Definition: CIB_PRM.h:287
__be32 producer_counter
Definition: CIB_PRM.h:823
u8 log_max_qp_sz
Definition: CIB_PRM.h:231
__be16 sw_sq_wqe_counter
Definition: CIB_PRM.h:1077
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:375
__be16 cq_max_count
Definition: CIB_PRM.h:815
struct golan_mkey_seg seg
Definition: CIB_PRM.h:756
u8 log_max_ra_req_dc
Definition: CIB_PRM.h:249
u8 mad[GOLAN_MAD_SIZE]
Definition: CIB_PRM.h:433
struct golan_query_hca_vport_pkey_data * pkey_data
Definition: CIB_PRM.h:621
__be64 in_ptr
Definition: CIB_PRM.h:186
u8 log_max_bsf_list_sz
Definition: CIB_PRM.h:246
u8 rsvd2[6]
Definition: CIB_PRM.h:1047
#define GOLAN_CMD_PAS_CNT
Definition: CIB_PRM.h:30
__be32 assert_var[5]
Definition: CIB_PRM.h:40
u8 rgid[16]
Definition: CIB_PRM.h:1043
__be32 consumer_counter
Definition: CIB_PRM.h:484
u8 rsvd16[2]
Definition: CIB_PRM.h:266
u8 rsvd1[2]
Definition: CIB_PRM.h:977
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:326
__be32 cqn_recv
Definition: CIB_PRM.h:1071
golan_manage_pages_mode
Definition: CIB_PRM.h:70
struct golan_eqe_cmd cmd
Definition: CIB_PRM.h:679
__be16 rlid
Definition: CIB_PRM.h:1006
__be16 page_pffset
Definition: CIB_PRM.h:478
u8 log_max_mcg
Definition: CIB_PRM.h:282
__be32 cqn_send
Definition: CIB_PRM.h:1064
__be16 hw_rcyclic_byte_counter
Definition: CIB_PRM.h:1078
__be32 srqn
Definition: CIB_PRM.h:861
__be32 uar_page_sz
Definition: CIB_PRM.h:288
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:428
union golan_av::@373 key
__be32 reserved[6]
Definition: CIB_PRM.h:630
u8 stat_rate_sl
Definition: CIB_PRM.h:1004
struct golan_qp_path alt_path
Definition: CIB_PRM.h:1060
u8 rsvd20[2]
Definition: CIB_PRM.h:275
__be16 bf_log_bf_reg_size
Definition: CIB_PRM.h:272
u8 signature
Definition: CIB_PRM.h:887
__be32 byte_cnt
Definition: CIB_PRM.h:883
__be32 assert_exit_ptr
Definition: CIB_PRM.h:42
struct health_buffer health
Definition: CIB_PRM.h:61
__be32 wire_qpn
Definition: CIB_PRM.h:1057
u8 log_max_msg
Definition: CIB_PRM.h:263
__be64 start_addr
Definition: CIB_PRM.h:745
u8 rsvd0[2]
Definition: CIB_PRM.h:975
__be16 rlid
Definition: CIB_PRM.h:1037
__be32 log_sz_usr_page
Definition: CIB_PRM.h:479
u8 rsvd5[16]
Definition: CIB_PRM.h:486
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:397
struct golan_eqe_congestion cong
Definition: CIB_PRM.h:686
__be32 rsvd1[121]
Definition: CIB_PRM.h:60
__be16 c_eqn
Definition: CIB_PRM.h:817
struct golan_eqe_page_req req_pages
Definition: CIB_PRM.h:688
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:348
u8 ml_path
Definition: CIB_PRM.h:875
__be16 wqe_counter
Definition: CIB_PRM.h:868
__be32 qpn_mkey7_0
Definition: CIB_PRM.h:742
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:520
u8 tclass
Definition: CIB_PRM.h:1008
struct golan_modify_qp_mbox_in_data data
Definition: CIB_PRM.h:1132
__be16 page_offset
Definition: CIB_PRM.h:812
uint8_t u8
Definition: stdint.h:19
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:461
#define GOLAN_MAD_SIZE
Definition: CIB_PRM.h:423
u8 log_max_ra_res_qp
Definition: CIB_PRM.h:255
struct golan_inbox_hdr hdr
Definition: CIB_PRM.h:385
__be32 qp_srq_n
Definition: CIB_PRM.h:631
__be32 vector
Definition: CIB_PRM.h:665
struct golan_outbox_hdr hdr
Definition: CIB_PRM.h:449
uint16_t __be16
Definition: CIB_PRM.h:27
__be32 assert_callra
Definition: CIB_PRM.h:43
volatile u8 status_own
Definition: CIB_PRM.h:199
u8 log_max_ra_res_dc
Definition: CIB_PRM.h:251
__be32 rsvd3[1023]
Definition: CIB_PRM.h:64