Lines Matching refs:rslt
2148 int pkt_len, struct ice_parser_result *rslt) in ice_parser_run() argument
2153 return ice_parser_rt_execute(&psr->rt, rslt); in ice_parser_run()
2161 void ice_parser_result_dump(struct ice_hw *hw, struct ice_parser_result *rslt) in ice_parser_result_dump() argument
2166 dev_info(dev, "ptype = %d\n", rslt->ptype); in ice_parser_result_dump()
2167 for (i = 0; i < rslt->po_num; i++) in ice_parser_result_dump()
2169 rslt->po[i].proto_id, rslt->po[i].offset); in ice_parser_result_dump()
2171 dev_info(dev, "flags_psr = 0x%016llx\n", rslt->flags_psr); in ice_parser_result_dump()
2172 dev_info(dev, "flags_pkt = 0x%016llx\n", rslt->flags_pkt); in ice_parser_result_dump()
2173 dev_info(dev, "flags_sw = 0x%04x\n", rslt->flags_sw); in ice_parser_result_dump()
2174 dev_info(dev, "flags_fd = 0x%04x\n", rslt->flags_fd); in ice_parser_result_dump()
2175 dev_info(dev, "flags_rss = 0x%04x\n", rslt->flags_rss); in ice_parser_result_dump()
2318 static bool ice_nearest_proto_id(struct ice_parser_result *rslt, u16 offset, in ice_nearest_proto_id() argument
2325 for (i = 0; i < rslt->po_num; i++) { in ice_nearest_proto_id()
2326 if (offset < rslt->po[i].offset) in ice_nearest_proto_id()
2328 if (offset - rslt->po[i].offset < dist) { in ice_nearest_proto_id()
2329 proto = rslt->po[i].proto_id; in ice_nearest_proto_id()
2330 dist = offset - rslt->po[i].offset; in ice_nearest_proto_id()
2362 int ice_parser_profile_init(struct ice_parser_result *rslt, in ice_parser_profile_init() argument
2372 set_bit(rslt->ptype, prof->ptypes); in ice_parser_profile_init()
2374 prof->flags = rslt->flags_sw; in ice_parser_profile_init()
2377 prof->flags = rslt->flags_acl; in ice_parser_profile_init()
2380 prof->flags = rslt->flags_fd; in ice_parser_profile_init()
2383 prof->flags = rslt->flags_rss; in ice_parser_profile_init()
2392 if (!ice_nearest_proto_id(rslt, off, &proto_id, &proto_off)) in ice_parser_profile_init()