Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | hcp_modify_qp_cb0 |
struct | hcp_modify_qp_cb1 |
struct | hcp_query_ehea |
struct | hcp_ehea_port_cb0 |
struct | hcp_ehea_port_cb1 |
struct | hcp_ehea_port_cb2 |
struct | hcp_ehea_port_cb3 |
struct | hcp_ehea_port_cb4 |
struct | hcp_ehea_port_cb5 |
struct | hcp_ehea_port_cb6 |
struct | hcp_ehea_port_cb7 |
#define EHEA_EC_ADAPTER_MALFUNC 0x32 |
Definition at line 75 of file ehea_phyp.h.
#define EHEA_EC_PORT_MALFUNC 0x33 |
Definition at line 76 of file ehea_phyp.h.
#define EHEA_EC_PORTSTATE_CHG 0x30 |
Definition at line 74 of file ehea_phyp.h.
#define EHEA_MAX_RPAGE 512 |
Definition at line 63 of file ehea_phyp.h.
#define FORCE_FREE 1 |
Definition at line 420 of file ehea_phyp.h.
#define H_DISABLE_GET_EHEA_WQE_P 1 |
Definition at line 414 of file ehea_phyp.h.
#define H_DISABLE_GET_RQC 3 |
Definition at line 416 of file ehea_phyp.h.
#define H_DISABLE_GET_SQ_WQE_P 2 |
Definition at line 415 of file ehea_phyp.h.
#define H_MEHEAPORT_CAT EHEA_BMASK_IBM(40, 47) |
Definition at line 441 of file ehea_phyp.h.
#define H_MEHEAPORT_PN EHEA_BMASK_IBM(48, 63) |
Definition at line 442 of file ehea_phyp.h.
#define H_PORT_CB0 0 |
Definition at line 191 of file ehea_phyp.h.
#define H_PORT_CB0_ALL EHEA_BMASK_IBM(0, 7) /* Set all bits */ |
Definition at line 214 of file ehea_phyp.h.
#define H_PORT_CB0_DEFQPNARRAY EHEA_BMASK_IBM(7, 7) /* Default QPN Array */ |
Definition at line 217 of file ehea_phyp.h.
#define H_PORT_CB0_MAC EHEA_BMASK_IBM(0, 0) /* MAC address */ |
Definition at line 215 of file ehea_phyp.h.
#define H_PORT_CB0_PRC EHEA_BMASK_IBM(1, 1) /* Port Recv Control */ |
Definition at line 216 of file ehea_phyp.h.
#define H_PORT_CB1 1 |
Definition at line 192 of file ehea_phyp.h.
#define H_PORT_CB1_ALL 0x8000000000000000ULL |
Definition at line 247 of file ehea_phyp.h.
#define H_PORT_CB2 2 |
Definition at line 193 of file ehea_phyp.h.
#define H_PORT_CB2_ALL 0xFFE0000000000000ULL |
Definition at line 253 of file ehea_phyp.h.
#define H_PORT_CB3 3 |
Definition at line 194 of file ehea_phyp.h.
#define H_PORT_CB4 4 |
Definition at line 195 of file ehea_phyp.h.
#define H_PORT_CB4_ALL 0xF000000000000000ULL |
Definition at line 276 of file ehea_phyp.h.
#define H_PORT_CB4_JUMBO 0x1000000000000000ULL |
Definition at line 277 of file ehea_phyp.h.
#define H_PORT_CB4_SPEED 0x8000000000000000ULL |
Definition at line 278 of file ehea_phyp.h.
#define H_PORT_CB5 5 |
Definition at line 196 of file ehea_phyp.h.
#define H_PORT_CB5_RCU 0x0001000000000000ULL |
Definition at line 289 of file ehea_phyp.h.
#define H_PORT_CB6 6 |
Definition at line 197 of file ehea_phyp.h.
#define H_PORT_CB6_ALL 0xFFFFFE7FFFFF8000ULL |
Definition at line 320 of file ehea_phyp.h.
#define H_PORT_CB7 7 |
Definition at line 198 of file ehea_phyp.h.
#define H_PORT_CB7_DUCQPN 0x8000000000000000ULL |
Definition at line 374 of file ehea_phyp.h.
#define H_QP_CR_ENABLED 0x8000000000000000ULL /* QP enabled */ |
Definition at line 121 of file ehea_phyp.h.
#define H_QP_CR_RES_STATE 0x0000007F00000000ULL /* Resultant state */ |
Definition at line 128 of file ehea_phyp.h.
#define H_QP_CR_STATE_ERROR 0x0000800000000000ULL /* Error */ |
Definition at line 127 of file ehea_phyp.h.
#define H_QP_CR_STATE_INITIALIZED 0x0000020000000000ULL /* Initialized */ |
Definition at line 124 of file ehea_phyp.h.
#define H_QP_CR_STATE_RDY2RCV 0x0000030000000000ULL /* Ready to recv */ |
Definition at line 125 of file ehea_phyp.h.
#define H_QP_CR_STATE_RDY2SND 0x0000050000000000ULL /* Ready to send */ |
Definition at line 126 of file ehea_phyp.h.
#define H_QP_CR_STATE_RESET 0x0000010000000000ULL /* Reset */ |
Definition at line 123 of file ehea_phyp.h.
#define H_QPCB0_ALL EHEA_BMASK_IBM(0, 5) |
Definition at line 112 of file ehea_phyp.h.
#define H_QPCB0_MAX_RWQE EHEA_BMASK_IBM(2, 2) |
Definition at line 115 of file ehea_phyp.h.
#define H_QPCB0_MAX_SWQE EHEA_BMASK_IBM(1, 1) |
Definition at line 114 of file ehea_phyp.h.
#define H_QPCB0_PORT_NB EHEA_BMASK_IBM(3, 3) |
Definition at line 116 of file ehea_phyp.h.
#define H_QPCB0_QP_AER EHEA_BMASK_IBM(4, 4) |
Definition at line 117 of file ehea_phyp.h.
#define H_QPCB0_QP_CTL_REG EHEA_BMASK_IBM(0, 0) |
Definition at line 113 of file ehea_phyp.h.
#define H_QPCB0_QP_TENURE EHEA_BMASK_IBM(5, 5) |
Definition at line 118 of file ehea_phyp.h.
#define H_QPCB1_ALL EHEA_BMASK_IBM(0, 7) |
Definition at line 143 of file ehea_phyp.h.
#define H_QPCB1_ASYN_EV_EQ_NB EHEA_BMASK_IBM(1, 1) |
Definition at line 145 of file ehea_phyp.h.
#define H_QPCB1_QPN EHEA_BMASK_IBM(0, 0) |
Definition at line 144 of file ehea_phyp.h.
#define H_QPCB1_RQ_CQ_HANDLE EHEA_BMASK_IBM(3, 3) |
Definition at line 147 of file ehea_phyp.h.
#define H_QPCB1_SGEL_NB_RQ1 EHEA_BMASK_IBM(5, 5) |
Definition at line 149 of file ehea_phyp.h.
#define H_QPCB1_SGEL_NB_RQ2 EHEA_BMASK_IBM(6, 6) |
Definition at line 150 of file ehea_phyp.h.
#define H_QPCB1_SGEL_NB_RQ3 EHEA_BMASK_IBM(7, 7) |
Definition at line 151 of file ehea_phyp.h.
#define H_QPCB1_SGEL_NB_SQ EHEA_BMASK_IBM(4, 4) |
Definition at line 148 of file ehea_phyp.h.
#define H_QPCB1_SQ_CQ_HANDLE EHEA_BMASK_IBM(2, 2) |
Definition at line 146 of file ehea_phyp.h.
#define H_REG_RPAGE_PAGE_SIZE EHEA_BMASK_IBM(48, 55) |
Definition at line 405 of file ehea_phyp.h.
#define H_REG_RPAGE_QT EHEA_BMASK_IBM(62, 63) |
Definition at line 406 of file ehea_phyp.h.
#define H_REGBCMC_MACADDR EHEA_BMASK_IBM(16, 63) |
Definition at line 454 of file ehea_phyp.h.
#define H_REGBCMC_PN EHEA_BMASK_IBM(48, 63) |
Definition at line 452 of file ehea_phyp.h.
#define H_REGBCMC_REGTYPE EHEA_BMASK_IBM(60, 63) |
Definition at line 453 of file ehea_phyp.h.
#define H_REGBCMC_VLANID EHEA_BMASK_IBM(52, 63) |
Definition at line 455 of file ehea_phyp.h.
#define H_SPEED_100M_F 4 /* 100 Mbps, Full Duplex */ |
Definition at line 223 of file ehea_phyp.h.
#define H_SPEED_100M_H 3 /* 100 Mbps, Half Duplex */ |
Definition at line 222 of file ehea_phyp.h.
#define H_SPEED_10G_F 8 /* 10 Gbps, Full Duplex */ |
Definition at line 225 of file ehea_phyp.h.
#define H_SPEED_10M_F 2 /* 10 Mbps, Full Duplex */ |
Definition at line 221 of file ehea_phyp.h.
#define H_SPEED_10M_H 1 /* 10 Mbps, Half Duplex */ |
Definition at line 220 of file ehea_phyp.h.
#define H_SPEED_1G_F 6 /* 1 Gbps, Full Duplex */ |
Definition at line 224 of file ehea_phyp.h.
#define NELR_ADAPTER_MALFUNC EHEA_BMASK_IBM(62, 62) |
Definition at line 80 of file ehea_phyp.h.
#define NELR_PORT_MALFUNC EHEA_BMASK_IBM(61, 61) |
Definition at line 79 of file ehea_phyp.h.
#define NELR_PORTSTATE_CHG EHEA_BMASK_IBM(63, 63) |
Definition at line 81 of file ehea_phyp.h.
#define NEQE_EVENT_CODE EHEA_BMASK_IBM(2, 7) |
Definition at line 66 of file ehea_phyp.h.
#define NEQE_EXTSWITCH_PORT_UP EHEA_BMASK_IBM(17, 17) |
Definition at line 69 of file ehea_phyp.h.
#define NEQE_EXTSWITCH_PRIMARY EHEA_BMASK_IBM(18, 18) |
Definition at line 70 of file ehea_phyp.h.
#define NEQE_PLID EHEA_BMASK_IBM(16, 47) |
Definition at line 71 of file ehea_phyp.h.
#define NEQE_PORT_UP EHEA_BMASK_IBM(16, 16) |
Definition at line 68 of file ehea_phyp.h.
#define NEQE_PORTNUM EHEA_BMASK_IBM(32, 47) |
Definition at line 67 of file ehea_phyp.h.
#define NORMAL_FREE 0 |
Definition at line 421 of file ehea_phyp.h.
#define PXLY_RC_FRAG_IP_PKT EHEA_BMASK_IBM(57, 57) |
Definition at line 236 of file ehea_phyp.h.
#define PXLY_RC_IP_CHKSUM EHEA_BMASK_IBM(59, 59) |
Definition at line 238 of file ehea_phyp.h.
#define PXLY_RC_JUMBO_FRAME EHEA_BMASK_IBM(56, 56) |
Definition at line 235 of file ehea_phyp.h.
#define PXLY_RC_LLC_SNAP EHEA_BMASK_IBM(55, 55) |
Definition at line 234 of file ehea_phyp.h.
#define PXLY_RC_MAC_FILTER EHEA_BMASK_IBM(60, 60) |
Definition at line 239 of file ehea_phyp.h.
#define PXLY_RC_TCP_2_TUPLE EHEA_BMASK_IBM(54, 54) |
Definition at line 233 of file ehea_phyp.h.
#define PXLY_RC_TCP_3_TUPLE EHEA_BMASK_IBM(53, 53) |
Definition at line 232 of file ehea_phyp.h.
#define PXLY_RC_TCP_6_TUPLE EHEA_BMASK_IBM(51, 51) |
Definition at line 230 of file ehea_phyp.h.
#define PXLY_RC_TCP_UDP_CHKSUM EHEA_BMASK_IBM(58, 58) |
Definition at line 237 of file ehea_phyp.h.
#define PXLY_RC_UDP_6_TUPLE EHEA_BMASK_IBM(52, 52) |
Definition at line 231 of file ehea_phyp.h.
#define PXLY_RC_UNTAG_FILTER EHEA_BMASK_IBM(61, 61) |
Definition at line 240 of file ehea_phyp.h.
#define PXLY_RC_VALID EHEA_BMASK_IBM(49, 49) |
Definition at line 228 of file ehea_phyp.h.
#define PXLY_RC_VLAN_FILTER 2 |
Definition at line 243 of file ehea_phyp.h.
#define PXLY_RC_VLAN_PERM 0 |
Definition at line 244 of file ehea_phyp.h.
#define PXLY_RC_VLAN_TAG_FILTER EHEA_BMASK_IBM(62, 63) |
Definition at line 241 of file ehea_phyp.h.
#define PXLY_RC_VLAN_XTRACT EHEA_BMASK_IBM(50, 50) |
Definition at line 229 of file ehea_phyp.h.
#define PXS_RCU EHEA_BMASK_IBM(61, 63) |
Definition at line 290 of file ehea_phyp.h.
u64 ehea_h_alloc_resource_cq | ( | const u64 | adapter_handle, |
struct ehea_cq_attr * | cq_attr, | ||
u64 * | cq_handle, | ||
struct h_epas * | epas | ||
) |
Definition at line 310 of file ehea_phyp.c.
u64 ehea_h_alloc_resource_eq | ( | const u64 | adapter_handle, |
struct ehea_eq_attr * | eq_attr, | ||
u64 * | eq_handle | ||
) |
Definition at line 373 of file ehea_phyp.c.
u64 ehea_h_alloc_resource_mr | ( | const u64 | adapter_handle, |
const u64 | vaddr, | ||
const u64 | length, | ||
const u32 | access_ctrl, | ||
const u32 | pd, | ||
u64 * | mr_handle, | ||
u32 * | lkey | ||
) |
Definition at line 491 of file ehea_phyp.c.
u64 ehea_h_alloc_resource_qp | ( | const u64 | adapter_handle, |
struct ehea_qp_init_attr * | init_attr, | ||
const u32 | pd, | ||
u64 * | qp_handle, | ||
struct h_epas * | h_epas | ||
) |
Definition at line 212 of file ehea_phyp.c.
Definition at line 469 of file ehea_phyp.c.
Definition at line 618 of file ehea_phyp.c.
Definition at line 481 of file ehea_phyp.c.
u64 ehea_h_modify_ehea_port | ( | const u64 | adapter_handle, |
const u16 | port_num, | ||
const u8 | cb_cat, | ||
const u64 | select_mask, | ||
void * | cb_addr | ||
) |
Definition at line 563 of file ehea_phyp.c.
u64 ehea_h_modify_ehea_qp | ( | const u64 | adapter_handle, |
const u8 | cat, | ||
const u64 | qp_handle, | ||
const u64 | sel_mask, | ||
void * | cb_addr, | ||
u64 * | inv_attr_id, | ||
u64 * | proc_mask, | ||
u16 * | out_swr, | ||
u16 * | out_rwr | ||
) |
Definition at line 404 of file ehea_phyp.c.
Definition at line 527 of file ehea_phyp.c.
u64 ehea_h_query_ehea_port | ( | const u64 | adapter_handle, |
const u16 | port_num, | ||
const u8 | cb_cat, | ||
const u64 | select_mask, | ||
void * | cb_addr | ||
) |
Definition at line 543 of file ehea_phyp.c.
u64 ehea_h_query_ehea_qp | ( | const u64 | adapter_handle, |
const u8 | qp_category, | ||
const u64 | qp_handle, | ||
const u64 | sel_mask, | ||
void * | cb_addr | ||
) |
Definition at line 136 of file ehea_phyp.c.
u64 ehea_h_reg_dereg_bcmc | ( | const u64 | adapter_handle, |
const u16 | port_num, | ||
const u8 | reg_type, | ||
const u64 | mc_mac_addr, | ||
const u16 | vlan_id, | ||
const u32 | hcall_id | ||
) |
Definition at line 587 of file ehea_phyp.c.
u64 ehea_h_register_rpage | ( | const u64 | adapter_handle, |
const u8 | pagesize, | ||
const u8 | queue_type, | ||
const u64 | resource_handle, | ||
const u64 | log_pageaddr, | ||
u64 | count | ||
) |
Definition at line 429 of file ehea_phyp.c.
u64 ehea_h_register_rpage_mr | ( | const u64 | adapter_handle, |
const u64 | mr_handle, | ||
const u8 | pagesize, | ||
const u8 | queue_type, | ||
const u64 | log_pageaddr, | ||
const u64 | count | ||
) |
Definition at line 513 of file ehea_phyp.c.
u64 ehea_h_register_smr | ( | const u64 | adapter_handle, |
const u64 | orig_mr_handle, | ||
const u64 | vaddr_in, | ||
const u32 | access_ctrl, | ||
const u32 | pd, | ||
struct ehea_mr * | mr | ||
) |
Definition at line 447 of file ehea_phyp.c.