Re: doubt about bridge qdisc

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/18/07, Jens Thiele <karme@xxxxxxxxxx> wrote:
On 18 Sep 2007, shemminger@xxxxxxxxxxxxxxxxxxxx wrote:

> Also since bridge is a pseudo device it has no transmit queue so there
> is no qdisc involved.

Just out of curiosity (I did not look at bridging details at all yet):
Is this 2.6.x specific?
Because on some linksys router with tomato firmware after a adding a
qdisc to br0 i get:

# uname -a
Linux linksys 2.4.20 #43 Sun May 20 18:08:39 PDT 2007 mips unknown
# ifconfig br0
br0        Link encap:Ethernet  HWaddr 00:XX
           inet addr:192.168.XX  Bcast:192.168.XX
           Mask: 255.255.255.128
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:201070 errors:0 dropped:0 overruns:0 frame:0
           TX packets:208548 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:32140173 (30.6 MiB)  TX bytes:233464694 (222.6 MiB)

# tc -s qdisc show dev br0
qdisc tbf 8002: rate 50000Kbit burst 5993b lat 6.1ms
Sent 233670717 bytes 208735 pkts (dropped 0, overlimits 18)

Greetings
Jens
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

This is exactly the piece of hardware i am doing tests. A WRT54G with dd-wrt micro. And i also have:

tc -s qdisc show dev br0
qdisc sfq 8001: limit 128p quantum 1514b
Sent 2814 bytes 38 pkts (dropped 0, overlimits 0)

and i redirect all traffic in br0 to a IMQ device and i can shape internet natted traffic using htb and it works with no problems.

--
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
   diante de um  idiota que banca o inteligente".
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux