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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick McHardy
Date: Wednesday, March 18, 2009 - 11:31 am

Stephen Hemminger wrote:

What I meant is:

# ip l l dummy0
109: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN
     link/ether 0a:94:90:3c:e3:45 brd ff:ff:ff:ff:ff:ff

# tc qdisc add dev dummy0 root pfifo limit 1000
# ip l l dummy0
109: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo state 
UNKNOWN
     link/ether 0a:94:90:3c:e3:45 brd ff:ff:ff:ff:ff:ff

# tc qdisc del dev dummy0 root
# ip l l dummy0
109: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN
     link/ether 0a:94:90:3c:e3:45 brd ff:ff:ff:ff:ff:ff

It should work your way as well if you set the transmit queue length
to zero before removing the root qdisc.
--
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)
Re: [PATCH] netdev: handle setting transmit queue length o ..., Patrick McHardy, (Wed Mar 18, 11:31 am)