Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dindir_table.c92 return esw_attr->rx_tun_attr ? esw_attr->rx_tun_attr->decap_vport : 0; in mlx5_esw_indir_table_decap_vport()
119 data = mlx5_eswitch_get_vport_metadata_for_set(esw, esw_attr->rx_tun_attr->decap_vport); in mlx5_esw_indir_table_rule_get()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c728 attr.fl.fl4.saddr = esw_attr->rx_tun_attr->dst_ip.v4; in mlx5e_tc_tun_route_lookup()
729 attr.fl.fl4.daddr = esw_attr->rx_tun_attr->src_ip.v4; in mlx5e_tc_tun_route_lookup()
735 attr.fl.fl6.saddr = esw_attr->rx_tun_attr->dst_ip.v6; in mlx5e_tc_tun_route_lookup()
736 attr.fl.fl6.daddr = esw_attr->rx_tun_attr->src_ip.v6; in mlx5e_tc_tun_route_lookup()
752 esw_attr->rx_tun_attr->decap_vport = vport_num; in mlx5e_tc_tun_route_lookup()
H A Dtc_tun_encap.c86 esw_attr->rx_tun_attr = tun_attr; in mlx5e_tc_set_attr_rx_tun()
1299 if (!esw_attr->rx_tun_attr) in mlx5e_attach_decap_route()
1305 if (err || !esw_attr->rx_tun_attr->decap_vport) in mlx5e_attach_decap_route()
1310 key.endpoint_ip.v4 = esw_attr->rx_tun_attr->dst_ip.v4; in mlx5e_attach_decap_route()
1312 key.endpoint_ip.v6 = esw_attr->rx_tun_attr->dst_ip.v6; in mlx5e_attach_decap_route()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h537 struct mlx5_rx_tun_attr *rx_tun_attr; member
H A Den_tc.c2096 kvfree(attr->esw_attr->rx_tun_attr); in mlx5e_tc_del_fdb_flow()