[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BA03B09F0474B30660A091FD@nimrod.local>
Date: Mon, 09 May 2011 06:37:44 +0100
From: Alex Bligh <alex@...x.org.uk>
To: Eric Dumazet <eric.dumazet@...il.com>, paulmck@...ux.vnet.ibm.com
cc: netdev@...r.kernel.org, Jesse Gross <jesse@...ira.com>,
Alex Bligh <alex@...x.org.uk>
Subject: Re: Scalability of interface creation and deletion
--On 8 May 2011 23:00:47 +0200 Eric Dumazet <eric.dumazet@...il.com> wrote:
> We can probably speed things, but we should consider the following user
> actions :
How about
> ip link add link eth0 vlan103 type vlan id 103
> ip link del vlan103
Removes and unlinks structures, including making name available, sending
out netlink messages, but doesn't free things
> ip link add link eth1 vlan103 type vlan id 103
creates new interface
[some time later] original zombie i/f freed
> The "link del" command should return to user only if the minimum things
> had been done, to make sure the following "link add" wont fail
> mysteriously.
Are you worried about failure through name collision (already
dealt with), vlan tag collision (ditto) or what?
--
Alex Bligh
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists