Home
last modified time | relevance | path

Searched refs:rx_tun_attr (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/ !
Dindir_table.c101 return esw_attr->rx_tun_attr ? esw_attr->rx_tun_attr->decap_vport : 0; in mlx5_esw_indir_table_decap_vport()
111 if (rule->vni == attr->rx_tun_attr->vni && in mlx5_esw_indir_table_rule_lookup()
112 !memcmp(&rule->dst_ip, &attr->rx_tun_attr->dst_ip, in mlx5_esw_indir_table_rule_lookup()
113 sizeof(attr->rx_tun_attr->dst_ip))) in mlx5_esw_indir_table_rule_lookup()
178 ntohl(esw_attr->rx_tun_attr->dst_ip.v4)); in mlx5_esw_indir_table_rule_get()
187 &esw_attr->rx_tun_attr->dst_ip.v6, len); in mlx5_esw_indir_table_rule_get()
202 data = mlx5_eswitch_get_vport_metadata_for_set(esw, esw_attr->rx_tun_attr->decap_vport); in mlx5_esw_indir_table_rule_get()
236 rule->vni = esw_attr->rx_tun_attr->vni; in mlx5_esw_indir_table_rule_get()
238 memcpy(&rule->dst_ip, &esw_attr->rx_tun_attr->dst_ip, in mlx5_esw_indir_table_rule_get()
239 sizeof(esw_attr->rx_tun_attr->dst_ip)); in mlx5_esw_indir_table_rule_get()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ !
Dtc_tun.c724 attr.fl.fl4.saddr = esw_attr->rx_tun_attr->dst_ip.v4; in mlx5e_tc_tun_route_lookup()
725 attr.fl.fl4.daddr = esw_attr->rx_tun_attr->src_ip.v4; in mlx5e_tc_tun_route_lookup()
731 attr.fl.fl6.saddr = esw_attr->rx_tun_attr->dst_ip.v6; in mlx5e_tc_tun_route_lookup()
732 attr.fl.fl6.daddr = esw_attr->rx_tun_attr->src_ip.v6; in mlx5e_tc_tun_route_lookup()
748 esw_attr->rx_tun_attr->vni = MLX5_GET(fte_match_param, spec->match_value, in mlx5e_tc_tun_route_lookup()
750 esw_attr->rx_tun_attr->decap_vport = vport_num; in mlx5e_tc_tun_route_lookup()
Dtc_tun_encap.c84 esw_attr->rx_tun_attr = tun_attr; in mlx5e_tc_set_attr_rx_tun()
1183 if (!esw_attr->rx_tun_attr) in mlx5e_attach_decap_route()
1189 if (err || !esw_attr->rx_tun_attr->decap_vport) in mlx5e_attach_decap_route()
1194 key.endpoint_ip.v4 = esw_attr->rx_tun_attr->dst_ip.v4; in mlx5e_attach_decap_route()
1196 key.endpoint_ip.v6 = esw_attr->rx_tun_attr->dst_ip.v6; in mlx5e_attach_decap_route()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ !
Deswitch.h489 struct mlx5_rx_tun_attr *rx_tun_attr; member
Den_tc.c1946 kvfree(attr->esw_attr->rx_tun_attr); in mlx5e_tc_del_fdb_flow()