On 10/11/18 10:10 AM, Sowmini Varadhan wrote: > On (10/11/18 09:32), David Ahern wrote: >> >> Route dumps are done for the entire FIB for each address family. As we >> approach internet routing tables (700k+ routes for IPv4, currently >> around 55k for IPv6) with many VRFs dumping the entire table is grossly >> inefficient when for example only a single VRF table is wanted. > > I think someone mentioned a long time ago that a VRF is not an > interface/driver/net_device but rather a separate routing table with a > dedicated set of interfaces, iirc :-) :-) > > In the latter model, if you wanted to dump a VRF table, you'd only > lock that table, and walk it, instead of holding up other VRFS > > sorry, could not resist my i-told-you-so moment :-P
huh? VRF is a device has absolutely no relevance to this patch set. There is no existing mechanism for dumping a single table. That's one of the points of this set.