Searched refs:madhdrp (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_agents.h | 82 #define TAVOR_MAD_IS_DR(madhdrp) \ argument 83 (((sm_dr_mad_hdr_t *)(madhdrp))->MgmtClass == 0x81) 84 #define TAVOR_DRMAD_GET_HOPCOUNT(madhdrp) \ argument 85 (((sm_dr_mad_hdr_t *)(madhdrp))->HopCount) 86 #define TAVOR_DRMAD_GET_HOPPOINTER(madhdrp) \ argument 87 (((sm_dr_mad_hdr_t *)(madhdrp))->HopPointer) 88 #define TAVOR_DRMAD_SET_HOPPOINTER(madhdrp, hp) \ argument 89 (((sm_dr_mad_hdr_t *)(madhdrp))->HopPointer = (hp)) 91 #define TAVOR_DRMAD_SET_DIRECTION(madhdrp) \ argument 92 (((sm_dr_mad_hdr_t *)(madhdrp))->D_Status |= 0x0080) [all …]
|
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_agents.h | 82 #define HERMON_MAD_IS_DR(madhdrp) \ argument 83 (((sm_dr_mad_hdr_t *)(madhdrp))->MgmtClass == 0x81) 84 #define HERMON_DRMAD_GET_HOPCOUNT(madhdrp) \ argument 85 (((sm_dr_mad_hdr_t *)(madhdrp))->HopCount) 86 #define HERMON_DRMAD_GET_HOPPOINTER(madhdrp) \ argument 87 (((sm_dr_mad_hdr_t *)(madhdrp))->HopPointer) 88 #define HERMON_DRMAD_SET_HOPPOINTER(madhdrp, hp) \ argument 89 (((sm_dr_mad_hdr_t *)(madhdrp))->HopPointer = (hp)) 91 #define HERMON_DRMAD_SET_DIRECTION(madhdrp) \ argument 92 (((sm_dr_mad_hdr_t *)(madhdrp))->D_Status |= 0x0080) [all …]
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_agents.c | 324 ib_mad_hdr_t *madhdrp; in hermon_agent_handle_req() local 371 madhdrp = recv_msgbufp->im_bufs_mad_hdr; in hermon_agent_handle_req() 372 method = madhdrp->R_Method; in hermon_agent_handle_req() 373 attr_id = b2h16(madhdrp->AttributeID); in hermon_agent_handle_req() 374 mgmt_class = madhdrp->MgmtClass; in hermon_agent_handle_req()
|
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_recv.c | 69 static int ibmf_i_get_class(ib_mad_hdr_t *madhdrp, 101 ib_mad_hdr_t *madhdrp; in ibmf_i_handle_recv_completion() local 260 madhdrp = (ib_mad_hdr_t *)((uintptr_t)recv_wqep->recv_mem + in ibmf_i_handle_recv_completion() 264 if (madhdrp->BaseVersion != MAD_CLASS_BASE_VERS_1) { in ibmf_i_handle_recv_completion() 276 if (ibmf_i_get_class(madhdrp, recv_wqep->recv_ibmf_qp_handle, in ibmf_i_handle_recv_completion() 380 ibmf_get_mod_name(madhdrp->MgmtClass, class, in ibmf_i_handle_recv_completion() 1253 ibmf_i_get_class(ib_mad_hdr_t *madhdrp, ibmf_qp_handle_t dest_ibmf_qp_handle, in ibmf_i_get_class() argument 1256 int method = madhdrp->R_Method; in ibmf_i_get_class() 1257 int attrib = b2h16(madhdrp->AttributeID); in ibmf_i_get_class() 1258 int class = madhdrp->MgmtClass; in ibmf_i_get_class() [all …]
|
H A D | ibmf_impl.c | 2024 ib_mad_hdr_t *madhdrp; in ibmf_i_msg_transport() local 2044 madhdrp = msgimplp->im_msgbufs_send.im_bufs_mad_hdr; in ibmf_i_msg_transport() 2072 msgimplp->im_tid = b2h64(madhdrp->TransactionID); in ibmf_i_msg_transport() 2073 msgimplp->im_mgt_class = madhdrp->MgmtClass; in ibmf_i_msg_transport() 2095 method, madhdrp->R_Method, tnf_opaque, attrib_id, in ibmf_i_msg_transport() 2096 b2h16(madhdrp->AttributeID)); in ibmf_i_msg_transport() 2108 if ((madhdrp == msgbufp->im_bufs_mad_hdr) && in ibmf_i_msg_transport()
|