Searched refs:route_dev (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 19 struct net_device *route_dev; member 34 if (attr->route_dev) in mlx5e_tc_tun_route_attr_cleanup() 35 dev_put(attr->route_dev); in mlx5e_tc_tun_route_attr_cleanup() 55 struct net_device **route_dev, in get_route_and_out_devs() argument 85 *route_dev = dev; in get_route_and_out_devs() 87 dst_is_lag_dev || is_vlan_dev(*route_dev) || in get_route_and_out_devs() 88 netif_is_ovs_master(*route_dev)) in get_route_and_out_devs() 92 *out_dev = *route_dev; in get_route_and_out_devs() 110 struct net_device *route_dev; in mlx5e_route_lookup_ipv4_get() local 149 ret = get_route_and_out_devs(priv, rt->dst.dev, &route_dev, &out_dev); in mlx5e_route_lookup_ipv4_get() [all …]
|
D | tc_tun_encap.c | 22 struct net_device *route_dev; in mlx5e_set_int_port_tunnel() local 25 route_dev = dev_get_by_index(dev_net(e->out_dev), e->route_dev_ifindex); in mlx5e_set_int_port_tunnel() 27 if (!route_dev || !netif_is_ovs_master(route_dev) || in mlx5e_set_int_port_tunnel() 36 if (route_dev) in mlx5e_set_int_port_tunnel() 37 dev_put(route_dev); in mlx5e_set_int_port_tunnel() 718 struct net_device *route_dev; in mlx5e_set_vf_tunnel() local 723 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_set_vf_tunnel() 725 if (!route_dev || route_dev->netdev_ops != &mlx5e_netdev_ops || in mlx5e_set_vf_tunnel() 726 !mlx5e_tc_is_vf_tunnel(out_dev, route_dev)) in mlx5e_set_vf_tunnel() 729 err = mlx5e_tc_query_route_vport(out_dev, route_dev, &vport_num); in mlx5e_set_vf_tunnel() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 113 struct net_device *route_dev; in mlx5e_rep_update_flows() local 120 route_dev = __dev_get_by_index(dev_net(priv->netdev), e->route_dev_ifindex); in mlx5e_rep_update_flows() 121 if (route_dev) in mlx5e_rep_update_flows() 122 ether_addr_copy(eth->h_source, route_dev->dev_addr); in mlx5e_rep_update_flows()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.h | 323 bool mlx5e_tc_is_vf_tunnel(struct net_device *out_dev, struct net_device *route_dev); 324 int mlx5e_tc_query_route_vport(struct net_device *out_dev, struct net_device *route_dev,
|
D | en_tc.c | 1651 bool mlx5e_tc_is_vf_tunnel(struct net_device *out_dev, struct net_device *route_dev) in mlx5e_tc_is_vf_tunnel() argument 1658 route_priv = netdev_priv(route_dev); in mlx5e_tc_is_vf_tunnel() 1671 int mlx5e_tc_query_route_vport(struct net_device *out_dev, struct net_device *route_dev, u16 *vport) in mlx5e_tc_query_route_vport() argument 1682 route_priv = netdev_priv(route_dev); in mlx5e_tc_query_route_vport()
|