Home
last modified time | relevance | path

Searched refs:CL_HTON16 (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_cm_types.h100 #define IB_REJ_INSUF_QP CL_HTON16(1)
101 #define IB_REJ_INSUF_EEC CL_HTON16(2)
102 #define IB_REJ_INSUF_RESOURCES CL_HTON16(3)
103 #define IB_REJ_TIMEOUT CL_HTON16(4)
104 #define IB_REJ_UNSUPPORTED CL_HTON16(5)
105 #define IB_REJ_INVALID_COMM_ID CL_HTON16(6)
106 #define IB_REJ_INVALID_COMM_INSTANCE CL_HTON16(7)
107 #define IB_REJ_INVALID_SID CL_HTON16(8)
108 #define IB_REJ_INVALID_XPORT CL_HTON16(9)
109 #define IB_REJ_STALE_CONN CL_HTON16(10)
[all …]
H A Dib_types.h168 #define IB_LID_UCAST_START (CL_HTON16(IB_LID_UCAST_START_HO))
180 #define IB_LID_UCAST_END (CL_HTON16(IB_LID_UCAST_END_HO))
192 #define IB_LID_MCAST_START (CL_HTON16(IB_LID_MCAST_START_HO))
204 #define IB_LID_MCAST_END (CL_HTON16(IB_LID_MCAST_END_HO))
381 #define IB_PKEY_BASE_MASK (CL_HTON16(0x7FFF))
392 #define IB_PKEY_TYPE_MASK (CL_HTON16(0x8000))
403 #define IB_DEFAULT_PARTIAL_PKEY (CL_HTON16(0x7FFF))
860 #define IB_MAD_STATUS_BUSY (CL_HTON16(0x0001))
872 #define IB_MAD_STATUS_REDIRECT (CL_HTON16(0x0002))
884 #define IB_MAD_STATUS_UNSUP_CLASS_VER (CL_HTON16(0x0004))
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.h76 #define IB_PM_PC_XMIT_WAIT_SUP (CL_HTON16(((uint16_t)1)<<12))
81 #define IS_PM_RSFEC_COUNTERS_SUP (CL_HTON16(((uint16_t)1)<<14))
85 #define IB_PM_IS_QP1_DROP_SUP (CL_HTON16(((uint16_t)1)<<15))
95 #define IB_PORT_CAP2_IS_PORT_INFO_EXT_SUPPORTED (CL_HTON16(0x0002))
104 #define IB_PORT_EXT_FIRE_CODE_FEC_MODE_ACTIVE (CL_HTON16(0x0001))
108 #define IB_PORT_EXT_RS_FEC_MODE_ACTIVE (CL_HTON16(0x0002))
112 #define IB_PORT_EXT_LOW_LATENCY_RS_FEC_MODE_ACTIVE (CL_HTON16(0x0003))
H A Dsaquery.c1094 pr.qos_class_sl = (pr.qos_class_sl & CL_HTON16(IB_PATH_REC_SL_MASK)) | in query_path_records()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_trap_rcv.c278 if ((p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_LINK_INTEGRITY_THRESHOLD_TRAP)) || in log_trap_info()
279 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_BUFFER_OVERRUN_THRESHOLD_TRAP)) || in log_trap_info()
280 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_WATCHDOG_TIMER_EXPIRED_TRAP))) in log_trap_info()
296 if ((p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_BAD_PKEY_TRAP)) || in log_trap_info()
297 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_BAD_QKEY_TRAP))) { in log_trap_info()
302 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(257)) ? "P" : "Q", in log_trap_info()
477 (p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_LINK_INTEGRITY_THRESHOLD_TRAP) || in trap_rcv_process_request()
478 p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_BUFFER_OVERRUN_THRESHOLD_TRAP) || in trap_rcv_process_request()
479 p_ntci->g_or_v.generic.trap_num == CL_HTON16(SM_WATCHDOG_TIMER_EXPIRED_TRAP))) { in trap_rcv_process_request()
H A Dosm_inform.c611 if ((ntc->g_or_v.generic.trap_num == CL_HTON16(SM_GID_IN_SERVICE_TRAP)) || in log_notice()
612 (ntc->g_or_v.generic.trap_num == CL_HTON16(SM_GID_OUT_OF_SERVICE_TRAP)) || in log_notice()
613 (ntc->g_or_v.generic.trap_num == CL_HTON16(SM_MGID_CREATED_TRAP)) || in log_notice()
614 (ntc->g_or_v.generic.trap_num == CL_HTON16(SM_MGID_DESTROYED_TRAP))) in log_notice()
H A Dosm_multicast.c198 notice.g_or_v.generic.trap_num = CL_HTON16(num); in mgrp_send_notice()
H A Dosm_drop_mgr.c199 notice.g_or_v.generic.trap_num = CL_HTON16(SM_GID_OUT_OF_SERVICE_TRAP); /* 65 */ in drop_mgr_remove_port()
H A Dosm_prtn_config.c254 pkey = CL_HTON16(0x8000) | conf->p_prtn->pkey; in partition_create()
H A Dosm_sa_multipath_record.c80 return ((p_node->node_info.device_id == CL_HTON16(23108)) && in sa_multipath_rec_is_tavor_port()
H A Dosm_state_mgr.c1054 notice.g_or_v.generic.trap_num = CL_HTON16(SM_GID_IN_SERVICE_TRAP); /* 64 */ in state_mgr_report_new_ports()
H A Dosm_sa_path_record.c90 return ((p_node->node_info.device_id == CL_HTON16(23108)) && in sa_path_rec_is_tavor_port()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_byteswap.h160 #define CL_HTON16 CL_NTOH16 macro
215 #define cl_hton16 CL_HTON16