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_tbf.c
|
ddf216c8631195549dbf84e4ebe3da1d77b45ce0 |
|
12-Jan-2010 |
Florian Westphal <fw@strlen.de> |
tc: red, gred, tbf: more helpful error messages $ tc qdisc add dev eth1 root tbf RTNETLINK answers: Invalid argument $ tc qdisc add dev eth1 root red RTNETLINK answers: Invalid argument with patch: $ tc qdisc add dev eth1 root red Required parameter (min, max, burst, limit, avpkt) is missing $ tc qdisc add dev eth1 root tbf Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS ... Signed-off-by: Florian Westphal <fw@strlen.de>
/external/iproute2/tc/q_tbf.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_tbf.c
|
2c42579f9c15bdd9d0fdd5e6571c382bfa31399a |
|
23-Mar-2008 |
Jesper Dangaard Brouer <jdb@comx.dk> |
TBF overhead parameter parsing. For TBF, implement overhead parameter parsing. The change is ABI (Application Binary Interface) backward compatible with older kernels, but will first have effect from kernel 2.6.24. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/q_tbf.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_tbf.c
|
8f34caafbdbc8f87d228d577872591e138caadb1 |
|
04-Mar-2007 |
Patrick McHardy <kaber@trash.net> |
Replace "usec" by "time" in function names [IPROUTE]: Replace "usec" by "time" in function names Rename functions containing "usec" since they don't necessarily return usec units anymore. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_tbf.c
|
f0bda7e5a52d880a85af698a041afa7dc379e76e |
|
04-Mar-2007 |
Patrick McHardy <kaber@trash.net> |
Introduce TIME_UNITS_PER_SEC to represent internal clock resolution [IPROUTE]: Introduce TIME_UNITS_PER_SEC to represent internal clock resolution Introduce TIME_UNITS_PER_SEC and conversion functions between internal resolution and resolution expected by the kernel (currently implemented as NOPs, only needed by HFSC, which currently always uses microseconds). Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_tbf.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_tbf.c
|
7b77c0caa6479aaf8e1e473a24372965f3315190 |
|
04-Mar-2007 |
Patrick McHardy <kaber@trash.net> |
tbf: fix latency printing [IPROUTE]: tbf: fix latency printing The calculated latency is already in usecs, the additional tick2usec conversion breaks the calculation with jiffies or tsc clock source. Example: # tc qdisc add dev dummy0 root tbf latency 20ms burst 10k rate 50mbit # tc qdisc show dev dummy0 qdisc tbf 8002: rate 50000Kbit burst 10Kb lat 15.4ms Fixed: # tc qdisc show dev dummy0 qdisc tbf 8002: rate 50000Kbit burst 10Kb lat 20ms Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/q_tbf.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_tbf.c
|
3b3ecd31c1e513f029ebbb83f2e808553de0a741 |
|
18-Jan-2005 |
4!tgraf <4!tgraf> |
Use parse_rtattr_nested (Logical change 1.129)
/external/iproute2/tc/q_tbf.c
|
228569c3ff79468f4c7580fd88b0d6a34ebdc311 |
|
18-Jan-2005 |
4!tgraf <4!tgraf> |
Use NLMSG_TAIL (Logical change 1.127)
/external/iproute2/tc/q_tbf.c
|
95812b56a5a66e7e9a21744cfe8bc0bb9791ea98 |
|
28-Sep-2004 |
net[shemminger]!kaber <net[shemminger]!kaber> |
: prevent tc crashes (Logical change 1.81)
/external/iproute2/tc/q_tbf.c
|
f2f99e2eefdbd9cb6a750b19a7b3036db351b983 |
|
31-Aug-2004 |
osdl.net!shemminger <osdl.net!shemminger> |
no longer need xstats stub (Logical change 1.77)
/external/iproute2/tc/q_tbf.c
|
aba5acdfdb347d2c21fc67d613d83d4430ca3937 |
|
15-Apr-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
(Logical change 1.3)
/external/iproute2/tc/q_tbf.c
|
86fdf0e47be697587efcf9602cd1f952a1d73170 |
|
15-Apr-2004 |
osdl.org!shemminger <osdl.org!shemminger> |
Initial revision
/external/iproute2/tc/q_tbf.c
|