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) 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 423 #define GOLAN_MAD_SIZE 256 424 #define GOLAN_MAD_IFC_NO_VALIDATION 0x3 425 #define GOLAN_MAD_IFC_RLID_BIT 16 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 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 932 #define GOLAN_QP_PARAMS_INIT2RTR_MASK (GOLAN_QP_PARAM_PKEY_INDEX |\ 933 GOLAN_QP_PARAM_Q_KEY |\ 934 GOLAN_QP_PARAM_RWE |\ 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 |\ 1165 #define MAILBOX_SIZE sizeof(struct golan_cmd_prot_block)
__be32 cap_mask1_field_select
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
__be16 pkey_violation_counter
struct golan_inbox_hdr hdr
enum golan_manage_pages_mode __attribute
u8 bdata[GOLAN_CMD_DATA_BLOCK_SIZE]
struct golan_inbox_hdr hdr
__be16 sw_rcyclic_byte_counter
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_outbox_hdr hdr
#define GOLAN_CMD_DATA_BLOCK_SIZE
struct golan_eqe_dropped_packet dp
struct golan_inbox_hdr hdr
struct golan_manage_pages_outbox_data data
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
u8 log_msx_atomic_size_qp
struct golan_inbox_hdr hdr
__be32 last_notified_index
struct golan_eqe_stall_vl stall_vl
__be32 cap_mask2_field_select
struct golan_manage_pages_inbox_data data
struct golan_outbox_hdr hdr
struct golan_create_cq_mbox_in_data data
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
unsigned long long __be64
struct golan_qp_context ctx
struct golan_eq_context ctx
struct golan_inbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_hca_cap hca_cap
struct golan_eqe_comp comp
struct golan_outbox_hdr hdr
union ev_data __attribute__((packed))
struct golan_inbox_hdr hdr
struct golan_query_hca_vport_context_data context_data
struct golan_hca_cap hca_cap
struct golan_inbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_create_eq_mbox_in_data data
struct golan_outbox_hdr hdr
struct golan_qp_context ctx
struct golan_inbox_hdr hdr
struct golan_qp_path pri_path
struct golan_inbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_outbox_hdr hdr
__be64 data[GOLAN_CMD_PAS_CNT]
struct golan_outbox_hdr hdr
struct golan_eqe_cq_err cq_err
__be32 qp_counter_set_usr_page
struct golan_inbox_hdr hdr
struct golan_eqe_qp_srq qp_srq
u8 log_msx_atomic_size_dc
struct golan_inbox_hdr hdr
__be32 system_image_guid[2]
struct golan_inbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_create_mkey_mbox_in_data data
struct golan_inbox_hdr hdr
struct golan_cq_context ctx
FILE_LICENCE(GPL2_OR_LATER)
struct golan_eqe_gpio gpio
struct golan_outbox_hdr hdr
struct golan_eqe_port_state port
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
__be32 log_pg_sz_remote_qpn
__be32 solicit_producer_index
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_create_qp_mbox_in_data data
struct golan_inbox_hdr hdr
__be16 qkey_violation_counter
struct golan_outbox_hdr hdr
struct golan_mkey_seg seg
struct golan_query_hca_vport_pkey_data * pkey_data
#define GOLAN_CMD_PAS_CNT
struct golan_outbox_hdr hdr
__be16 hw_rcyclic_byte_counter
struct golan_inbox_hdr hdr
struct golan_qp_path alt_path
__be16 bf_log_bf_reg_size
struct health_buffer health
struct golan_outbox_hdr hdr
struct golan_eqe_congestion cong
struct golan_eqe_page_req req_pages
struct golan_inbox_hdr hdr
struct golan_outbox_hdr hdr
struct golan_modify_qp_mbox_in_data data
struct golan_outbox_hdr hdr
struct golan_inbox_hdr hdr
struct golan_outbox_hdr hdr