[Bugme-new] [Bug 12364] New: TC Queueing rules doesn't work when using a 1000Mbit NIC
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Mon Jan 5 07:07:04 PST 2009
http://bugzilla.kernel.org/show_bug.cgi?id=12364
Summary: TC Queueing rules doesn't work when using a 1000Mbit NIC
Product: Networking
Version: 2.5
KernelVersion: 2.6.28
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: blocking
Priority: P1
Component: Other
AssignedTo: acme at ghostprotocols.net
ReportedBy: mysql.jorge at decimal.pt
Latest working kernel version:
none
Earliest failing kernel version:
2.6.28
Distribution:
Debian SID
Hardware Environment:
1x P4 3.2GHZ with SMC compiled.
3GB DDR2 RAM
SATA Disks
Software Environment:
Problem Description:
I've always used TC for my QoS configuration, and always used a 100Mbit Realtek
8139 card.
Now i changed my Switch to a 1000Mbit one, and started using the onboard
Marvell NIC, with "sky2" driver, since then, the QoS just stoped working, and
all my shaping rules, started to shape the traffic to 1/2 KB.
Steps to reproduce:
Below my TC rules, and i've always used and worked when i had the 100Mbit card.
I must remember, if i reinsert the 100Mbit card, the shaping works as expected.
-------
---
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1 cbq bandwidth 100Mbit avpkt 1000 cell
8
/sbin/tc class change dev eth0 root cbq weight 10Mbit allot 1514
/sbin/tc class add dev eth0 parent 1: classid 1:1280 cbq bandwidth 100Mbit rate
200Kbit weight 6kbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
isolated
/sbin/tc qdisc add dev eth0 parent 1:1280 handle 1280 tbf rate 200Kbit buffer
10Kb/8 limit 15Kb mtu 1500
/sbin/tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src
195.23.14.71 match ip sport 80 0xffff classid 1:1280
---
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list