Searched refs:route_dev (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/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 | 21 struct net_device *route_dev; in mlx5e_set_int_port_tunnel() local 24 route_dev = dev_get_by_index(dev_net(e->out_dev), e->route_dev_ifindex); in mlx5e_set_int_port_tunnel() 26 if (!route_dev || !netif_is_ovs_master(route_dev)) in mlx5e_set_int_port_tunnel() 34 if (route_dev) in mlx5e_set_int_port_tunnel() 35 dev_put(route_dev); in mlx5e_set_int_port_tunnel() 673 struct net_device *route_dev; in mlx5e_set_vf_tunnel() local 678 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_set_vf_tunnel() 680 if (!route_dev || route_dev->netdev_ops != &mlx5e_netdev_ops || in mlx5e_set_vf_tunnel() 681 !mlx5e_tc_is_vf_tunnel(out_dev, route_dev)) in mlx5e_set_vf_tunnel() 684 err = mlx5e_tc_query_route_vport(out_dev, route_dev, &vport_num); in mlx5e_set_vf_tunnel() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.h | 314 bool mlx5e_tc_is_vf_tunnel(struct net_device *out_dev, struct net_device *route_dev); 315 int mlx5e_tc_query_route_vport(struct net_device *out_dev, struct net_device *route_dev,
|
D | en_tc.c | 1558 bool mlx5e_tc_is_vf_tunnel(struct net_device *out_dev, struct net_device *route_dev) in mlx5e_tc_is_vf_tunnel() argument 1565 route_priv = netdev_priv(route_dev); in mlx5e_tc_is_vf_tunnel() 1578 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 1589 route_priv = netdev_priv(route_dev); in mlx5e_tc_query_route_vport()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | tc.c | 114 struct net_device *route_dev; in mlx5e_rep_update_flows() local 121 route_dev = __dev_get_by_index(dev_net(priv->netdev), e->route_dev_ifindex); in mlx5e_rep_update_flows() 122 if (route_dev) in mlx5e_rep_update_flows() 123 ether_addr_copy(eth->h_source, route_dev->dev_addr); in mlx5e_rep_update_flows()
|