/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs_ethtool.c | 158 set_ip4(void *headers_c, void *headers_v, __be32 ip4src_m, in set_ip4() argument 162 memcpy(MLX5E_FTE_ADDR_OF(headers_v, src_ipv4_src_ipv6.ipv4_layout.ipv4), in set_ip4() 168 memcpy(MLX5E_FTE_ADDR_OF(headers_v, dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in set_ip4() 175 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4() 179 set_ip6(void *headers_c, void *headers_v, __be32 ip6src_m[4], in set_ip6() argument 185 memcpy(MLX5E_FTE_ADDR_OF(headers_v, src_ipv4_src_ipv6.ipv6_layout.ipv6), in set_ip6() 191 memcpy(MLX5E_FTE_ADDR_OF(headers_v, dst_ipv4_dst_ipv6.ipv6_layout.ipv6), in set_ip6() 198 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6() 202 set_tcp(void *headers_c, void *headers_v, __be16 psrc_m, __be16 psrc_v, in set_tcp() argument 207 MLX5E_FTE_SET(headers_v, tcp_sport, ntohs(psrc_v)); in set_tcp() [all …]
|
D | en_tc.c | 171 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local 180 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_match() 218 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local 227 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_get_match() 967 void *headers_c, *headers_v; in mlx5e_hairpin_get_prio() local 979 headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, outer_headers); in mlx5e_hairpin_get_prio() 981 vlan_present = MLX5_GET(fte_match_set_lyr_2_4, headers_v, cvlan_tag); in mlx5e_hairpin_get_prio() 984 prio_val = MLX5_GET(fte_match_set_lyr_2_4, headers_v, first_prio); in mlx5e_hairpin_get_prio() 1877 void *headers_v = MLX5_ADDR_OF(fte_match_param, in mlx5_flow_has_geneve_opt() local 1881 headers_v, in mlx5_flow_has_geneve_opt() [all …]
|
D | en_tc.h | 289 void *headers_c, void *headers_v);
|
D | eswitch_offloads.c | 1344 void *headers_v; in esw_add_fdb_miss_rule() local 1376 headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in esw_add_fdb_miss_rule() 1378 dmac_v = MLX5_ADDR_OF(fte_match_param, headers_v, in esw_add_fdb_miss_rule()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | vlan_mangle.c | 27 void *headers_c, *headers_v; in mlx5e_tc_act_vlan_add_rewrite_action() local 31 headers_v = mlx5e_get_match_headers_value(*action, &parse_attr->spec); in mlx5e_tc_act_vlan_add_rewrite_action() 34 MLX5_GET(fte_match_set_lyr_2_4, headers_v, cvlan_tag))) { in mlx5e_tc_act_vlan_add_rewrite_action() 40 match_prio_val = MLX5_GET(fte_match_set_lyr_2_4, headers_v, first_prio); in mlx5e_tc_act_vlan_add_rewrite_action()
|
/linux-6.1.9/include/linux/mlx5/ |
D | fs_helpers.h | 49 const void *headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in _mlx5_fs_is_outer_ipv_flow() local 68 MLX5_GET(fte_match_set_lyr_2_4, headers_v, in _mlx5_fs_is_outer_ipv_flow() 74 MLX5_GET(fte_match_set_lyr_2_4, headers_v, in _mlx5_fs_is_outer_ipv_flow()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 808 void *headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5e_tc_tun_parse() local 825 headers_c, headers_v); in mlx5e_tc_tun_parse() 832 headers_c, headers_v); in mlx5e_tc_tun_parse() 859 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse() 866 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse() 872 headers_c, headers_v); in mlx5e_tc_tun_parse() 881 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse() 890 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse() 897 headers_c, headers_v); in mlx5e_tc_tun_parse() 907 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_ecn, in mlx5e_tc_tun_parse() [all …]
|
D | tc_tun.h | 46 void *headers_v); 51 void *headers_v); 113 void *headers_v);
|
D | tc_tun_mplsoudp.c | 50 void *headers_v) in parse_udp_ports() argument 52 return mlx5e_tc_tun_parse_udp_ports(priv, spec, f, headers_c, headers_v); in parse_udp_ports() 59 void *headers_v) in parse_tunnel() argument
|
D | tc_tun_vxlan.c | 49 void *headers_v) in mlx5e_tc_tun_parse_udp_ports_vxlan() argument 53 err = mlx5e_tc_tun_parse_udp_ports(priv, spec, f, headers_c, headers_v); in mlx5e_tc_tun_parse_udp_ports_vxlan() 107 void *headers_v) in mlx5e_tc_tun_parse_vxlan() argument
|
D | tc_tun_gre.c | 59 void *headers_v) in mlx5e_tc_tun_parse_gretap() argument 66 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, IPPROTO_GRE); in mlx5e_tc_tun_parse_gretap()
|
D | tc_tun_geneve.c | 53 void *headers_v) in mlx5e_tc_tun_parse_udp_ports_geneve() argument 57 err = mlx5e_tc_tun_parse_udp_ports(priv, spec, f, headers_c, headers_v); in mlx5e_tc_tun_parse_udp_ports_geneve() 322 void *headers_v) in mlx5e_tc_tun_parse_geneve() argument
|
D | tc_ct.c | 377 void *headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_tc_ct_set_tuple_match() local 387 mlx5e_tc_set_ethertype(ct_priv->dev, &match, true, headers_c, headers_v); in mlx5_tc_ct_set_tuple_match() 390 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, in mlx5_tc_ct_set_tuple_match() 410 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() 416 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() 428 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() 435 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() 448 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() 453 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() 460 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | fs.c | 202 void *headers_v; in parse_flow_attr() local 209 headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr() 216 headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr() 230 ether_addr_copy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() 237 ether_addr_copy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() 244 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() 249 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() 255 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() 262 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() 268 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr() [all …]
|
/linux-6.1.9/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 1455 void *headers_v; in mlx5_vdpa_add_mac_vlan_rules() local 1466 headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, outer_headers); in mlx5_vdpa_add_mac_vlan_rules() 1468 dmac_v = MLX5_ADDR_OF(fte_match_param, headers_v, outer_headers.dmac_47_16); in mlx5_vdpa_add_mac_vlan_rules() 1476 MLX5_SET(fte_match_set_lyr_2_4, headers_v, cvlan_tag, 1); in mlx5_vdpa_add_mac_vlan_rules() 1477 MLX5_SET(fte_match_set_lyr_2_4, headers_v, first_vid, vid); in mlx5_vdpa_add_mac_vlan_rules()
|