- 14 Mar, 2012 1 commit
-
-
Stephen Hemminger authored
Follow convention of kernel and keep cscope file around after make clean.
-
- 10 Mar, 2012 1 commit
-
-
Andreas Henriksson authored
As reported by Thomas Mühlgrabner <muehltom@cable.vol.at> in http://bugs.debian.org/662979 : When showing htb class configuration with "tc -iec class show", the output for Mibit is actually the value for bit. Example: configure a class with a ceil of 1000Mibit. Output states 1048576000 Mibit. The cause is missing parenteses in the display code of tc.... (Please also note that a lower value of 100Mibit will be displayed as 102400 Kibit, which I think is kind of ugly.) Reported-by: Thomas Mühlgrabner <muehltom@cable.vol.at> Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 27 Feb, 2012 1 commit
-
-
Yegor Yefremov authored
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>
-
- 22 Feb, 2012 2 commits
-
-
Petr Sabata authored
Just a minor correction of mqprio printf()'s. Reported-by: Petr Písař <ppisar@redhat.com> Signed-off-by: Petr Šabata <contyk@redhat.com>
-
Stephen Hemminger authored
On 64 bit platform, casting to unsigned long long is unnecessary. Use inttypes.h and stdtypes.h to resolve it.
-
- 17 Feb, 2012 3 commits
-
-
Stephen Hemminger authored
A new option -p is added to the arpd command that accepts a time indicating the number of seconds to wait between kernel arp table polling attempts. The minimum value is .1 (100ms). If not specified, polling defaults to 30 seconds. Patch by Erik Hugne <erik.hugne@ericsson.com> with modifications
-
Stephen Hemminger authored
Rather than copy-pasting code using sendmsg/recvmsg, use the simpler send() and recv() system calls.
-
Matt Tierney authored
ss: Close file descriptors in tcp_show_netlink. Signed-off-by: Matt Tierney <tierney@cs.nyu.edu>
-
- 15 Feb, 2012 2 commits
-
-
Stephen Hemminger authored
/tmp is a dangerous place and better to put log files in /var/log. Based on patch by Vasiliy Kulikov <segoon@openwall.com>
-
Stephen Hemminger authored
Based on patch by Vasiliy Kulikov <segoon@openwall.com> Don't use /tmp since it is dangerous, instead put temporary files from configure script in build directory. This is what autoconf generated configure does.
-
- 09 Feb, 2012 3 commits
-
-
Tony Zelenoff authored
Signed-off-by: Tony Zelenoff <antonz@parallels.com>
-
Tony Zelenoff authored
New "ip neigh show proxy" command now can show proxies which were added with "ip neigh add proxy" command. Kernel code to support this feature sent a bit earlier to netdev. Signed-off-by: Tony Zelenoff <antonz@parallels.com>
-
Greg Rose authored
Add documentation for the ip link set spoof checking option. The expanded text section explaining the VF commands was missing this text. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-
- 06 Feb, 2012 2 commits
-
-
Stephen Hemminger authored
red now uses pow() function.
-
Stephen Hemminger authored
Warning from C++
-
- 30 Jan, 2012 1 commit
-
-
Eric Dumazet authored
ss -x currently fails if CONFIG_INET_UDP_DIAG=n or old kernels Also close file descriptors while we are at it. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Pavel Emelyanov <xemul@parallels.com>
-
- 24 Jan, 2012 4 commits
-
-
Eric Dumazet authored
Add documentation about RED mode, and new parameters (flows, depth) added in linux 3.3 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
include documentation for harddrop and adaptive parameters. All parameters but limit and avpkt are optional. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Vijay Subramanian authored
The syntax used in the example on reordering in the manpage is inconsistent with the usage syntax. Moreover, the text does not describe the reordering process in the kernel correctly. This patch fixes these two issues. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Vijay Subramanian authored
Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
- 20 Jan, 2012 10 commits
-
-
Stephen Hemminger authored
Get updated headers incorporated into build environment and include required sock_diag.h.
-
Pavel Emelyanov authored
Get the same info as from /proc file plus the peer inode. Applies on top of new sock diag patch and udp diag patch. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
nick black authored
Fix synopsis and other references to match current code.
-
Vijay Subramanian authored
(Resending patch since it looks like my earlier mail did not make it to netdev). netem reordering requires that the delay parameter be given. Currently, if no delay is given, tc prints the error message but still installs the qdisc. Fix this by printing the usage and failing cleanly. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Restore compatiablity for those lazy typists.
-
Eric Dumazet authored
TCA_GRED_MAX_P permits to express high resolution probabilities. New output (on 3.3+ kernel) : disc gred 9442: root refcnt 17 DP:0 (prio 1) Average Queue 0b Measured Queue 0b Packet drops: 0 (forced 0 early 0) Packet totals: 20 (bytes 2584) limit 31460b min 3000b max 9000b ewma 5 probability 0.05 Scell_log 15 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
TCA_CHOKE_MAX_P permits to express high resolution RED probability. tc qdisc add dev $DEV parent 1:1 handle 10: est 1sec 8sec choke \ limit 90 ecn min 10 max 30 probability 0.05 bandwidth 10Mbit Before patch : tc -s -d qdisc show dev eth3 qdisc ... limit 90p min 10p max 30p ecn ewma 3 Plog 19 Scell_log 13 After : qdisc ... limit 90p min 10p max 30p ecn ewma 3 probability 0.05 Scell_log 13 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
Adds an optional Random Early Detection on each SFQ flow queue. Traditional SFQ limits count of packets, while RED permits to also control number of bytes per flow, and adds ECN capability as well. 1) We dont handle the idle time management in this RED implementation, since each 'new flow' begins with a null qavg. We really want to address backlogged flows. 2) if headdrop is selected, we try to ecn mark first packet instead of currently enqueued packet. This gives faster feedback for tcp flows compared to traditional RED [ marking the last packet in queue ] Example of use : tc qdisc add dev $DEV parent 1:1 handle 10: est 1sec 4sec sfq \ limit 3000 headdrop flows 512 divisor 16384 \ redflowlimit 100000 min 8000 max 60000 probability 0.20 ecn qdisc sfq 10: parent 1:1 limit 3000p quantum 1514b depth 127 headdrop flows 512/16384 divisor 16384 ewma 6 min 8000b max 60000b probability 0.2 ecn prob_mark 0 prob_mark_head 4876 prob_drop 6131 forced_mark 0 forced_mark_head 0 forced_drop 0 Sent 1175211782 bytes 777537 pkt (dropped 6131, overlimits 11007 requeues 0) rate 99483Kbit 8219pps backlog 689392b 456p requeues 0 In this test, with 64 netperf TCP_STREAM sessions, 50% using ECN enabled flows, we can see number of packets CE marked is smaller than number of drops (for non ECN flows) If same test is run, without RED, we can check backlog is much bigger. qdisc sfq 10: parent 1:1 limit 3000p quantum 1514b depth 127 headdrop flows 512/16384 divisor 16384 Sent 1148683617 bytes 795006 pkt (dropped 0, overlimits 0 requeues 0) rate 98429Kbit 8521pps backlog 1221290b 841p requeues 0 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
Reported-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
- 19 Jan, 2012 7 commits
-
-
Eric Dumazet authored
Enable Adaptative RED algo, using : tc qdisc ... red limit BYTES ... adaptative ... Support of high precision probability/max_p setting and reporting, with support of old kernels. With a new kernel, "Plog ..." is replaced in tc output by "probability value" : qdisc red 10: dev eth3 parent 1:1 limit 360Kb min 30Kb max 90Kb ecn ewma 5 probability 0.09 Scell_log 15
-
Stephen Hemminger authored
Fixed up version of patch from Hagen Paul Pfeifer <hagen@jauu.net> Also run spell check.
-
Hagen Paul Pfeifer authored
This patch add rate shaping as well as cell support. The link-rate can be specified via rate options. Three optional arguments control the cell knobs: packet-overhead, cell-size, cell-overhead. To ratelimit eth0 root queue to 5kbit/s, with a 20 byte packet overhead, 100 byte cell size and a 5 byte per cell overhead: tc qdisc add dev eth0 root netem rate 5kbit 20 100 5 Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
-
Hagen Paul Pfeifer authored
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
-
Masatake YAMATO authored
This is trivial patch for libnetlink.c in iproute2. In iproute2/include/linux/netlink.h NLM_F_DUMP is defines as: #define NLM_F_DUMP (NLM_F_ROOT|NLM_F_MATCH) It is not used in libnetlink.c. If used, the code becomes a bit easier to read. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Vijay Subramanian authored
Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Stephen Hemminger authored
Incorporate change to fix inet_diag build failure.
-
- 10 Jan, 2012 3 commits
-
-
Stephen Hemminger authored
Initial merge window version of headers
-
Stephen Hemminger authored
lintian says: W: iproute: manpage-has-bad-whatis-entry usr/share/man/man7/tc-hfsc.7.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-address.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-addrlabel.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-link.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-maddress.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-monitor.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-mroute.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-neighbour.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-netns.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-ntable.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-route.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-rule.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-tunnel.8.gz W: iproute: manpage-has-bad-whatis-entry usr/share/man/man8/ip-xfrm.8.gz
-
Stephen Hemminger authored
Leftover from change to original code.
-