Home
last modified time | relevance | path

Searched refs:IB_MCAST_MASK_SIZE (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_mcast_tbl.c77 (uint8_t) ((ROUNDUP(num_ports, IB_MCAST_MASK_SIZE) / in osm_mcast_tbl_init()
78 IB_MCAST_MASK_SIZE) - 1); in osm_mcast_tbl_init()
101 mask_offset = port / IB_MCAST_MASK_SIZE; in osm_mcast_tbl_set()
102 bit_mask = cl_ntoh16((uint16_t) (1 << (port % IB_MCAST_MASK_SIZE))); in osm_mcast_tbl_set()
130 size = mft_depth * (IB_MCAST_POSITION_MAX + 1) * IB_MCAST_MASK_SIZE / 8; in osm_mcast_tbl_realloc()
134 …memset((uint8_t *)p_mask_tbl + p_tbl->mft_depth * (IB_MCAST_POSITION_MAX + 1) * IB_MCAST_MASK_SIZE in osm_mcast_tbl_realloc()
136 size - p_tbl->mft_depth * (IB_MCAST_POSITION_MAX + 1) * IB_MCAST_MASK_SIZE / 8); in osm_mcast_tbl_realloc()
153 (p_tbl->max_position + 1) * IB_MCAST_MASK_SIZE); in osm_mcast_tbl_is_port()
158 mask_offset = port_num / IB_MCAST_MASK_SIZE; in osm_mcast_tbl_is_port()
160 (1 << (port_num % IB_MCAST_MASK_SIZE))); in osm_mcast_tbl_is_port()
[all …]
/freebsd/contrib/ofed/opensm/include/iba/
H A Dib_types.h326 #define IB_MCAST_MASK_SIZE 16 macro