Skip to contentSkip to conversation

can't apply sch_multiq

DISCUSSION Badalian Vyacheslav 3 participants 4 messages Jan 6, 2009 – Jan 11, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello all.
kernel 2.6.28, iproute2 - 2.6.26 (last release)

Look to Documentation/networking/multiqueue.txt we see:
---
The userspace command 'tc,' part of the iproute2 package, is used to configure
qdiscs. To add the MULTIQ qdisc to your network device, assuming the device is called eth0, run the following command:

# tc qdisc add dev eth0 root handle 1: multiq
---

Let's try!

# tc qdisc add dev eth0 root handle 1: multiq
RTNETLINK answers: Invalid argument

Where mistake?

Thanks for answers!

#1 lore raw
Quoted 13 lines · Badalian Vyacheslav

Hello all.
kernel 2.6.28, iproute2 - 2.6.26 (last release)

Look to Documentation/networking/multiqueue.txt we see:
---
The userspace command 'tc,' part of the iproute2 package, is used to configure
qdiscs. To add the MULTIQ qdisc to your network device, assuming the device is called eth0, run the following command:

# tc qdisc add dev eth0 root handle 1: multiq
---
Quoted 7 lines

Let's try!

# tc qdisc add dev eth0 root handle 1: multiq
RTNETLINK answers: Invalid argument

Where mistake?

Thanks for answers!

The only part that is probably missing is that I don't believe the sch_multiq patch been accepted into the iproute2. Once that is in then tc should work with the multiq qdisc without any issues.

Thanks,

Alex

#2 lore raw
Quoted 5 lines · Alexander H
Quoted 3 lines · Badalian Vyacheslav

Hello all.
kernel 2.6.28, iproute2 - 2.6.26 (last release)

The only part that is probably missing is that I don't believe the sch_multiq patch been accepted into the iproute2. Once that is in then tc should work with the multiq qdisc without any issues.

You can use the lastest iproute2 git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git

I just checked that the sch_multiq changes have been added to this tree (although it looks like Stephen just added that patch yesterday ;-))

Cheers,
Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------

#3 lore raw

Thanks all!

I hope iproute2 build release for new features what added at 2.6.28 =)

Best regals, Badalian Vyacheslav

Quoted 32 lines · Alexander H
Quoted 8 lines
Quoted 3 lines · Badalian Vyacheslav

Hello all.
kernel 2.6.28, iproute2 - 2.6.26 (last release)

The only part that is probably missing is that I don't believe the sch_multiq patch been accepted into the iproute2. Once that is in then tc should work with the multiq qdisc without any issues.

You can use the lastest iproute2 git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git

I just checked that the sch_multiq changes have been added to this tree (although it looks like Stephen just added that patch yesterday ;-))

Cheers,
Jesper Brouer

Signature · 9 lines
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
-- 
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html