Home
last modified time | relevance | path

Searched refs:inner_headers (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_definer.c198 if (HWS_GET_MATCH_PARAM(match_param, inner_headers.cvlan_tag)) in hws_definer_inner_vlan_type_set()
200 else if (HWS_GET_MATCH_PARAM(match_param, inner_headers.svlan_tag)) in hws_definer_inner_vlan_type_set()
672 if (HWS_IS_FLD_SET_SZ(match_param, inner_headers.l4_type, 0x2) || in hws_definer_conv_inner()
673 HWS_IS_FLD_SET_SZ(match_param, inner_headers.reserved_at_c2, 0xe) || in hws_definer_conv_inner()
674 HWS_IS_FLD_SET_SZ(match_param, inner_headers.reserved_at_c4, 0x4)) { in hws_definer_conv_inner()
681 inner_headers.ethertype, in hws_definer_conv_inner()
685 inner_headers.smac_47_16, eth_l2_src_inner.smac_47_16); in hws_definer_conv_inner()
688 inner_headers.smac_15_0, eth_l2_src_inner.smac_15_0); in hws_definer_conv_inner()
691 inner_headers.dmac_47_16, eth_l2_inner.dmac_47_16); in hws_definer_conv_inner()
694 inner_headers.dmac_15_0, eth_l2_inner.dmac_15_0); in hws_definer_conv_inner()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c470 MLX5_SET_TO_ONES(fte_match_param, spec->match_criteria, inner_headers.ip_version); in mlx5_generate_inner_ttc_rule()
471 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule()
478 inner_headers), in mlx5_generate_inner_ttc_rule()
481 inner_headers), in mlx5_generate_inner_ttc_rule()
554 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_version); in mlx5_create_inner_ttc_table_groups()
559 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.l4_type); in mlx5_create_inner_ttc_table_groups()
568 MLX5_SET(fte_match_param, mc, inner_headers.l4_type, 0); in mlx5_create_inner_ttc_table_groups()
572 MLX5_SET_TO_ONES(fte_match_param, mc, inner_headers.ip_protocol); in mlx5_create_inner_ttc_table_groups()
582 MLX5_SET(fte_match_param, mc, inner_headers.ip_protocol, 0); in mlx5_create_inner_ttc_table_groups()
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfs_tracepoint.h128 inner_headers),
218 inner_headers),
233 inner_headers),
/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.h163 struct ice_tc_flower_lyr_2_4_hdrs inner_headers; member
H A Dice_tc_lib.c302 if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IP) && in ice_tc_fill_tunnel_outer()
320 if (fltr->inner_headers.l2_key.n_proto == htons(ETH_P_IPV6) && in ice_tc_fill_tunnel_outer()
401 headers = &tc_fltr->inner_headers; in ice_tc_fill_rules()
1521 headers = &fltr->inner_headers; in ice_parse_cls_flower()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c11223 DECLARE_BITMAP(inner_headers, __MLXSW_REG_RECR2_HEADER_CNT);
11239 unsigned long *inner_headers = config->inner_headers; in mlxsw_sp_mp_hash_inner_l3() local
11243 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV4_EN_NOT_TCP_NOT_UDP); in mlxsw_sp_mp_hash_inner_l3()
11244 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV4_EN_TCP_UDP); in mlxsw_sp_mp_hash_inner_l3()
11248 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV6_EN_NOT_TCP_NOT_UDP); in mlxsw_sp_mp_hash_inner_l3()
11249 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV6_EN_TCP_UDP); in mlxsw_sp_mp_hash_inner_l3()
11273 unsigned long *inner_headers = config->inner_headers; in mlxsw_sp_mp_hash_inner_custom() local
11277 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV4_EN_NOT_TCP_NOT_UDP); in mlxsw_sp_mp_hash_inner_custom()
11278 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV4_EN_TCP_UDP); in mlxsw_sp_mp_hash_inner_custom()
11286 MLXSW_SP_MP_HASH_HEADER_SET(inner_headers, IPV6_EN_NOT_TCP_NOT_UDP); in mlxsw_sp_mp_hash_inner_custom()
[all …]
/linux/drivers/infiniband/hw/mlx5/
H A Dfs.c50 (!HEADER_IS_ZERO(match_criteria, inner_headers)) << in get_match_criteria_enable()
207 inner_headers); in parse_flow_attr()
209 inner_headers); in parse_flow_attr()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2397 headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, inner_headers); in mlx5e_tc_get_ip_version()
2600 inner_headers); in get_match_inner_headers_criteria()
2606 inner_headers); in get_match_inner_headers_value()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h2229 struct mlx5_ifc_fte_match_set_lyr_2_4_bits inner_headers; member