Re: [PATCH] netdev: handle setting transmit queue length on active device.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Hemminger
Date: Wednesday, March 18, 2009 - 11:16 am

On Wed, 18 Mar 2009 19:08:07 +0100
Patrick McHardy <kaber@trash.net> wrote:


The existing code is broken if user does:

# ip li set dev eth0.200 txq 200
# tc qdisc set dev eth0.200 root sfq
# tc qdisc del dev eth0.200 root
# ip li set dev eth0.200 txq 0

The vlan is now dead because it is impossible to go back
to the no queueing (noop) qdisc.  Also, when doing performance tests
it is useful to be able to turn off transmit queue entirely.

Other alternative would be to reject changes to txq when device is
up, but that probably would break existing users. And would be a pain
in the ass when trying to configure PPP and tunnel endpoints.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] netdev: handle setting transmit queue length on ac ..., Stephen Hemminger, (Wed Mar 18, 10:02 am)
Re: [PATCH] netdev: handle setting transmit queue length o ..., Stephen Hemminger, (Wed Mar 18, 11:00 am)
Re: [PATCH] netdev: handle setting transmit queue length o ..., Stephen Hemminger, (Wed Mar 18, 11:02 am)
Re: [PATCH] netdev: handle setting transmit queue length o ..., Stephen Hemminger, (Wed Mar 18, 11:16 am)
Re: [PATCH] netdev: handle setting transmit queue length o ..., Stephen Hemminger, (Wed Mar 18, 11:20 am)