Searched refs:uplink_dev (Results 1 – 2 of 2) sorted by relevance
79 get_fdb_out_dev(struct net_device *uplink_dev, struct net_device *out_dev) in get_fdb_out_dev() argument85 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() local225 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()
58 struct net_device *uplink_dev, *uplink_upper, *real_dev; in get_route_and_out_devs() local63 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() local123 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()