Home
last modified time | relevance | path

Searched refs:parser_id (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.h66 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() argument
109 return tag + 4 * (3 - (parser_id % 4)); in dr_ste_calc_flex_parser_offset()
Ddr_ste_v0.c1318 u8 parser_id; in dr_ste_v0_build_tnl_mpls_over_udp_tag() local
1330 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() local
1372 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() local
1456 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 …]
Ddr_ste_v1.c1487 u8 parser_id; in dr_ste_v1_build_tnl_mpls_over_udp_tag() local
1499 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() local
1540 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() local
1896 u8 *parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_tag()
Ddr_types.h28 static inline bool dr_is_flex_parser_0_id(u8 parser_id) in dr_is_flex_parser_0_id() argument
30 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() argument
35 return parser_id > DR_STE_MAX_FLEX_0_ID; in dr_is_flex_parser_1_id()