4d4da09e0036107e7c49362b38df220e9a2f7b12 |
|
08-Mar-2014 |
Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> |
htb: Move direct_qlen code part to htb_parse_opt(). The direct_qlen command option is used with qdisc operation. It happened to be implemented in htb_parse_class_opt() which is called with class operation. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Cc: Eric Dumazet <eric.dumazet@gmail.com>
/external/iproute2/tc/q_htb.c
|
8334bb325d5178483a3063c5f06858b46d993dc7 |
|
12-Nov-2013 |
Eric Dumazet <edumazet@google.com> |
htb: support 64bit rates Starting from linux-3.13, we can break the 32bit limitation of rates on HTB qdisc/classes. Prior limit was 34.359.738.360 bits per second. lpq83:~# tc -s qdisc show dev lo ; tc -s class show dev lo qdisc htb 1: root refcnt 2 r2q 2000 default 1 direct_packets_stat 0 direct_qlen 6000 Sent 6591936144493 bytes 149549182 pkt (dropped 0, overlimits 213757419 requeues 0) rate 39464Mbit 114938pps backlog 0b 15p requeues 0 class htb 1:1 root prio 0 rate 50000Mbit ceil 50000Mbit burst 200000b cburst 0b Sent 6591942184547 bytes 149549310 pkt (dropped 0, overlimits 0 requeues 0) rate 39464Mbit 114938pps backlog 0b 15p requeues 0 lended: 149549310 borrowed: 0 giants: 0 tokens: 336 ctokens: -164 Signed-off-by: Eric Dumazet <edumazet@google.com>
/external/iproute2/tc/q_htb.c
|
734c0ca2cabf96e2ac1abe6e1b0968d0b5b03b11 |
|
27-Oct-2013 |
Stephen Hemminger <stephen@networkplumber.org> |
htb: remove old unused duplicate qdisc name Alexey had htb2 as name for version in ancient code.
/external/iproute2/tc/q_htb.c
|
b43f3318280a7b4b8c110d8fef7d5e6ebf2843fd |
|
13-Sep-2013 |
Eric Dumazet <edumazet@google.com> |
htb: add support for direct_qlen attribute TCA_HTB_DIRECT_QLEN attribute is supported since linux-3.10 HTB classes use an internal pfifo queue, which limit was not reported by tc, and value inherited from device tx_queue_len at setup time. With this patch, tc displays the value and can change it. Signed-off-by: Eric Dumazet <edumazet@google.com>
/external/iproute2/tc/q_htb.c
|
3e92ff522ac2d634b21a3cd9c4d1de278532f0ad |
|
30-Aug-2013 |
Jesper Dangaard Brouer <brouer@redhat.com> |
linklayer interface between kernel and tc/userspace This iproute2 tc patch is connected to the kernel - commit 8a8e3d84b17 (net_sched: restore "linklayer atm" handling) The rate table calculated by tc, have gotten replaced in the kernel and is no-longer used for lookups. This happened in kernel release v3.8 caused by kernel - commit 56b765b79 ("htb: improved accuracy at high rates"). This change unfortunately caused breakage of tc overhead and linklayer parameters. Kernel overhead handling got fixed in kernel v3.10 by - commit 01cb71d2d47 (net_sched: restore "overhead xxx" handling) Kernel linklayer handling got fixed in kernel v3.11 by - commit 8a8e3d84b17 (net_sched: restore "linklayer atm" handling) The linklayer fix introduced a struct change, that allow the linklayer attribute to be transferred between tc and kernel. This patch make use of this linklayer attribute. The linklayer setting is transfer to the kernel. And linklayer setting received from the kernel is printed with a prefixed "linklayer" when listing current configuration. The default TC_LINKLAYER_ETHERNET is only printed in detailed output mode. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
/external/iproute2/tc/q_htb.c
|
22fa92e3671ccf5165ee1582641054a58bb9718c |
|
07-Jun-2013 |
Stephen Hemminger <stephen@networkplumber.org> |
htb: fix indentation iproute2 uses kernel style indenting
/external/iproute2/tc/q_htb.c
|
44f1ff0afcb33fbeccdabf1b9a4b083b332fd4ca |
|
02-Jun-2013 |
Eric Dumazet <edumazet@google.com> |
htb: report overhead attribute "tc class show dev ..." omits the overhead attribute for HTB. After patch I have : tc class add dev $DEV parent 1: classid 1:1 est 1sec 4sec htb \ rate 12Mbit mtu 1500 quantum 1514 overhead 20 tc class show dev $DEV class htb 1:1 root prio 0 rate 12000Kbit overhead 20 ceil 12000Kbit burst 1500b cburst 1500b Signed-off-by: Eric Dumazet <edumazet@google.com>
/external/iproute2/tc/q_htb.c
|
8d8de1139c95d79bc1b5ac1ec301a30ef5e6ee50 |
|
12-Jan-2010 |
Florian Westphal <fw@strlen.de> |
tc: remove stale code remove unused #define and "ok" statements. Signed-off-by: Florian Westphal <fwestphal@astaro.com>
/external/iproute2/tc/q_htb.c
|
292f29b42c3444375b5ae7086484c99da7129d94 |
|
09-Apr-2008 |
Jesper Dangaard Brouer <hawk@diku.dk> |
ATM cell alignment. Introducing the function that does the ATM cell alignment, and modifying tc_calc_rtable() to use this based upon a linklayer parameter. Modified from original to use constants from atm.h and fix all the usages of rtable in same patch. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/external/iproute2/tc/q_htb.c
|
d5f46f9cc3856af532e852ef29fd7ddfd141faf0 |
|
05-Sep-2007 |
Jesper Dangaard Brouer <hawk@comx.dk> |
Cleanup: tc_calc_rtable(). Change tc_calc_rtable() to take a tc_ratespec struct as an argument. (cell_log still needs to be passed on as a parameter, because -1 indicate that the cell_log needs to be computed by the function.). Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/q_htb.c
|
bccd014b866daa21002f7ac682cee57a9fe003e3 |
|
11-Sep-2007 |
Jesper Dangaard Brouer <hawk@comx.dk> |
Overhead calculation is now done in the kernel. The only current user is HTB. HTB overhead argument is now passed on to the kernel (in the struct tc_ratespec). Also correct the data types. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/q_htb.c
|
76dc0aa28fe6fa78e263bf0250c1e42c584dd544 |
|
04-Mar-2007 |
Patrick McHardy <kaber@trash.net> |
Introduce tc_calc_xmitsize and use where appropriate [IPROUTE]: Introduce tc_calc_xmitsize and use where appropriate Add tc_calc_xmitsize() as complement to tc_calc_xmittime(), which calculates the size that can be transmitted at a given rate during a given time. Replace all expressions of the form "size = rate*tc_core_tick2usec(time))/1000000" by tc_calc_xmitsize() calls. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_htb.c
|
ae665a522bd46bea44c5ea84c89c8b1731954170 |
|
05-Dec-2006 |
Stephen Hemminger <shemminger@osdl.org> |
Remove trailing whitespace Go through source files and remove all trailing whitespace Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/q_htb.c
|
14ee9e615939b5bd193279535a0368d5f43950e3 |
|
18-Jan-2005 |
6!tgraf <6!tgraf> |
Use parse_rtattr_nested (Logical change 1.129)
/external/iproute2/tc/q_htb.c
|
1b52a7622ea8eda9980ce2dbe984985ac092d92a |
|
18-Jan-2005 |
6!tgraf <6!tgraf> |
Use NLMSG_TAIL (Logical change 1.127)
/external/iproute2/tc/q_htb.c
|
95812b56a5a66e7e9a21744cfe8bc0bb9791ea98 |
|
28-Sep-2004 |
net[shemminger]!kaber <net[shemminger]!kaber> |
: prevent tc crashes (Logical change 1.81)
/external/iproute2/tc/q_htb.c
|
f2f99e2eefdbd9cb6a750b19a7b3036db351b983 |
|
31-Aug-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
no longer need xstats stub (Logical change 1.77)
/external/iproute2/tc/q_htb.c
|
a166d246d84e7d0ba784e210515708006e16a366 |
|
30-Jul-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
mpu support (Logical change 1.58)
/external/iproute2/tc/q_htb.c
|
d0d0e26c827ba407dd329d794d87fb3858fc8d77 |
|
09-Jun-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
Use get_hz to pick up system HZ value at runtime. (Logical change 1.19)
/external/iproute2/tc/q_htb.c
|
9e9d615e32c1e0677d2c32619253eabb331ff307 |
|
08-Jun-2004 |
org[shemminger]!shemminger <org[shemminger]!shemminger> |
Import patch iproute2-2.4.7-htb3-tc.patch (Logical change 1.10)
/external/iproute2/tc/q_htb.c
|
a46718956bdf70ef09634849505f3e33c2a7da2a |
|
08-Jun-2004 |
org[shemminger]!shemminger <org[shemminger]!shemminger> |
Initial revision
/external/iproute2/tc/q_htb.c
|