On 1/18/19 7:24 AM, Pablo Neira Ayuso wrote: > > There is no other way to identify a vft device rather than this > string? The only l3mdev that exists if vrf, right? ipvlan uses some of the hooks. > > If there is no other alternative, we can just place this in the tree, > but probably it would be better to have a numeric way to identify a > vrf device? IFF_L3MDEV_MASTER and IFF_L3MDEV_SLAVE are used via netif_is_l3_master and netif_is_l3_slave in all of the code. This was done because of requests to not bleed 'vrf' all over core kernel code.