History log of /external/iproute2/tc/Makefile
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8f9afdd531560c1534be44424669add2e19deeec 12-Jan-2016 Daniel Borkmann <daniel@iogearbox.net> tc, clsact: add clsact frontend

Add the tc part for the kernel commit 1f211a1b929c ("net, sched: add
clsact qdisc"). Quoting example usage from that commit description:

Example, adding qdisc:

# tc qdisc add dev foo clsact
# tc qdisc show dev foo
qdisc mq 0: root
qdisc pfifo_fast 0: parent :1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :3 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: parent :4 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc clsact ffff: parent ffff:fff1

Adding filters (deleting, etc works analogous by specifying ingress/egress):

# tc filter add dev foo ingress bpf da obj bar.o sec ingress
# tc filter add dev foo egress bpf da obj bar.o sec egress
# tc filter show dev foo ingress
filter protocol all pref 49152 bpf
filter protocol all pref 49152 bpf handle 0x1 bar.o:[ingress] direct-action
# tc filter show dev foo egress
filter protocol all pref 49152 bpf
filter protocol all pref 49152 bpf handle 0x1 bar.o:[egress] direct-action

The ingress parent alias can also be used with ingress qdisc.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
/external/iproute2/tc/Makefile
30eb304ecd1dd7e452847fabea779de0dbe3f1a5 15-May-2015 Jiri Pirko <jiri@resnulli.us> tc: add support for Flower classifier

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/tc/Makefile
4bd624467bc6f8f6e8b4c676f3dd8ae7593fbe70 16-Apr-2015 Daniel Borkmann <daniel@iogearbox.net> tc: built-in eBPF exec proxy

This work follows upon commit 6256f8c9e45f ("tc, bpf: finalize eBPF
support for cls and act front-end") and takes up the idea proposed by
Hannes Frederic Sowa to spawn a shell (or any other command) that holds
generated eBPF map file descriptors.

File descriptors, based on their id, are being fetched from the same
unix domain socket as demonstrated in the bpf_agent, the shell spawned
via execvpe(2) and the map fds passed over the environment, and thus
are made available to applications in the fashion of std{in,out,err}
for read/write access, for example in case of iproute2's examples/bpf/:

# env | grep BPF
BPF_NUM_MAPS=3
BPF_MAP1=6 <- BPF_MAP_ID_QUEUE (id 1)
BPF_MAP0=5 <- BPF_MAP_ID_PROTO (id 0)
BPF_MAP2=7 <- BPF_MAP_ID_DROPS (id 2)

# ls -la /proc/self/fd
[...]
lrwx------. 1 root root 64 Apr 14 16:46 0 -> /dev/pts/4
lrwx------. 1 root root 64 Apr 14 16:46 1 -> /dev/pts/4
lrwx------. 1 root root 64 Apr 14 16:46 2 -> /dev/pts/4
[...]
lrwx------. 1 root root 64 Apr 14 16:46 5 -> anon_inode:bpf-map
lrwx------. 1 root root 64 Apr 14 16:46 6 -> anon_inode:bpf-map
lrwx------. 1 root root 64 Apr 14 16:46 7 -> anon_inode:bpf-map

The advantage (as opposed to the direct/native usage) is that now the
shell is map fd owner and applications can terminate and easily reattach
to descriptors w/o any kernel changes. Moreover, multiple applications
can easily read/write eBPF maps simultaneously.

To further allow users for experimenting with that, next step is to add
a small helper that can get along with simple data types, so that also
shell scripts can make use of bpf syscall, f.e to read/write into maps.

Generally, this allows for prepopulating maps, or any runtime altering
which could influence eBPF program behaviour (f.e. different run-time
classifications, skb modifications, ...), dumping of statistics, etc.

Reference: http://thread.gmane.org/gmane.linux.network/357471/focus=357860
Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
/external/iproute2/tc/Makefile
b8d5c9a71bfba87405e6d169760dd8db41a4bbdf 15-Feb-2015 Felix Fietkau <nbd@openwrt.org> tc: add support for connmark action

Add ability to add the netfilter connmark support.

Typical usage:
...lets tag outgoing icmp with mark 0x10..
iptables -tmangle -A PREROUTING -p icmp -j CONNMARK --set-mark 0x10
..add on ingress of $ETH an extractor for connmark...
tc filter add dev $ETH parent ffff: prio 4 protocol ip \
u32 match ip protocol 1 0xff \
flowid 1:1 \
action connmark continue
...if the connmark was 0x11, we police to a ridic rate of 10Kbps
tc filter add dev $ETH parent ffff: prio 5 protocol ip \
handle 0x11 fw flowid 1:1 \
action police rate 10kbit burst 10k

Other ways to use the connmark is to supply the zone, index and
branching choice. Refer to help.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
/external/iproute2/tc/Makefile
11c39b5e98a163889fe5e1840e1b2a105bc33680 16-Mar-2015 Daniel Borkmann <daniel@iogearbox.net> tc: add eBPF support to f_bpf

This work adds the tc frontend for kernel commit e2e9b6541dd4 ("cls_bpf:
add initial eBPF support for programmable classifiers").

A C-like classifier program (f.e. see e2e9b6541dd4) is being compiled via
LLVM's eBPF backend into an ELF file, that is then being passed to tc. tc
then loads, if any, eBPF maps and eBPF opcodes (with fixed-up eBPF map file
descriptors) out of its dedicated sections, and via bpf(2) into the kernel
and then the resulting fd via netlink down to cls_bpf. cls_bpf allows for
annotations, currently, I've used the file name for that, so that the user
can easily identify his filter when dumping configurations back.

Example usage:

clang -O2 -emit-llvm -c cls.c -o - | llc -march=bpf -filetype=obj -o cls.o
tc filter add dev em1 parent 1: bpf run object-file cls.o classid x:y

tc filter show dev em1 [...]
filter parent 1: protocol all pref 49152 bpf handle 0x1 flowid x:y cls.o

I placed the parser bits derived from Alexei's kernel sample, into tc_bpf.c
as my next step is to also add the same support for BPF action, so we can
have a fully fledged eBPF classifier and action in tc.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
/external/iproute2/tc/Makefile
86ab59a6660f12302049cb3ad88fb2c2c9a716f2 19-Jan-2015 Jiri Pirko <jiri@resnulli.us> tc: add support for BPF based actions

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/tc/Makefile
1d129d191a3a632e05cf440c15aaffe23e0fa798 19-Jan-2015 Jiri Pirko <jiri@resnulli.us> tc: push bpf common code into separate file

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/tc/Makefile
67e1d73be1b8e92f2daa403164b841ace820ff54 24-Dec-2014 Vadim Kochan <vadim4j@gmail.com> tc: Allow to easy change network namespace

Added new '-netns' option to simplify executing following cmd:

ip netns exec NETNS tc OPTIONS COMMAND OBJECT

to

tc -n[etns] NETNS OPTIONS COMMAND OBJECT

e.g.:

tc -net vnet0 qdisc

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/tc/Makefile
8b1c0216d8dc559d0add4fc683735f280c77f678 21-Nov-2014 Jiri Pirko <jiri@resnulli.us> tc: add support for vlan tc action

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Reviewed-by: Cong Wang <cwang@twopensource.com>
/external/iproute2/tc/Makefile
ac74bd2a718b556d9215425919f99947120149db 09-May-2014 Terry Lam <vtlam@google.com> support for Heavy Hitter Filter (HHF) qdisc

$tc qdisc add dev eth0 hhf help
Usage: ... hhf [ limit PACKETS ] [ quantum BYTES]
[ hh_limit NUMBER ]
[ reset_timeout TIME ]
[ admit_bytes BYTES ]
[ evict_timeout TIME ]
[ non_hh_weight NUMBER ]

$tc -s -d qdisc show dev eth0
qdisc hhf 8005: root refcnt 32 limit 1000p quantum 1514 hh_limit 2048
reset_timeout 40.0ms admit_bytes 131072 evict_timeout 1.0s non_hh_weight 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
drop_overlimit 0 hh_overlimit 0 tot_hh 0 cur_hh 0

HHF qdisc parameters:
- limit: max number of packets in qdisc (default 1000)
- quantum: max deficit per RR round (default 1 MTU)
- hh_limit: max number of HHs to keep states (default 2048)
- reset_timeout: time to reset HHF counters (default 40ms)
- admit_bytes: counter thresh to classify as HH (default 128KB)
- evict_timeout: threshold to evict idle HHs (default 1s)
- non_hh_weight: DRR weight for mice (default 2)

Signed-off-by: Terry Lam <vtlam@google.com>
/external/iproute2/tc/Makefile
80dd880dd099de8bde08cb07505e2c07a2e9c065 08-Jan-2014 Vijay Subramanian <vijaynsu@cisco.com> PIE: Proportional Integral controller Enhanced

Proportional Integral controller Enhanced (PIE) is a scheduler to address the
bufferbloat problem.

We present here a lightweight design, PIE(Proportional Integral controller
Enhanced) that can effectively control the average queueing latency to a target
value. Simulation results, theoretical analysis and Linux testbed results have
shown that PIE can ensure low latency and achieve high link utilization under
various congestion situations. The design does not require per-packet
timestamp, so it incurs very small overhead and is simple enough to implement
in both hardware and software. "

For more information, please see technical paper about PIE in the IEEE
Conference on High Performance Switching and Routing 2013. A copy of the paper
can be found at ftp://ftpeng.cisco.com/pie/.

Please also refer to the IETF draft submission at
http://tools.ietf.org/html/draft-pan-tsvwg-pie-00

All relevant code, documents and test scripts and results can be found at
ftp://ftpeng.cisco.com/pie/.

For problems with the iproute2/tc or Linux kernel code, please contact Vijay
Subramanian (vijaynsu@cisco.com or subramanian.vijay@gmail.com) Mythili Prabhu
(mysuryan@cisco.com)

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Signed-off-by: Mythili Prabhu <mysuryan@cisco.com>
CC: Dave Taht <dave.taht@bufferbloat.net>
/external/iproute2/tc/Makefile
d05df6861f99f251282e59f36dd94d7ff28d1bb8 28-Oct-2013 Daniel Borkmann <dborkman@redhat.com> tc: add cls_bpf frontend

This is the iproute2 part of the kernel patch "net: sched:
add BPF-based traffic classifier".

[Will re-submit later again for iproute2 when window for
-next submissions opens.]

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Cc: Thomas Graf <tgraf@suug.ch>
/external/iproute2/tc/Makefile
087f46ee4ebd178a2a8562989fd9a4e02c93f406 29-Sep-2013 Jamal Hadi Salim <jhs@mojatatu.com> tc: introduce simple action

Simple action is already in the kernel for years now as an
example. This complements it with user space control.

Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
/external/iproute2/tc/Makefile
bc113e46a3cd06973b37b13c06db3f5f459502f8 30-Aug-2013 Eric Dumazet <edumazet@google.com> pkt_sched: fq: Fair Queue packet scheduler

Support for FQ packet scheduler

$ tc qd add dev eth0 root fq help
Usage: ... fq [ limit PACKETS ] [ flow_limit PACKETS ]
[ quantum BYTES ] [ initial_quantum BYTES ]
[ maxrate RATE ] [ buckets NUMBER ]
[ [no]pacing ]

$ tc -s -d qd
qdisc fq 8002: dev eth0 root refcnt 32 limit 10000p flow_limit 100p
buckets 256 quantum 3028 initial_quantum 15140
Sent 216532416 bytes 148395 pkt (dropped 0, overlimits 0 requeues 14)
backlog 0b 0p requeues 14
511 flows (511 inactive, 0 throttled)
110 gc, 0 highprio, 0 retrans, 1143 throttled, 0 flows_plimit

limit : max number of packets on whole Qdisc (default 10000)

flow_limit : max number of packets per flow (default 100)

quantum : the max deficit per RR round (default is 2 MTU)

initial_quantum : initial credit for new flows (default is 10 MTU)

maxrate : max per flow rate (default : unlimited)

buckets : number of RB trees (default : 1024) in hash table.
(consumes 8 bytes per bucket)

[no]pacing : disable/enable pacing (default is enable)

Usage :

tc qdisc add dev $ETH root fq

tc qdisc del dev $ETH root 2>/dev/null
tc qdisc add dev $ETH root handle 1: mq
for i in `seq 1 4`
do
tc qdisc add dev $ETH parent 1:$i est 1sec 4sec fq
done

Signed-off-by: Eric Dumazet <edumazet@google.com>
/external/iproute2/tc/Makefile
5ab3a4de5ec5d6451ad17b781ff25dfa1932587f 06-Feb-2013 Benjamin Poirier <bpoirier@suse.de> Use pkg-config to obtain xtables.h path

On openSUSE 12.2 (at least) xtables.h is not installed in the system-wide
include dir but in /usr/include/iptables-1.4.16.3/. This results in the
following build failure:
em_ipset.c:26:21: fatal error: xtables.h: No such file or directory

Other includers of xtables.h already call out to pkg-config
/external/iproute2/tc/Makefile
e4fc4ada3317ea94452576add25981279d705b14 08-Nov-2012 Mike Frysinger <vapier@gentoo.org> allow pkg-config to be customized

Rather than hard coding `pkg-config`, use ${PKG_CONFIG} so people can
override it to their specific version (like when cross-compiling).

This is the same way the upstream pkg-config code works.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/Makefile
92905c6e0d260db39b9ddd736182eaa9a44615a7 02-Oct-2012 Matt Burgess <matthew@linuxfromscratch.org> iproute2-3.6.0 assumes presence of iptables

Hi,

When compiling iproute2-3.6.0 on a host that doesn't have iptables available, I get the following error:

gcc -Wall -Wstrict-prototypes -O2 -I../include -DRESOLVE_HOSTNAMES
-DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE
-DCONFIG_GACT -DCONFIG_GACT_PROB -DYY_NO_INPUT -c -o em_ipset.o
em_ipset.c
em_ipset.c:26:21: fatal error: xtables.h: No such file or directory

Fixed by the following patch, which guards the building of em_ipset.o on
the presence of suitable headers.

Thanks,

Matt.
/external/iproute2/tc/Makefile
7b5f30e14fe19d25a0fb75d68e9dbad3158b6173 20-Aug-2012 Rostislav Lisovy <lisovy@gmail.com> Ematch used to classify CAN frames according to their identifiers

This ematch enables effective filtering of CAN frames (AF_CAN) based
on CAN identifiers with masking of compared bits. Implementation
utilizes bitmap based classification for standard frame format (SFF)
which is optimized for minimal overhead.

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
/external/iproute2/tc/Makefile
8194411a426584330d3bea0498641bbfe86c8933 09-Aug-2012 Florian Westphal <fw@strlen.de> tc: add ipset ematch

example usage:
tc filter add dev $dev parent $id: basic match not ipset'(foobar src)' ..

also updates iproute2/ematch_map, else tc complains:
Error: Unable to find ematch "ipset" in /etc/iproute2/ematch_map
Please assign a unique ID to the ematch kind the suggested entry is:
8 ipset

when trying to use this ematch.

(text ematch (5) only exists in kernel, a vlan ematch (6) exists neither in
kernel nor userspace, but kernel headers define TCF_EM_VLAN == 6).
/external/iproute2/tc/Makefile
c3524efc14e3112329a18bc699dd99437fae9a5c 11-May-2012 Eric Dumazet <edumazet@google.com> fq_codel: Fair Queue Codel AQM

Fair Queue Codel packet scheduler

Principles :

- Packets are classified (internal classifier or external) on flows.
- This is a Stochastic model (as we use a hash, several flows might
be hashed on same slot)
- Each flow has a CoDel managed queue.
- Flows are linked onto two (Round Robin) lists,
so that new flows have priority on old ones.

- For a given flow, packets are not reordered (CoDel uses a FIFO)
- head drops only.
- ECN capability is on by default.
- Very low memory footprint (64 bytes per flow)

tc qdisc ... fq_codel [ limit PACKETS ] [ flows number ]
[ target TIME ] [ interval TIME ] [ noecn ]
[ quantum BYTES ]

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Dave Taht <dave.taht@bufferbloat.net>
Cc: Kathleen Nichols <nichols@pollere.com>
Cc: Van Jacobson <van@pollere.net>
Cc: Tom Herbert <therbert@google.com>
Cc: Matt Mathis <mattmathis@google.com>
Cc: Nandita Dukkipati <nanditad@google.com>
Cc: Maciej Żenczykowski <maze@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Changli Gao <xiaosuo@gmail.com>
/external/iproute2/tc/Makefile
185d88f99b16accb05add11bdc7b3ca6c12dfac0 10-May-2012 Eric Dumazet <edumazet@google.com> tc_codel: Controlled Delay AQM

An implementation of CoDel AQM, from Kathleen Nichols and Van Jacobson.

http://queue.acm.org/detail.cfm?id=2209336

This AQM main input is no longer queue size in bytes or packets, but the
delay packets stay in (FIFO) queue.

As we don't have infinite memory, we still can drop packets in enqueue()
in case of massive load, but mean of CoDel is to drop packets in
dequeue(), using a control law based on two simple parameters :

target : target sojourn time (default 5ms)
interval : width of moving time window (default 100ms)

Selected packets are dropped, unless ECN is enabled and packets can get
ECN mark instead.

Usage: tc qdisc ... codel [ limit PACKETS ] [ target TIME ]
[ interval TIME ] [ ecn ]

qdisc codel 10: parent 1:1 limit 2000p target 3.0ms interval 60.0ms ecn
Sent 13347099587 bytes 8815805 pkt (dropped 0, overlimits 0 requeues 0)
rate 202365Kbit 16708pps backlog 113550b 75p requeues 0
count 116 lastcount 98 ldelay 4.3ms dropping drop_next 816us
maxpacket 1514 ecn_mark 84399 drop_overlimit 0

CoDel must be seen as a base module, and should be used keeping in mind
there is still a FIFO queue. So a typical setup will probably need a
hierarchy of several qdiscs and packet classifiers to be able to meet
whatever constraints a user might have.

One possible example would be to use fq_codel, which combines Fair
Queueing and CoDel, in replacement of sfq / sfq_red.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
/external/iproute2/tc/Makefile
5c434a9e5a5eafec09ec9939b255948843423f80 01-Mar-2012 Christoph J. Thompson <cjsthompson@gmail.com> iproute2 - Fix up and simplify variables pointing to install directories

Define where is the are located the iproute2 config files.
Get rid of trailing slashes for paths in several file.

Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
/external/iproute2/tc/Makefile
8ced4fcd50dbbf7a0219ff5705390e6f89ba434c 27-Feb-2012 Yegor Yefremov <yegorslists@googlemail.com> iproute2: cleanup dependencies

LIBNETLINK will be defined in the main Makefile, so
both ../lib/libnetlink.a ../lib/libutil.a will be
automatically appended during linking. Otherwise
../lib/libnetlink.a ../lib/libutil.a will appear
twice during linking.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
/external/iproute2/tc/Makefile
d7aa57d450b2b651e9115d5d9ad6bf0f433798da 24-Sep-2011 Jan Engelhardt <jengelh@medozas.de> iproute2: proper detection of libxtables position and flags

Upstream: not sent yet

Any tests involving iptables _MUST_ utilize pkg-config to find the
proper locations of the installation.
/external/iproute2/tc/Makefile
155ad8023b2be449752e396306fb67785fb1ba8d 03-Jan-2012 Stephen Hemminger <shemminger@vyatta.com> ematch: fix warning about unused input()

Use existing compile flag to indicate that input() is not used
by tc ematch, fixes compiler warning.
/external/iproute2/tc/Makefile
93ba481acbbdfbbc5de2bf181c9cfe5549d66cdd 03-Nov-2011 Stephen Hemminger <shemminger@vyatta.com> cleanup ematch yacc files

make clean needs to remove all the yacc output files for ematch.
/external/iproute2/tc/Makefile
aa48b5931a069b8f8faf41c2efc769f3127b28d6 18-Oct-2011 Mike Frysinger <vapier@gentoo.org> tc: fix parallel build file with lex/yacc

Building iproute2 in parallel might hit the race failure:
emp_ematch.l:2:30: fatal error: emp_ematch.yacc.h:
No such file or directory
make[1]: *** [emp_ematch.lex.o] Error 1

This is because we currently allow the yacc/lex files to generate and
compile in parallel. So add a simple dependency to make sure yacc has
finished before we attempt to compile the lex output.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/Makefile
c441bd4c1be614c022bc7a2b8804ad368d7bb484 07-Jan-2011 Stephen Hemminger <stephen.hemminger@vyatta.com> Add QFQ scheduler

Basic configuration support for QFQ.
Still need to add manual page.
/external/iproute2/tc/Makefile
914953046aac346b16143eee1c04b8a49bec8c8e 12-Apr-2011 John Fastabend <john.r.fastabend@intel.com> 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>
/external/iproute2/tc/Makefile
d7f3299d591e31f84ea3b8d4549d4019da1f9a7b 24-Mar-2011 Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr> tc : SFB flow scheduler

Supports SFB qdisc (included in linux-2.6.39)

1) Setup phase : accept non default parameters

2) dump information

qdisc sfb 11: parent 1:11 limit 1 max 25 target 20
increment 0.00050 decrement 0.00005 penalty rate 10 burst 20 (600000ms 60000ms)
Sent 47991616 bytes 521648 pkt (dropped 549245, overlimits 549245 requeues 0)
rate 7193Kbit 9774pps backlog 0b 0p requeues 0
earlydrop 0 penaltydrop 0 bucketdrop 0 queuedrop 549245 childdrop 0 marked 0
maxqlen 0 maxprob 0.00000 avgprob 0.00000

Signed-off-by: Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
/external/iproute2/tc/Makefile
a4eca97cff0391d73b4ad4d5598cdc9a35771fa4 13-Jan-2011 Stephen Hemminger <stephen.hemminger@vyatta.com> CHOKe scheduler

TC commands for CHOKe qdisc
/external/iproute2/tc/Makefile
3822cc986cc33751b82a22b91289ef088d94440c 01-Dec-2010 Gregoire Baron <baronchon@n7mm.org> tc: add ACT_CSUM action support (csum)

Add the iproute2 support for the ACT_CSUM action. Can be used as
following, certainly in conjunction with the ACT_PEDIT action (pedit):

# In order to DNAT (stateless) IPv4 packet from 192.168.1.100 to
# 0x12345678 (18.52.86.120), and update the IPv4 header checksum and
# the UDP checksum (the last one, only if the packet is UDP).
tc filter add eth0 prio 1 protocol ip parent ffff: \
u32 match ip src 192.168.1.100/32 flowid :1 \
action pedit munge offset 16 u32 set 0x12345678 \
pipe csum ip and udp

# In order to alter destination address of IPv6 TCP packets from fc00::1
# and correct the TCP checksum (nothing happened? except maybe for
# checksums in the TCP payload ...).
tc filter add eth0 prio 1 protocol ipv6 parent ffff: \
u32 match ip6 src fc00::1/128 match ip6 protocol 0x06 0xff flowid :1 \
action pedit munge offset 24 u32 set 0x12345678 \
pipe csum tcp
/external/iproute2/tc/Makefile
bf512683e07796af0d8a1dd33e572d319ddb3895 09-Jun-2010 Mike Frysinger <vapier@gentoo.org> tc: revert "echo" in install target

The recent commit "iproute2: add option to build m_xt as a tc module"
(ab814d635529787) looks like it wrongly included debug changes in the
install target. So drop the `echo` so the tc binary actually gets
installed again.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/Makefile
ab814d635529787036b3caddb590034a4e6a48e6 12-Apr-2010 Andreas Henriksson <andreas@fatal.se> iproute2: add option to build m_xt as a tc module (v3)

This will build the xt module (action ipt) of tc as a
shared object that is linked at runtime by tc if used,
rather then built into tc.

This is similar to how the atm qdisc support
is handled (q_atm.so).

Signed-off-by: Andreas Henriksson <andreas@xxxxxxxx>
/external/iproute2/tc/Makefile
12ddfff76ca4a373d50fd2ac7fff2bd4e0883955 11-Mar-2010 Andreas Henriksson <andreas@fatal.se> iproute2: detect iptables modules dir in configure.

Try to automatically detect iptables modules directory.

Make the configure script look for iptables modules.
This also makes it possible to specify it on the
command line while building via "make IPT_LIB_DIR=/foo/bar".

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/tc/Makefile
73152614bcab505198f443d3f79fb090ba458e51 26-Dec-2009 Mike Frysinger <vapier@gentoo.org> tc: respect LDFLAGS for %.so targets

Since there aren't any targets that currently use this pattern rule, this
is more of a proactive fix.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/Makefile
80d689d055b2169b390a7cd4ca2c01ba871d02a2 02-Dec-2009 Andreas Henriksson <andreas@fatal.se> Keep the old tc/ipt/xt module for compatibility.

Move the file and rename the configure flags.
The file is being kept around for iptables < 1.4.5 compatibility.

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
/external/iproute2/tc/Makefile
f2e27cfb016e2465cd3f07e0b556058060702578 06-Nov-2009 Mike Frysinger <vapier@gentoo.org> support static-only systems

The iptables code supports a "no shared libs" mode where it can be used
without requiring dlfcn related functionality. This adds similar support
to iproute2 so that it can easily be used on systems like nommu Linux (but
obviously with a few limitations -- no dynamic plugins).

Rather than modify every location that uses dlfcn.h, I hooked the dlfcn.h
header with stub functions when shared library support is disabled. Then
symbol lookup is done via a local static lookup table (which is generated
automatically at build time) so that internal symbols can be found.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/Makefile
729cbe84b8773ae93dc04de7a6e91b3e291c3c95 30-May-2009 Mike Frysinger <vapier@gentoo.org> tc/q_atm.so: respect LDFLAGS

The q_atm.so target defines its own link target, but it doesn't respect the
$(LDFLAGS) variable.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/Makefile
ff213c4bf2df55e955a7dc4cce89bdbfa6bb2289 09-Apr-2009 Thomas Graf <tgraf@infradead.org> cgroup support

Stephen,

iproute2 part of the cgroup classifier that has been included upstream
for a while. Please apply.
/external/iproute2/tc/Makefile
63c7d26f941df1c7aa4a18bac5b3a777bc66216a 07-Feb-2009 Jamal Hadi Salim <hadi@cyberus.ca> Breakage noticed when debian upgraded to xtables (iptables > 1.4.1)

Many thanks to Yevgeny Kosarzhevsky <yevg@pisem.net> for reporting
and a lot of testing

Thanks to Jan Engelhardt <jengelh@medozas.de> for a lot of advice
Thanks to Denys Fedoryschenko <denys@visp.net.lb> for some sample
code that he tried and thanks to Andreas Henriksson <andreas@fatal.se>
(who maintains iproute2 on debian) for the persistent followup.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
/external/iproute2/tc/Makefile
c86f34942a0ce9f8203c0c38f9fe9604f96be706 19-Nov-2008 Patrick McHardy <kaber@trash.net> iproute: add DRR support

add DRR support

This patch adds support for the DRR scheduler I just sent
to iproute.

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iproute2/tc/Makefile
fe1a34fa81f61bb3000ea6b127480f7cce24af06 05-Dec-2008 Alexander Duyck <alexander.h.duyck@intel.com> add support for multiq qdisc

Add support for multiq qdisc
This patch adds the ability to configure the multiq qdisc. Since the qdisc does not require any input it will pull the number of bands directly from the device that it is added to the root of.

usage: tc qdisc add dev <DEV> root handle <HANDLE> multiq

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/external/iproute2/tc/Makefile
f72a7aab0ce946ca1133cc8b6b7fcb088fbb1d96 07-Jan-2009 Alexander Duyck <alexander.h.duyck@intel.com> add support for skbedit action

Provides ability to edit queue_mapping field
Provides ability to edit priority field

usage: action skbedit [queue_mapping QUEUE_MAPPING] [priority PRIORITY]
at least one option must be select, or both at the same time

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/external/iproute2/tc/Makefile
5e3bb534ae179be141a92eb1a4e2eb48094193b7 22-Aug-2008 Andreas Henriksson <andreas@fatal.se> iproute: DESTDIR vs LIBDIR.

Hello Rafael Almeida.

I noticed your patch adding DESTDIR support in the latest iproute2 release.
Much appreciated! Soon the debian packages might be able to move to actually
using "make install" rather then it's own installation procedure when
building packages. I've noticed something that will break though....

Debian packages usually sets DESTDIR=debian/tmp/ and packages the contents
of that directory as if it where the root file system. This will break
the /usr/lib/{tc,ip}/ module loading, because they DESTDIR (/usr) will be
/whatever-the-build-path-was/debian/tmp/lib/{tc,ip}/.
I beleive others usually call this the LIBDIR to make the separation between
DISTDIR being the (possibly temporary) place things are put when build is
done, and LIBDIR (and others) are used for actual runtime paths.

I'm attaching a patch that I think fixes this, but would be really happy if
you could have a look at to verify I'm not screwing something up.

--
Regards,
Andreas Henriksson

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/Makefile
839c8456fbe08fc2497857673805b84dffb45507 25-Jul-2008 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> add generic size table for qdiscs

Patch adds generic size table that is similiar to rate table, with
difference that size table stores link layer packet size.

Based on patch by Patrick McHardy
http://marc.info/?l=linux-netdev&m=115201979221729&w=2

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/Makefile
b514b3587ee56552fcc87a066c955a7ff4f55d6f 02-Jun-2008 Rafael Almeida <rafaelc@dcc.ufmg.br> Fixed installation when changing DESTDIR

After changing the DESTDIR the installated binaries have some issues
due to hard coded paths. For example, using distributions on NetEm
would segfault.

I've changed iplink.c and tc_util.c so they are now aware of DESTDIR.
Along with that change I needed to change the main Makefile so it
defines the DESTDIR macro when calling gcc.

I also changed the paths so that during the installation sbin, etc,
share and lib directories are created directly inside of the DESTDIR,
instead of creating a usr directory inside that. That's the behaviour
of most packages out there, so I think most users will be expecting
that to happen.
/external/iproute2/tc/Makefile
418a217ad9cea86db79a618465d2a2cc2a08e46a 16-Mar-2008 Mike Frysinger <vapier@gentoo.org> Do not strip binaries with `install`

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/Makefile
9932abb498ca5280027ff57c92a4e948eac41652 31-Jan-2008 Patrick McHardy <kaber@trash.net> Add flow classifier support

[IPROUTE]: Add flow classifier support

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
/external/iproute2/tc/Makefile
fc2d02069b52e0e1fce9045572bd22d197dd91d5 12-Oct-2007 Herbert Xu <herbert@gondor.apana.org.au> Add NAT action

Here's a patch to add support for the nat action which is now
in the kernel.

Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/Makefile
45305c2470e78904b28f147eb81dd40e1e010cf1 16-Oct-2007 Stephen Hemminger <shemminger@linux-foundation.org> add q_rr to tc Makefile

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/Makefile
954df8c66f780746f54d5428ff9baf94f4924834 25-Jun-2007 Stephen Hemminger <shemminger@linux-foundation.org> Snapshot update for 2.6.22

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/Makefile
30af998941d02414400782da29a7048c0f6199bf 21-Jun-2007 Stephen Hemminger <shemminger@linux-foundation.org> netem: static

Make netem static rather than shared library. It saves problems
on 64 bit platforms.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/Makefile
5bec34845bba39dfc1efb409ebc2b158a9f0fbc4 08-Aug-2006 Jamal Hadi Salim <hadi@cyberus.ca> This patch adds ability to monitor tc events similar to ipmonitor.
User runs "tc monitor" (without quotes) and watches events of
addition, deletion and updates from qdiscs, classes, filters and
actions as they happen.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/Makefile
52d5ac3fcb616d3e1979fb91c12213aa2a5bf75e 06-Jul-2005 shemminger <shemminger> Fix build issues
/external/iproute2/tc/Makefile
c0fc3ab4d595d671fdb9bd7b8ecd09bd8177b5f9 23-Jun-2005 shemminger <shemminger> Build of ematch requires bison extensions to yacc.
/external/iproute2/tc/Makefile
87773db55113fa9b7a24a80f959640b53ff2cb92 23-Jun-2005 shemminger <shemminger> Add ematch cleanup
/external/iproute2/tc/Makefile
9ddbb02e50a5e0b54ca3cbacfcff904058a1f0fc 23-Jun-2005 shemminger <shemminger> Add extended matches (nbyte, cmp, u32, meta)
/external/iproute2/tc/Makefile
6cc2f073f35cd3ddf5745984e5681cb4429c441e 09-Feb-2005 osdl.net!shemminger <osdl.net!shemminger> netem source reorg

(Logical change 1.141)
/external/iproute2/tc/Makefile
d5b485564b002d7ffbcdebbe2ce7d89ad0ec9ec9 07-Feb-2005 site!shemminger <site!shemminger> Add experimental distribution.

(Logical change 1.135)
/external/iproute2/tc/Makefile
7e7c737245a48cac0c9386b4cab6c35622fde629 18-Jan-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2.121

(Logical change 1.124)
/external/iproute2/tc/Makefile
1ffd7fd23eeaff57eb3b83b9dbbbda89ddf030e3 18-Jan-2005 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2.110

(Logical change 1.112)
/external/iproute2/tc/Makefile
00fa84801efb1eaca173bf71fb280e45e7f83c4a 08-Dec-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch mirred.patch

(Logical change 1.111)
/external/iproute2/tc/Makefile
d2780ea3fcf9217fdfe82fdc8597982771c70042 31-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> make clean remove .so

(Logical change 1.76)
/external/iproute2/tc/Makefile
9bf19a85ce1f4a165ee5e9161c548a933726e689 30-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Turn on gact by default.

(Logical change 1.75)
/external/iproute2/tc/Makefile
8e64f6fe1fd7c7f52773a1ae10915b060fc008b8 30-Aug-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch gact_iproute-2.6.8_patch

(Logical change 1.74)
/external/iproute2/tc/Makefile
69286fe8b3fe514757b95b2c59d01b44994ece40 30-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Typo in install of distribution files.

(Logical change 1.73)
/external/iproute2/tc/Makefile
a2218e8eb71a6e3d19710953f206d214f75d3435 23-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Auto merged

2004/08/10 10:49:47-07:00 osdl.net!shemminger
change name of dist files.

2004/08/09 16:46:47-07:00 osdl.net!shemminger
Add distribution table loading (undebugged as yet).

(Logical change 1.71)
/external/iproute2/tc/Makefile
6d3692a94ce4d4c3a4c38eb5065ff89bde910a05 14-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> add m_action

(Logical change 1.66)
/external/iproute2/tc/Makefile
96f13b804fc5b73c9b563049a504e6ed20a0262a 09-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> build netem as .so again.

(Logical change 1.63)
/external/iproute2/tc/Makefile
4b1bbd9c18641ba497d97822408f9a3f4550e871 09-Aug-2004 osdl.net!shemminger <osdl.net!shemminger> Remove configuration options for stuff using our copied header files.

(Logical change 1.62)
/external/iproute2/tc/Makefile
1a1ba4bebbcb2bc82fb3abcc11f2f4c3d363be30 31-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> HFSC is configurable

(Logical change 1.60)
/external/iproute2/tc/Makefile
ebafc64da8a592f497e6d84774baef24c7a2ab9e 30-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> HTB might have version mismatch so make it an option

(Logical change 1.59)
/external/iproute2/tc/Makefile
7518df00e72235d3d1f9e355033cb6f147b32435 02-Jul-2004 net[shemminger]!shemminger <net[shemminger]!shemminger> Import patch iproute2-hfsc.diff

(Logical change 1.49)
/external/iproute2/tc/Makefile
d3ea2e81938ae99e48ee5ad928d08e50f1710757 02-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> Build atm and netem as shared libraries

(Logical change 1.47)
/external/iproute2/tc/Makefile
c6fe35d5b38474c810289dd37ddedb009133a4ad 02-Jul-2004 osdl.net!shemminger <osdl.net!shemminger> conditional build of netem

(Logical change 1.43)
/external/iproute2/tc/Makefile
7dd6625c65942a4a2a0ffaa99244a8a8044c8610 28-Jun-2004 osdl.net!shemminger <osdl.net!shemminger> Rename netsim to netem in latest code.

(Logical change 1.39)
/external/iproute2/tc/Makefile
adff36d765a2b67f6cc2d0cacf57f160e80a0291 25-Jun-2004 osdl.net!shemminger <osdl.net!shemminger> Cleaner way to configure

(Logical change 1.33)
/external/iproute2/tc/Makefile
cda17fcd9d3d987f8c9cff33c687814042540512 09-Jun-2004 osdl.org!shemminger <osdl.org!shemminger> Build all the queueing disciplines (includes atm)

(Logical change 1.25)
/external/iproute2/tc/Makefile
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/Makefile
3c535bffc7ec9eafaf941649ca7291d3ba39476c 15-Apr-2004 org[shemminger]!shemminger <org[shemminger]!shemminger> Import patch tc-delay-schedluer

(Logical change 1.5)
/external/iproute2/tc/Makefile
aba5acdfdb347d2c21fc67d613d83d4430ca3937 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> (Logical change 1.3)
/external/iproute2/tc/Makefile
86fdf0e47be697587efcf9602cd1f952a1d73170 15-Apr-2004 osdl.org!shemminger <osdl.org!shemminger> Initial revision
/external/iproute2/tc/Makefile