Home
last modified time | relevance | path

Searched refs:uplink_dev (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dmirred.c79 get_fdb_out_dev(struct net_device *uplink_dev, struct net_device *out_dev) in get_fdb_out_dev() argument
85 uplink_upper = netdev_master_upper_dev_get_rcu(uplink_dev); in get_fdb_out_dev()
88 fdb_out_dev = uplink_dev; in get_fdb_out_dev()
93 !netdev_port_same_parent_id(fdb_out_dev, uplink_dev))) in get_fdb_out_dev()
216 struct net_device *uplink_dev; in parse_mirred() local
225 uplink_dev = mlx5_eswitch_uplink_get_proto_dev(esw, REP_ETH); in parse_mirred()
239 out_dev = get_fdb_out_dev(uplink_dev, out_dev); in parse_mirred()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c58 struct net_device *uplink_dev, *uplink_upper, *real_dev; in get_route_and_out_devs() local
63 uplink_dev = mlx5_eswitch_uplink_get_proto_dev(esw, REP_ETH); in get_route_and_out_devs()
66 uplink_upper = netdev_master_upper_dev_get_rcu(uplink_dev); in get_route_and_out_devs()
89 *out_dev = uplink_dev; in get_route_and_out_devs()
117 struct net_device *uplink_dev; in mlx5e_route_lookup_ipv4_get() local
123 uplink_dev = mlx5_eswitch_uplink_get_proto_dev(esw, REP_ETH); in mlx5e_route_lookup_ipv4_get()
124 attr->fl.fl4.flowi4_oif = uplink_dev->ifindex; in mlx5e_route_lookup_ipv4_get()