Searched refs:parser_id (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste.h | 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() argument 109 return tag + 4 * (3 - (parser_id % 4)); in dr_ste_calc_flex_parser_offset()
|
H A D | dr_ste_v0.c | 1322 u8 parser_id; in dr_ste_v0_build_tnl_mpls_over_udp_tag() local 1334 parser_id = sb->caps->flex_parser_id_mpls_over_udp; in dr_ste_v0_build_tnl_mpls_over_udp_tag() 1335 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v0_build_tnl_mpls_over_udp_tag() 1364 u8 parser_id; in dr_ste_v0_build_tnl_mpls_over_gre_tag() local 1376 parser_id = sb->caps->flex_parser_id_mpls_over_gre; in dr_ste_v0_build_tnl_mpls_over_gre_tag() 1377 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v0_build_tnl_mpls_over_gre_tag() 1451 u8 parser_id; in dr_ste_v0_build_icmp_init() local 1460 parser_id = is_ipv4 ? sb->caps->flex_parser_id_icmp_dw0 : in dr_ste_v0_build_icmp_init() 1462 sb->lu_type = parser_id > DR_STE_MAX_FLEX_0_ID ? in dr_ste_v0_build_icmp_init() 1774 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 …]
|
H A D | dr_ste_v1.c | 1673 u8 parser_id; in dr_ste_v1_build_tnl_mpls_over_udp_tag() local 1685 parser_id = sb->caps->flex_parser_id_mpls_over_udp; in dr_ste_v1_build_tnl_mpls_over_udp_tag() 1686 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_tnl_mpls_over_udp_tag() 1714 u8 parser_id; in dr_ste_v1_build_tnl_mpls_over_gre_tag() local 1726 parser_id = sb->caps->flex_parser_id_mpls_over_gre; in dr_ste_v1_build_tnl_mpls_over_gre_tag() 1727 parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_tnl_mpls_over_gre_tag() 2102 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 2103 u8 *parser_ptr = dr_ste_calc_flex_parser_offset(tag, parser_id); in dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_tag() 2134 u8 parser_id = sb->caps->flex_parser_id_geneve_tlv_option_0; in dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_exist_tag() local 2138 MLX5_SET(ste_flex_parser_ok, tag, flex_parsers_ok, 1 << parser_id); in dr_ste_v1_build_flex_parser_tnl_geneve_tlv_opt_exist_tag()
|
H A D | dr_types.h | 34 static inline bool dr_is_flex_parser_0_id(u8 parser_id) in dr_is_flex_parser_0_id() argument 36 return parser_id <= DR_STE_MAX_FLEX_0_ID; in dr_is_flex_parser_0_id() 39 static inline bool dr_is_flex_parser_1_id(u8 parser_id) in dr_is_flex_parser_1_id() argument 41 return parser_id > DR_STE_MAX_FLEX_0_ID; in dr_is_flex_parser_1_id()
|