- 10 Jan, 2014 2 commits
-
-
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 7 commits
-
-
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>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
Stephen Hemminger authored
Lastest from net-next
-
Stephen Hemminger authored
Conflicts: tc/q_fq.c
-
Nigel Kukard authored
There are two global variables in tc/tc_class.c: __u32 filter_qdisc; __u32 filter_classid; These are not re-initialized for each line received in -batch mode: class show dev eth0 parent 1: classid 1:1 class show dev eth0 parent 1: classid 1:1 Error: duplicate "classid": "1:1" is the second value. This patch fixes the issue by initializing the two globals when we enter print_class(). Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
-
WANG Cong authored
The kernel already supports it, so add the support to iproute2 as well. Cc: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
-
Stephen Hemminger authored
-
- 27 Oct, 2013 1 commit
-
-
Stephen Hemminger authored
Alexey had htb2 as name for version in ancient code.
-