Home
last modified time | relevance | path

Searched refs:pkey_idx (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_pkey_mgr.c335 uint16_t pkey_idx_bias, pkey_idx; in clear_accum_pkey_index() local
349 pkey_idx = pkey_idx_ptr; in clear_accum_pkey_index()
350 if (pkey_idx == pkey_idx_bias) { in clear_accum_pkey_index()
352 if (p_pkey_tbl->last_pkey_idx == pkey_idx) in clear_accum_pkey_index()
393 uint16_t pkey_idx; in pkey_mgr_update_port() local
439 pkey_idx = pkey_idx_ptr; in pkey_mgr_update_port()
440 pkey_idx--; /* adjust pkey index for bias */ in pkey_mgr_update_port()
441 block_index = pkey_idx / IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_port()
442 pkey_index = pkey_idx % IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_port()
449 pkey_idx == 0))) { in pkey_mgr_update_port()
[all …]
H A Dosm_pkey.c195 IN uint16_t pkey_idx) in osm_pkey_tbl_set_accum_pkeys() argument
197 uintptr_t ptr = pkey_idx + 1; /* 0 means not found so bias by 1 */ in osm_pkey_tbl_set_accum_pkeys()
201 if (pkey_idx >= p_pkey_tbl->last_pkey_idx) in osm_pkey_tbl_set_accum_pkeys()
202 p_pkey_tbl->last_pkey_idx = pkey_idx + 1; in osm_pkey_tbl_set_accum_pkeys()
223 uint16_t pkey_idx, last_pkey_idx = 0; in osm_pkey_find_last_accum_pkey_index() local
230 pkey_idx = pkey_idx_ptr; in osm_pkey_find_last_accum_pkey_index()
231 if (pkey_idx > last_pkey_idx) in osm_pkey_find_last_accum_pkey_index()
232 last_pkey_idx = pkey_idx; in osm_pkey_find_last_accum_pkey_index()
244 IN uint8_t pkey_idx, in osm_pkey_tbl_set_new_entry() argument
257 p_block->pkey_entry[pkey_idx] = pkey; in osm_pkey_tbl_set_new_entry()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_pkey.h331 IN uint16_t pkey, IN uint16_t pkey_idx);
361 IN uint8_t pkey_idx, IN uint16_t pkey);
/freebsd/contrib/ofed/libibmad/
H A Dmad.c193 umad_set_pkey(umad, is_smi ? 0 : dport->pkey_idx); in mad_build_pkt()
H A Dmad.h313 unsigned pkey_idx; member