Searched refs:parser_id (Results 1 – 4 of 4) sorted by relevance
66 u8 parser_id = (caps)->flex_parser_id_##fname; \67 u8 *parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); \106 dr_ste_calc_flex_parser_offset(u8 *tag, u8 parser_id) in dr_ste_calc_flex_parser_offset() argument109 return tag + 4 * (3 - (parser_id % 4)); in dr_ste_calc_flex_parser_offset()
1318 u8 parser_id; in dr_ste_v0_build_tnl_mpls_over_udp_tag() local1330 parser_id = sb->caps->flex_parser_id_mpls_over_udp; in dr_ste_v0_build_tnl_mpls_over_udp_tag()1331 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v0_build_tnl_mpls_over_udp_tag()1360 u8 parser_id; in dr_ste_v0_build_tnl_mpls_over_gre_tag() local1372 parser_id = sb->caps->flex_parser_id_mpls_over_gre; in dr_ste_v0_build_tnl_mpls_over_gre_tag()1373 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v0_build_tnl_mpls_over_gre_tag()1447 u8 parser_id; in dr_ste_v0_build_icmp_init() local1456 parser_id = is_ipv4 ? sb->caps->flex_parser_id_icmp_dw0 : in dr_ste_v0_build_icmp_init()1458 sb->lu_type = parser_id > DR_STE_MAX_FLEX_0_ID ? in dr_ste_v0_build_icmp_init()1767 u8 parser_id = sb->caps->flex_parser_id_geneve_tlv_option_0; in dr_ste_v0_build_flex_parser_tnl_geneve_tlv_opt_tag() local[all …]
1487 u8 parser_id; in dr_ste_v1_build_tnl_mpls_over_udp_tag() local1499 parser_id = sb->caps->flex_parser_id_mpls_over_udp; in dr_ste_v1_build_tnl_mpls_over_udp_tag()1500 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_tnl_mpls_over_udp_tag()1528 u8 parser_id; in dr_ste_v1_build_tnl_mpls_over_gre_tag() local1540 parser_id = sb->caps->flex_parser_id_mpls_over_gre; in dr_ste_v1_build_tnl_mpls_over_gre_tag()1541 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_tnl_mpls_over_gre_tag()1895 u8 parser_id = sb->caps->flex_parser_id_geneve_tlv_option_0; in dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_tag() local1896 u8 *parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_tag()
28 static inline bool dr_is_flex_parser_0_id(u8 parser_id) in dr_is_flex_parser_0_id() argument30 return parser_id <= DR_STE_MAX_FLEX_0_ID; in dr_is_flex_parser_0_id()33 static inline bool dr_is_flex_parser_1_id(u8 parser_id) in dr_is_flex_parser_1_id() argument35 return parser_id > DR_STE_MAX_FLEX_0_ID; in dr_is_flex_parser_1_id()