Lines Matching refs:pg_key
202 memset(&rt->pg_key, 0, sizeof(rt->pg_key)); in ice_imem_pgk_init()
203 rt->pg_key.next_proto = ice_pk_build(rt, &imem->np_kb); in ice_imem_pgk_init()
204 if (rt->pg_key.next_proto == U32_MAX) in ice_imem_pgk_init()
208 rt->pg_key.flag0 = ice_flag_get(rt, imem->pg_kb.flag0_idx); in ice_imem_pgk_init()
210 rt->pg_key.flag1 = ice_flag_get(rt, imem->pg_kb.flag1_idx); in ice_imem_pgk_init()
212 rt->pg_key.flag2 = ice_flag_get(rt, imem->pg_kb.flag2_idx); in ice_imem_pgk_init()
214 rt->pg_key.flag3 = ice_flag_get(rt, imem->pg_kb.flag3_idx); in ice_imem_pgk_init()
216 rt->pg_key.alu_reg = rt->gpr[imem->pg_kb.alu_reg_idx]; in ice_imem_pgk_init()
217 rt->pg_key.node_id = rt->gpr[ICE_GPR_NN_IDX]; in ice_imem_pgk_init()
220 rt->pg_key.node_id, in ice_imem_pgk_init()
221 rt->pg_key.flag0, in ice_imem_pgk_init()
222 rt->pg_key.flag1, in ice_imem_pgk_init()
223 rt->pg_key.flag2, in ice_imem_pgk_init()
224 rt->pg_key.flag3, in ice_imem_pgk_init()
225 rt->pg_key.boost_idx, in ice_imem_pgk_init()
226 rt->pg_key.alu_reg, in ice_imem_pgk_init()
227 rt->pg_key.next_proto); in ice_imem_pgk_init()
267 memset(&rt->pg_key, 0, sizeof(rt->pg_key)); in ice_bst_pgk_init()
268 rt->pg_key.boost_idx = bst->hit_idx_grp; in ice_bst_pgk_init()
269 rt->pg_key.next_proto = ice_pk_build(rt, &bst->np_kb); in ice_bst_pgk_init()
270 if (rt->pg_key.next_proto == U32_MAX) in ice_bst_pgk_init()
274 rt->pg_key.flag0 = ice_flag_get(rt, bst->pg_kb.flag0_idx); in ice_bst_pgk_init()
276 rt->pg_key.flag1 = ice_flag_get(rt, bst->pg_kb.flag1_idx); in ice_bst_pgk_init()
278 rt->pg_key.flag2 = ice_flag_get(rt, bst->pg_kb.flag2_idx); in ice_bst_pgk_init()
280 rt->pg_key.flag3 = ice_flag_get(rt, bst->pg_kb.flag3_idx); in ice_bst_pgk_init()
282 rt->pg_key.alu_reg = rt->gpr[bst->pg_kb.alu_reg_idx]; in ice_bst_pgk_init()
283 rt->pg_key.node_id = rt->gpr[ICE_GPR_NN_IDX]; in ice_bst_pgk_init()
286 rt->pg_key.node_id, in ice_bst_pgk_init()
287 rt->pg_key.flag0, in ice_bst_pgk_init()
288 rt->pg_key.flag1, in ice_bst_pgk_init()
289 rt->pg_key.flag2, in ice_bst_pgk_init()
290 rt->pg_key.flag3, in ice_bst_pgk_init()
291 rt->pg_key.boost_idx, in ice_bst_pgk_init()
292 rt->pg_key.alu_reg, in ice_bst_pgk_init()
293 rt->pg_key.next_proto); in ice_bst_pgk_init()
336 &rt->pg_key); in ice_rt_pg_cam_match()
339 ICE_PG_SP_CAM_TABLE_SIZE, &rt->pg_key); in ice_rt_pg_cam_match()
350 ICE_PG_NM_CAM_TABLE_SIZE, &rt->pg_key); in ice_rt_pg_nm_cam_match()
355 &rt->pg_key); in ice_rt_pg_nm_cam_match()