On Sat, 24 Aug 2019 17:24:07 +0200 Andrew Lunn <and...@lunn.ch> wrote:
> That is a new idea. Interesting. > > I would like to look around and see what else uses this "lan1@eth0" > concept. We need to ensure it is not counter intuitive in general, > when you consider all possible users. There are not many users of ndo_get_iflink besides DSA slave: ip6_gre, ip6_vti, sit, ip6_tunnel ip_gte, ip_vti, ipmr, ipip, macsec, macvlan, veth ipvlan ipoib and a few other. What these have in common is that all these interfaces are linked somehow to another interfacem, ie. a macvlan interface eth0.1 is linked to it's master interface eth0. All of these are virtual interfaces. Marek