Stephen Hemminger
|
d1f28cf181
|
ip: make local functions static
|
2013-02-12 11:38:35 -08:00 |
|
Petr Sabata
|
e2a4536a43
|
iproute2: tc - mqprio formatted print fix
Just a minor correction of mqprio printf()'s.
Reported-by: Petr Písař <ppisar@redhat.com>
Signed-off-by: Petr Šabata <contyk@redhat.com>
|
2012-02-22 15:23:12 -08:00 |
|
John Fastabend
|
892eba309f
|
iproute2: improve mqprio inputs for queue offsets and counts
This changes mqprio input format to be more user friendly.
Old usage,
# ./tc/tc qdisc add dev eth3 root mqprio help
Usage: ... mqprio [num_tc NUMBER] [map P0 P1...]
[offset txq0 txq1 ...] [count cnt0 cnt1 ...] [hw 1|0]
New usage,
# ./tc/tc qdisc add dev eth3 root mqprio help
Usage: ... mqprio [num_tc NUMBER] [map P0 P1 ...]
[queues count1@offset1 count2@offset2 ...] [hw 1|0]
Suggested-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
|
2011-04-26 14:59:32 -07:00 |
|
John Fastabend
|
914953046a
|
iproute2: tc add mqprio qdisc support
Add mqprio qdisc support. Output matches the following,
qdisc mq 0: dev eth1 root
qdisc mq 0: dev eth2 root
qdisc mqprio 8001: dev eth3 root tc 8 map 0 1 2 3 4 5 6 7 1 1 1 1 1 1 1 1
queues:(0:7) (8:15) (16:23) (24:31) (32:39) (40:47) (48:55) (56:63)
And usage is,
Usage: ... mclass [num_tc NUMBER] [map P0 P1...]
[offset txq0 txq1 ...] [count cnt0 cnt1 ...] [hw 1|0]
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
|
2011-04-12 14:28:19 -07:00 |
|