Searched refs:pkey_idx (Results 1 – 5 of 5) sorted by relevance
335 uint16_t pkey_idx_bias, pkey_idx; in clear_accum_pkey_index() local349 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() local439 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 …]
195 IN uint16_t pkey_idx) in osm_pkey_tbl_set_accum_pkeys() argument197 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() local230 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() argument257 p_block->pkey_entry[pkey_idx] = pkey; in osm_pkey_tbl_set_new_entry()
331 IN uint16_t pkey, IN uint16_t pkey_idx);361 IN uint8_t pkey_idx, IN uint16_t pkey);
193 umad_set_pkey(umad, is_smi ? 0 : dport->pkey_idx); in mad_build_pkt()
313 unsigned pkey_idx; member