- 31 Jul, 2012 1 commit
-
-
Ben Hutchings authored
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-
- 26 Jul, 2012 1 commit
-
-
Stephen Hemminger authored
IP multipath algorithms support was removed several revisions ago. Remove from usage as well
-
- 13 Jul, 2012 2 commits
-
-
Stephen Hemminger authored
Alternative solution to problem reported by Pravin B Shelar <pshelar@nicira.com> Split large function ipaddr_list_or_flush into components. Fix memory leak of address and link nlmsg info. Avoid fetching address info if only flushing.
-
Li Wei authored
Add value range for 'limit' parameter.
-
- 12 Jul, 2012 1 commit
-
-
Li Wei authored
Since the get_rate() code incorrectly interpreted bare number, the behavior is not the same as man page and comment described. We need to change the man page and comment for compatible with the existing usage by scripts.
-
- 11 Jul, 2012 1 commit
-
-
Li Wei authored
Add the missing 'delete' command for qdisc, class and filter, and correct 'remove' to 'delete'.
-
- 10 Jul, 2012 3 commits
-
-
Li Wei authored
Because we use the high 16 bits of tcm_info to pass prio value to kernel, thus it's range would be [0, 0xffff], without validation in tc when user pass a lager(>65535) priority, the actual priority set in kernel would confuse the user. So, add a validation to ensure prio in the range.
-
Hiroaki SHIMODA authored
On current firstfrag filter, all non fragmented packets are matched. firstfrag should check MF bit. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
-
Hiroaki SHIMODA authored
The off of icmp_code is not 20 but 21. Also offmask should be 0 unless nexthdr+ is specified. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
-
- 18 Jun, 2012 2 commits
- 11 Jun, 2012 3 commits
-
-
Vijay Subramanian authored
This makes 2 changes: 1: Add fq_codel to SEE ALSO section in tc manpage. 2: Reorder the SEE ALSO section to make the order alphabetical (suggested by Jan Ceuleers ). Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Vijay Subramanian authored
This patch adds the manpage for the FQ_CoDel (Fair Queuing Controlled-Delay) AQM. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Eric Dumazet authored
ip link has quadratic behavior because store_nlmsg() has a head list pointer and search the end of list. Provides a head/tail to cut time. Time with 128000 net devices, to do "ip link show dev xxx" Before: 2m3.594s After: 0m2.830s Signed-off-by: Eric Dumazet <edumazet@google.com>
-
- 04 Jun, 2012 1 commit
-
-
Jan Ceuleers authored
Reported-by: Andy Furniss <andyqos@ukfsn.org> Signed-off-by: Jan Ceuleers <jan.ceuleers@computer.org>
-
- 29 May, 2012 2 commits
-
-
Bjarni Ingi Gislason authored
<groff: tc-drr.8>:67: warning: tab character in unquoted macro argument <groff: tc-drr.8>:69: warning: tab character in unquoted macro argument ********************* Originally filed at: http://bugs.debian.org/674706Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Bjarni Ingi Gislason authored
<groff: tc.8>:51: warning: total indent cannot be negative <groff: tc.8>:57: warning: escape character ignored before `i' ********************* Space at end of line removed General considerations a) Manuals should usually only be left justified. Use ".ad l" as the first regular command. b) Each sentence should begin on a new line. The conventions about the amount of space between sentences are different. This also makes a check on the number of space characters between words easier. c) Separate numbers from units with a (no-break) space. A no-break space can be code 0xA0, "\ " (\<space>), or "\~" (groff). d) Use macros "TS/TE" for tables with more than two columns. Then use '\" t as the first line in the source to tell "man" to use the "tbl" preprocessor. e) Protect last period (full stop) in abbreviations with "\&", if it is or might be (through new formatting of source) at the end of line, if it is also not an end of sentence. ********************* Originally filed at: http://bugs.debian.org/674704Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 25 May, 2012 1 commit
-
-
Jan Ceuleers authored
Signed-off-by: Jan Ceuleers <jan.ceuleers@computer.org>
-
- 24 May, 2012 2 commits
-
-
Vijay Subramanian authored
codel can take 'noecn' as an option. This also makes it consistent with the manpage. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Vijay Subramanian authored
This patch adds the manpage for the CoDel (Controlled-Delay) AQM. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
- 22 May, 2012 7 commits
-
-
Chris Elston authored
Adds support for parsing IPv6 addresses to the parameters local and remote in the l2tp commands. Requires netlink attributes L2TP_ATTR_IP6_SADDR and L2TP_ATTR_IP6_DADDR, added in a required kernel patch already submitted to netdev. Also enables printing of IPv6 addresses returned by the L2TP_CMD_TUNNEL_GET request. Signed-off-by: Chris Elston <celston@katalix.com> Signed-off-by: James Chapman <jchapman@katalix.com>
-
Eric Dumazet authored
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>
-
Eric Dumazet authored
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>
-
Vijay Subramanian authored
This patch provides support for marking packets with ECN instead of dropping them with netem. This makes it possible to make use of the netem ECN marking feature that was added recently to the kernel. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Vijay Subramanian authored
This patch updates the netem manpage to describe how to use netem to mark packets with ecn instead of dropping them. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
Stephen Hemminger authored
These man pages are now built from templates
-
Stephen Hemminger authored
Use sanitized version of kernel headers from 3.5 pre-rc1 merge
-
- 21 May, 2012 3 commits
-
-
Andreas Henriksson authored
Reported by Robert Henney: > the 'ip' man page does not mention the command "del" at all but does > claim, "As a rule, it is possible to add, delete and show (or list ) objects". > however, 'ip' does not always recognize "delete" as a commend. > > robh@debian:~$ ip tunnel delete > Command "delete" is unknown, try "ip tunnel help". Lets use "delete" in all calls to matches() for consistency. This will make both "del" and "delete" work everywhere. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Stephen Hemminger authored
-
Andreas Henriksson authored
Reported by Ivan Vilata i Balaguer <ivan@selidor.net> found that the description of the `ip link add` command in the manpage is outdated regarding the compulsory `link DEVICE` option. For instance, `ip link help` says: Usage: ip link add [link DEV] [ name ] NAME ... But the manpage still says: ip link add link DEVICE [ name ] NAME (Trying to provide a `link` option e.g. under an LXC container can frustrate the creation of dummy devices which don't need an actual device.) The syntax of the "ip link help" output was fixed in commit "iproute2: Fix usage and man page for 'ip link'" (a22e9295). This updates the manpage to mark "link DEVICE" as an optional argument there as well. http://bugs.debian.org/673171Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 03 May, 2012 3 commits
-
-
Vijay Subramanian authored
Commit (761a1e60 iproute2 - Split up manual page installation ) introduced man/man8/Makefile but did not add all the man pages. This patch adds the missing man pages for installation. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
James Chapman authored
Add a man page to cover the "ip l2tp" commands. Add a reference to it in the main ip page. This version removes the unnecessary setting of promiscuous mode in the examples. Signed-off-by: James Chapman <jchapman@katalix.com>
-
Shan Wei authored
INET_DIAG_SKMEMINFO is used to monitor socket memory information which contains more information than INET_DIAG_MEMINFO. -m option is retained for old kernel that don't surpport INET_DIAG_SKMEMINFO. Signed-off-by: Shan Wei <davidshan@tencent.com>
-
- 26 Apr, 2012 1 commit
-
-
Stephen Hemminger authored
This reverts commit 16eba344. Hold off until next release.
-
- 25 Apr, 2012 1 commit
-
-
Chris Elston authored
Adds support for parsing IPv6 addresses to the parameters local and remote in the l2tp commands. Requires netlink attributes L2TP_ATTR_IP6_SADDR and L2TP_ATTR_IP6_DADDR, added in a required kernel patch already submitted to netdev. Also enables printing of IPv6 addresses returned by the L2TP_CMD_TUNNEL_GET request. Signed-off-by: Chris Elston <celston@katalix.com> Signed-off-by: James Chapman <jchapman@katalix.com>
-
- 12 Apr, 2012 5 commits
-
-
Christoph J. Thompson authored
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>
-
Christoph J. Thompson authored
Generate manual pages based on where the config files are installed. Add missing manual pages for utilities which are links to other binaries. Make tc-pfifo.8 a real file that points to tc-bfifo.8 instead of symlink which causes problems with compressing manual pages. Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Christoph J. Thompson authored
Allows setting optimisation flags at compile time without patching the Makefile. modified: Makefile Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Christoph J. Thompson authored
Allows using an alternate path for config files. Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
-
Rose, Gregory V authored
Add a new netlink attribute type to the dump request to allow filtering of the information returned for the respective matching interfaces. At this time the only filter defined is to request virtual function (VF) device info for interfaces that attached VFs. It will also be possible to extend the request with other yet to be defined netlink attributes in the future. Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
-