Searched hist:"226 bd3411471af42f7edbdfaf73f2d54ebb62a66" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | macvlan.c | diff 226bd3411471af42f7edbdfaf73f2d54ebb62a66 Sun May 08 18:17:57 CDT 2011 Eric Dumazet <eric.dumazet@gmail.com> net: use batched device unregister in veth and macvlan
veth devices dont use the batched device unregisters yet.
Since veth are a pair of devices, it makes sense to use a batch of two unregisters, this roughly divides dismantle time by two.
Fix this by changing dellink() callers to always provide a non NULL head. (Idea from Michał Mirosław)
This patch also handles macvlan case : We now dismantle all macvlans on top of a lower dev at once.
Reported-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Michał Mirosław <mirqus@gmail.com> Cc: Jesse Gross <jesse@nicira.com> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Ben Greear <greearb@candelatech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff 226bd3411471af42f7edbdfaf73f2d54ebb62a66 Sun May 08 18:17:57 CDT 2011 Eric Dumazet <eric.dumazet@gmail.com> net: use batched device unregister in veth and macvlan
veth devices dont use the batched device unregisters yet.
Since veth are a pair of devices, it makes sense to use a batch of two unregisters, this roughly divides dismantle time by two.
Fix this by changing dellink() callers to always provide a non NULL head. (Idea from Michał Mirosław)
This patch also handles macvlan case : We now dismantle all macvlans on top of a lower dev at once.
Reported-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Michał Mirosław <mirqus@gmail.com> Cc: Jesse Gross <jesse@nicira.com> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Ben Greear <greearb@candelatech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|