Re: [PATCH 0/3] net: add device groups
flat view
From: jamal <hidden>
Date: 2011-01-10 14:24:11
On Mon, 2011-01-10 at 15:08 +0100, Johannes Berg wrote:
Right, but where would you want to use it -- what's the use case right now? Your ppp example here makes me think the use case is some PPP endpoint server that has lots of these interfaces.
That was just an example because someone mentioned PPP earlier. Originally, this came from someone (Octavian?) trying to setup a gazillion netdevs for testing purposes and then needing to do "ip link ls dummy*" which causes a gazillion messages between kernel and user space and all the filtering of what dummy* being done in user space.
It also means the grouping is entirely user-space controlled. In this case, the idea of automatically grouping based on the device structure seems pointless.
You still havent said what you want this grouping for. What is your use case? ;-> cheers, jamal