Home
last modified time | relevance | path

Searched refs:headers_v (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c141 set_ip4(void *headers_c, void *headers_v, __be32 ip4src_m, in set_ip4() argument
145 memcpy(MLX5E_FTE_ADDR_OF(headers_v, src_ipv4_src_ipv6.ipv4_layout.ipv4), in set_ip4()
151 memcpy(MLX5E_FTE_ADDR_OF(headers_v, dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in set_ip4()
158 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4()
162 set_ip6(void *headers_c, void *headers_v, __be32 ip6src_m[4], in set_ip6() argument
168 memcpy(MLX5E_FTE_ADDR_OF(headers_v, src_ipv4_src_ipv6.ipv6_layout.ipv6), in set_ip6()
174 memcpy(MLX5E_FTE_ADDR_OF(headers_v, dst_ipv4_dst_ipv6.ipv6_layout.ipv6), in set_ip6()
181 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6()
185 set_tcp(void *headers_c, void *headers_v, __be16 psrc_m, __be16 psrc_v, in set_tcp() argument
190 MLX5E_FTE_SET(headers_v, tcp_sport, ntohs(psrc_v)); in set_tcp()
[all …]
Den_tc.c130 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local
139 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_match()
177 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local
186 fval = headers_v + soffset; in mlx5e_tc_match_to_reg_get_match()
753 void *headers_c, *headers_v; in mlx5e_hairpin_get_prio() local
765 headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, outer_headers); in mlx5e_hairpin_get_prio()
767 vlan_present = MLX5_GET(fte_match_set_lyr_2_4, headers_v, cvlan_tag); in mlx5e_hairpin_get_prio()
770 prio_val = MLX5_GET(fte_match_set_lyr_2_4, headers_v, first_prio); in mlx5e_hairpin_get_prio()
1503 void *headers_v = MLX5_ADDR_OF(fte_match_param, in mlx5_flow_has_geneve_opt() local
1507 headers_v, in mlx5_flow_has_geneve_opt()
[all …]
Den_tc.h252 void *headers_c, void *headers_v);
Deswitch_offloads.c1298 void *headers_v; in esw_add_fdb_miss_rule() local
1330 headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in esw_add_fdb_miss_rule()
1332 dmac_v = MLX5_ADDR_OF(fte_match_param, headers_v, in esw_add_fdb_miss_rule()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c788 void *headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5e_tc_tun_parse() local
805 headers_c, headers_v); in mlx5e_tc_tun_parse()
812 headers_c, headers_v); in mlx5e_tc_tun_parse()
839 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse()
846 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse()
852 headers_c, headers_v); in mlx5e_tc_tun_parse()
861 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse()
870 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5e_tc_tun_parse()
877 headers_c, headers_v); in mlx5e_tc_tun_parse()
887 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_ecn, in mlx5e_tc_tun_parse()
[all …]
Dtc_tun.h46 void *headers_v);
51 void *headers_v);
111 void *headers_v);
Dtc_tun_mplsoudp.c51 void *headers_v) in parse_udp_ports() argument
53 return mlx5e_tc_tun_parse_udp_ports(priv, spec, f, headers_c, headers_v); in parse_udp_ports()
60 void *headers_v) in parse_tunnel() argument
Dtc_tun_vxlan.c49 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
Dtc_tun_gre.c59 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()
Dtc_tun_geneve.c53 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()
317 void *headers_v) in mlx5e_tc_tun_parse_geneve() argument
Dtc_ct.c328 void *headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_tc_ct_set_tuple_match() local
339 headers_v); in mlx5_tc_ct_set_tuple_match()
342 MLX5_SET(fte_match_set_lyr_2_4, headers_v, ip_protocol, in mlx5_tc_ct_set_tuple_match()
362 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
368 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
380 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
387 memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
400 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
405 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
412 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in mlx5_tc_ct_set_tuple_match()
[all …]
/drivers/infiniband/hw/mlx5/
Dfs.c211 void *headers_v; in parse_flow_attr() local
218 headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr()
225 headers_v = MLX5_ADDR_OF(fte_match_param, match_v, in parse_flow_attr()
239 ether_addr_copy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
246 ether_addr_copy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
253 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
258 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
264 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
271 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
277 MLX5_SET(fte_match_set_lyr_2_4, headers_v, in parse_flow_attr()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c563 const void *headers_v = MLX5_ADDR_OF(fte_match_param, in validate_fpga_full_mask() local
567 if (mlx5_fs_is_outer_ipv4_flow(dev, headers_c, headers_v)) { in validate_fpga_full_mask()