Searched refs:OPA_MCAST_NR (Results 1 – 5 of 5) sorted by relevance
22 #define OPA_MCAST_NR 0x4 /* Number of top bits set */ macro86 opa_get_mcast_base(OPA_MCAST_NR)) in rdma_is_valid_unicast_lid()
2465 return ((lid >= opa_get_mcast_base(OPA_MCAST_NR)) && in hfi1_check_mcast()2481 return (lid - opa_get_mcast_base(OPA_MCAST_NR) + in __opa_get_lid()2486 return (lid - opa_get_mcast_base(OPA_MCAST_NR) + in __opa_get_lid()2492 opa_get_mcast_base(OPA_MCAST_NR) + in __opa_get_lid()2505 opa_get_lid(opa_get_mcast_base(OPA_MCAST_NR), 16B)) && in hfi1_is_16B_mcast()2528 opa_get_mcast_base(OPA_MCAST_NR); in hfi1_make_opa_lid()2538 if (lid >= opa_get_mcast_base(OPA_MCAST_NR)) in hfi1_get_packet_type()2542 if (lid >= opa_get_lid(opa_get_mcast_base(OPA_MCAST_NR), 9B)) in hfi1_get_packet_type()
1507 packet->dlid += opa_get_mcast_base(OPA_MCAST_NR) - in hfi1_setup_9B_packet()1587 packet->dlid += opa_get_mcast_base(OPA_MCAST_NR) - in hfi1_setup_bypass_packet()1588 opa_get_lid(opa_get_mcast_base(OPA_MCAST_NR), in hfi1_setup_bypass_packet()
943 << 3 | (OPA_MCAST_NR & 0x7)); in __subn_get_opa_portinfo()
1437 opa_get_mcast_base(OPA_MCAST_NR)) in rvt_modify_qp()1452 opa_get_mcast_base(OPA_MCAST_NR)) in rvt_modify_qp()