Lines Matching refs:psr
30 struct ice_hw *hw = rt->psr->hw; in ice_rt_flag_set()
47 struct ice_hw *hw = rt->psr->hw; in ice_rt_gpr_set()
59 struct ice_hw *hw = rt->psr->hw; in ice_rt_err_set()
76 struct ice_parser *psr = rt->psr; in ice_parser_rt_reset() local
80 mi = &psr->mi_table[0]; in ice_parser_rt_reset()
83 rt->psr = psr; in ice_parser_rt_reset()
139 ice_debug_array_w_prefix(rt->psr->hw, ICE_DBG_PARSER, in ice_bst_key_init()
184 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Unsupported OP Code %u\n", in ice_pk_build()
217 …ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Generate Parse Graph Key: node_id(%d), flag0-3(%d,%d,%d,%d… in ice_imem_pgk_init()
234 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load ALU0 from imem pc %d\n", in ice_imem_alu0_set()
242 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load ALU1 from imem pc %d\n", in ice_imem_alu1_set()
250 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load ALU2 from imem pc %d\n", in ice_imem_alu2_set()
258 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load PG priority %d from imem pc %d\n", in ice_imem_pgp_set()
283 …ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Generate Parse Graph Key: node_id(%d), flag0-3(%d,%d,%d,%d… in ice_bst_pgk_init()
300 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load ALU0 from boost address %d\n", in ice_bst_alu0_set()
308 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load ALU1 from boost address %d\n", in ice_bst_alu1_set()
316 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load ALU2 from boost address %d\n", in ice_bst_alu2_set()
324 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load PG priority %d from boost address %d\n", in ice_bst_pgp_set()
330 struct ice_parser *psr = rt->psr; in ice_rt_pg_cam_match() local
333 item = ice_pg_cam_match(psr->pg_cam_table, ICE_PG_CAM_TABLE_SIZE, in ice_rt_pg_cam_match()
336 item = ice_pg_cam_match(psr->pg_sp_cam_table, in ice_rt_pg_cam_match()
344 struct ice_parser *psr = rt->psr; in ice_rt_pg_nm_cam_match() local
347 item = ice_pg_nm_cam_match(psr->pg_nm_cam_table, in ice_rt_pg_nm_cam_match()
351 item = ice_pg_nm_cam_match(psr->pg_nm_sp_cam_table, in ice_rt_pg_nm_cam_match()
362 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Pending update for register %d value %d\n", in ice_gpr_add()
368 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ParseGraph action ...\n"); in ice_pg_exe()
373 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ParseGraph action done.\n"); in ice_pg_exe()
384 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Pending update for flag %d value %d\n", in ice_flg_add()
419 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Update Protocol Offset = %d\n", in ice_po_update()
447 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Pending update for error %d value %d\n", in ice_err_add()
457 …ice_debug(rt->psr->hw, ICE_DBG_PARSER, "DedicatedFlagsEnable should not be enabled in opcode %d\n", in ice_dst_reg_bit_set()
464 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Invalid error %d\n", in ice_dst_reg_bit_set()
474 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Invalid flag %d\n", in ice_dst_reg_bit_set()
480 …ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Unexpected Dest Register Bit set, RegisterID %d Start %d\n… in ice_dst_reg_bit_set()
490 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "shift_xlate_sel != 0 is not expected\n"); in ice_alu_exe()
533 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Unsupported ALU instruction %d\n", in ice_alu_exe()
541 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ALU0 ...\n"); in ice_alu0_exe()
543 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ALU0 done.\n"); in ice_alu0_exe()
548 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ALU1 ...\n"); in ice_alu1_exe()
550 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ALU1 done.\n"); in ice_alu1_exe()
555 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ALU2 ...\n"); in ice_alu2_exe()
557 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Executing ALU2 done.\n"); in ice_alu2_exe()
565 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Updating Registers ...\n"); in ice_pu_exe()
582 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Updating Registers done.\n"); in ice_pu_exe()
629 struct ice_parser *psr = rt->psr; in ice_proto_off_update() local
633 &psr->proto_grp_table[rt->action->proto_id]; in ice_proto_off_update()
651 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Set Protocol %d at offset %d\n", in ice_proto_off_update()
658 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Set Protocol %d at offset %d\n", in ice_proto_off_update()
673 struct ice_parser *psr = rt->psr; in ice_marker_update() local
677 &psr->mk_grp_table[rt->action->marker_id]; in ice_marker_update()
687 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Set Marker %d\n", in ice_marker_update()
694 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Set Marker %d\n", in ice_marker_update()
702 struct ice_parser *psr = rt->psr; in ice_ptype_resolve() local
704 item = ice_ptype_mk_tcam_match(psr->ptype_mk_tcam_table, in ice_ptype_resolve()
709 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Could not resolve PTYPE\n"); in ice_ptype_resolve()
730 struct ice_parser *psr = rt->psr; in ice_result_resolve() local
736 rslt->flags_pkt = ice_flg_redirect(psr->flg_rd_table, rslt->flags_psr); in ice_result_resolve()
737 rslt->flags_sw = ice_xlt_kb_flag_get(psr->xlt_kb_sw, rslt->flags_pkt); in ice_result_resolve()
738 rslt->flags_fd = ice_xlt_kb_flag_get(psr->xlt_kb_fd, rslt->flags_pkt); in ice_result_resolve()
739 rslt->flags_rss = ice_xlt_kb_flag_get(psr->xlt_kb_rss, rslt->flags_pkt); in ice_result_resolve()
756 struct ice_parser *psr = rt->psr; in ice_parser_rt_execute() local
763 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Start with Node: %u\n", node); in ice_parser_rt_execute()
770 imem = &psr->imem_table[pc]; in ice_parser_rt_execute()
771 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Load imem at pc: %u\n", in ice_parser_rt_execute()
775 bst = ice_bst_tcam_match(psr->bst_tcam_table, rt->bst_key); in ice_parser_rt_execute()
777 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "No Boost TCAM Match\n"); in ice_parser_rt_execute()
786 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Boost TCAM Match address: %u\n", in ice_parser_rt_execute()
821 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Match ParseGraph Nomatch CAM Address %u\n", in ice_parser_rt_execute()
826 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Match ParseGraph CAM Address %u\n", in ice_parser_rt_execute()
832 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Failed to match ParseGraph CAM, stop parsing.\n"); in ice_parser_rt_execute()
841 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Go to node %u\n", in ice_parser_rt_execute()
845 ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Last Round in ParseGraph Action, stop parsing.\n"); in ice_parser_rt_execute()
850 …ice_debug(rt->psr->hw, ICE_DBG_PARSER, "Header Offset (%u) is larger than packet len (%u), stop pa… in ice_parser_rt_execute()