- 10 Jan, 2014 9 commits
-
-
Stephen Hemminger authored
-
Masatake YAMATO authored
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Masatake YAMATO authored
This patch enables -A unix_stream, -A unix_dgram and -A unix_seqpacket option even if ss gets socket information via netlink. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Masatake YAMATO authored
ss didn't distignish seqpacket type from dgram type. With this patch ss can distignish it. $ misc/ss -x -a | grep seq u_seq LISTEN 0 128 /run/udev/control 10966 * 0 u_seq ESTAB 0 0 * 115103 * 115104 u_seq ESTAB 0 0 * 115104 * 115103 Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Vijay Subramanian authored
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>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Pavel Emelyanov authored
Signed-off-by: Pavel Emelyanov <xemul@paralles.com>
-
- 28 Dec, 2013 9 commits
-
-
Hangbin Liu authored
The vti interface will use GRE_KEY to match the right policy in kernel. So we can not return fail when the tunnel is vti. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
-
Pavel Emelyanov authored
The RTM_NEWLINK message accepts ifi_index non-zero value and lets creation of links with given index (if it's free, or course). This functionality is available since linux-v3.5. This patch makes this API available via ip tool. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
-
Stephen Hemminger authored
-
Jamal Hadi Salim authored
attached. cheers, jamal commit 58d78f9f6447df324cdeb99262442c5e3f1f924b Author: Jamal Hadi Salim <jhs@mojatatu.com> Date: Sun Dec 22 10:34:18 2013 -0500 dont skip displaying of action chains or lists by TCA_ACT_MAX_PRIO Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Jamal Hadi Salim authored
Attached. cheers, jamal commit c5f30cabef14c951596210b96bc9b423b0d39592 Author: Jamal Hadi Salim <hadi@mojatatu.com> Date: Sun Dec 22 10:24:17 2013 -0500 Allow batching of action gets Example: ---- tc actions get \ action gact index 100 \ action gact index 4 ---- Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Jamal Hadi Salim authored
attached. cheers, jamal commit d7869e6167c3553e93e254940b0647032b40fed8 Author: Jamal Hadi Salim <jhs@mojatatu.com> Date: Sun Dec 22 07:46:28 2013 -0500 print new line at the end for aesthetics Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Jamal Hadi Salim authored
attached. cheers, jamal commit b82057d9ec851a8aba8a295b959190ef5098f330 Author: Jamal Hadi Salim <jhs@mojatatu.com> Date: Sat Dec 21 17:00:11 2013 -0500 After a decade of trying to deprecate the old policer syntax, I believe it is time to kill it. The kernel build option for old policer is gone for at least 5 years now (although backward compatibility is still there). Being backward compatible meant hijacking the keyword "action" and was obstructing policies like: tc filter add dev eth0 parent ffff: protocol ip pref 10 \ u32 match ip protocol 1 0xff flowid 1:10 \ action skbedit mark 1 \ action police rate 10kbit burst 10k pipe \ action skbedit mark 2 \ action police rate 20kbit burst 20k pipe \ action action mirred egress mirror dev dummy0 Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Jamal Hadi Salim authored
skbedit should print the index and other generic metadata info Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
Jamal Hadi Salim authored
Allow skbedit to be used as is in an action chain by default without need to specify pipe Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
- 20 Dec, 2013 4 commits
-
-
Arvid Brodin authored
Add basic support for High-Availability Seamless Redundancy (HSR) network devices. Signed-off-by: Arvid Brodin <arvid.brodin@alten.se>
-
Sergey Popovich authored
Currently ip-link(8) parses, but ignores "group" argument to peer interface on veth creation. Insert IFLA_GROUP attribute for peer interface when present. Signed-off-by: Sergey Popovich <popovich_sergei@mail.ru>
-
Stephen Hemminger authored
Based on patch by Sergey Popovich <popovich_sergei@mail.ru> This fixes crash when ip-link(8) invoced with command: ip link add dev veth1a type veth peer
-
Stephen Hemminger authored
Use warn_unused_result to enforce checking return value of rtnl_send, and fix where the errors are. Suggested by initial patch from Petr Písař <ppisar@redhat.com>
-
- 18 Dec, 2013 2 commits
-
-
Stephen Hemminger authored
Report changes to proxy_arp/proxy_ndp attribute.
-
Stephen Hemminger authored
-
- 06 Dec, 2013 1 commit
-
-
Stephen Hemminger authored
-
- 03 Dec, 2013 3 commits
-
-
Eric Dumazet authored
Display more user friendly rates. 10Mbit is more readable than 10000Kbit Before : class htb 1:2 root prio 0 rate 10000Kbit ceil 10000Kbit ... After: class htb 1:2 root prio 0 rate 10Mbit ceil 10Mbit ... Signed-off-by: Eric Dumazet <edumazet@google.com>
-
Yang Yingliang authored
tbf support 64bit rates start from linux-3.13. Add 64bit rates support in tc tools. tc qdisc show dev eth0 qdisc tbf 1: root refcnt 2 rate 40000Mbit burst 230000b peakrate 50000Mbit minburst 87500b lat 50.0ms This is a followup to ("htb: support 64bit rates"). Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Cc: Eric Dumazet <edumazet@google.com>
-
Stephen Hemminger authored
-
- 23 Nov, 2013 11 commits
-
-
Eric Dumazet authored
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>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Sami Kerola authored
As a system admin I occasionally want to be able to check that all interfaces has a name in DNS or /etc/hosts file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-
Andreas Henriksson authored
Example: $ ss state established \( sport = :4060 or sport = :4061 or sport = :4062 or sport = :4063 or sport = :4064 or sport = :4065 or sport = :4066 or sport = :4067 \) > /dev/null Aborted In the example above ssfilter_bytecompile(...) will return (int)136. char l1 = 136; means -120 which will result in a negative number being passed to malloc at misc/ss.c:913. Simply declare l1 and l2 as integers to avoid the char overflow. This is one of the issues originally reported in http://bugs.debian.org/511720 Fix the same problem in other code paths as well (thanks to Eric Dumazet). Reported-by: Andreas Schuldei <andreas@debian.org> Signed-off-by: Andreas Henriksson <andreas@fatal.se> Reviewed-by: Eric Dumazet <edumazet@google.com>
-
Hangbin Liu authored
As both linux kernel and function ipaddrlabel_modify use unsigned int for label. We should also use unsigned int value when print addrlabel in case of misunderstanding. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
-
Sami Kerola authored
As a system admin I occasionally want to be able to check that all interfaces has a name in DNS or /etc/hosts file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
-
Andreas Henriksson authored
Example: $ ss state established \( sport = :4060 or sport = :4061 or sport = :4062 or sport = :4063 or sport = :4064 or sport = :4065 or sport = :4066 or sport = :4067 \) > /dev/null Aborted In the example above ssfilter_bytecompile(...) will return (int)136. char l1 = 136; means -120 which will result in a negative number being passed to malloc at misc/ss.c:913. Simply declare l1 and l2 as integers to avoid the char overflow. This is one of the issues originally reported in http://bugs.debian.org/511720 Fix the same problem in other code paths as well (thanks to Eric Dumazet). Reported-by: Andreas Schuldei <andreas@debian.org> Signed-off-by: Andreas Henriksson <andreas@fatal.se> Reviewed-by: Eric Dumazet <edumazet@google.com>
-
Hangbin Liu authored
As both linux kernel and function ipaddrlabel_modify use unsigned int for label. We should also use unsigned int value when print addrlabel in case of misunderstanding. Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
-
- 30 Oct, 2013 1 commit
-
-
Daniel Borkmann authored
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>
-