- 21 Mar, 2014 5 commits
-
-
Stephen Hemminger authored
-
Mike Rapoport authored
Signed-off-by: Mike Rapoport <mike.rapoport@ravellosystems.com>
-
Masatake YAMATO authored
In "ip route show" output unicast type, main table, boot protocol and universe scope are hidden as default labels. Sometimes it is helpful to show the hidden label for people not enough familiar with routing subsystem to map the output of "ip route show" and kernel source code. With this patch "ip route show" with -d option shows the default labels. Example of difference of output with -d option: $ ./ip/ip -4 route show table all dev virbr1 ... 192.168.121.0/28 proto kernel scope link src 192.168.121.1 ... $ ./ip/ip -4 -d route show table all dev virbr1 ... unicast 192.168.121.0/28 table main proto kernel scope link src 192.168.121.1 ... Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Hiroaki SHIMODA authored
The direct_qlen command option is used with qdisc operation. It happened to be implemented in htb_parse_class_opt() which is called with class operation. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Cc: Eric Dumazet <eric.dumazet@gmail.com>
-
Stephen Hemminger authored
-
- 10 Mar, 2014 3 commits
-
-
Richard Haines authored
The process SELinux contexts can be added to the output using the -Z option. Using the -z option will show the process and socket contexts (see the man page for details). For netlink sockets: if valid process show process context, if pid = 0 show kernel initial context, if unknown show "unavailable". Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
-
Masatake YAMATO authored
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Masatake YAMATO authored
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
- 05 Mar, 2014 1 commit
-
-
John Fastabend authored
Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
-
- 28 Feb, 2014 1 commit
-
-
Michal Kubeček authored
With "ip -d link show", bonding slave mii status is displayed twice, once as a number and once as a name. Fixes: 730d3f61 ("iplink: add support for bonding slave") Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
-
- 17 Feb, 2014 7 commits
-
-
Michal Kubeček authored
Lookup function get_index() compares argument with table entries only up to the length of the table entry so that if an entry with lower index is a substring of a later one, earlier entry is used even if the argument is equal to the other. For example, ip link set bond0 type bond xmit_hash_policy layer2+3 sets xmit_hash_policy to 0 (layer2) as this is found before "layer2+3" can be checked. Use strcmp() to compare whole strings instead. v2: look for an exact match only Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
Michal Kubeček authored
Name of arp_all_targets parameter in output of "ip -d link show" is missing trailing "s". Fixes: 63d127b0 ("iproute2: finish support for bonding attributes") Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
-
FX Le Bail authored
This change enable the ss command to display the interface name as zone index for local addresses when needed. For this enhanced display *_diag stuff is needed. It is based on a first version by Bernd Eckenfels. example: Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port udp UNCONN 0 0 fe80::20c:29ff:fe1f:7406%eth1:9999 :::* udp UNCONN 0 0 :::domain :::* tcp LISTEN 0 3 :::domain :::* tcp LISTEN 0 5 fe80::20c:29ff:fe1f:7410%eth2:99 :::* Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
-
- 10 Feb, 2014 8 commits
-
-
Pavel Emelyanov authored
When requesting simultaneous output of TCP and UDP sockets the netid field shows "tcp" always. [root@xemvm1 iproute2]# ./misc/ss -a -tu Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port tcp UNCONN 0 0 *:32713 *:* tcp UNCONN 0 0 *:bootpc *:* tcp UNCONN 0 0 :::57879 :::* tcp LISTEN 0 128 *:ssh *:* tcp ESTAB 0 48 1.2.3.5:ssh 1.2.3.4:45826 tcp ESTAB 0 0 1.2.3.5:ssh 1.2.3.4:45814 tcp LISTEN 0 128 :::ssh :::* While the 1st 3 sockets are UDP ones: [root@xemvm1 iproute2]# ./misc/ss -a -u State Recv-Q Send-Q Local Address:Port Peer Address:Port UNCONN 0 0 *:32713 *:* UNCONN 0 0 *:bootpc *:* UNCONN 0 0 :::57879 :::* Reported-by: François-Xavier Le Bail <fx.lebail@yahoo.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Tested-by: François-Xavier Le Bail <fx.lebail@yahoo.com>
-
Christoph Paasch authored
This patch allows adding the source-IP attribute to the netlink-command. Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
-
Christoph Paasch authored
This patch allows to display the source-IP. stype will be used in the next patch that allows to remove based on the source-IP. Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
-
Christoph Paasch authored
Renaming addr to daddr, because we will introduce saddr later. The local variable is necessary to store RTA_PAYLOAD(a) temporarily. Signed-off-by: Christoph Paasch <christoph.paasch@uclouvain.be>
-
WANG Cong authored
Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
-
Masatake YAMATO authored
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
- 20 Jan, 2014 6 commits
-
-
Mythili Prabhu authored
This adds the manpage for PIE: Proportional Integral controller Enhanced AQM scheme. Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> Signed-off-by: Vijay Subramanian <vijaynsu@cisco.com> CC: Dave Taht <dave.taht@bufferbloat.net>
-
Yang Yingliang authored
netem support 64bit rates start from linux-3.13. Add 64bit rates support in tc tools. tc qdisc show dev eth0 qdisc netem 1: dev eth4 root refcnt 2 limit 1000 rate 35Gbit Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Eric Dumazet <edumazet@google.com>
-
Yang Yingliang authored
To avoid loss when transforming burst to buffer in userspace, send burst/mtu to kernel directly. Kernel commit 2e04ad424b("sch_tbf: add TBF_BURST/TBF_PBURST attribute") make it can handle burst/mtu. Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
-
Thomas Haller authored
Signed-off-by: Thomas Haller <thaller@redhat.com>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
Stephen Hemminger authored
-
- 10 Jan, 2014 9 commits
-
-
Stephen Hemminger authored
This reverts commit 92deabcf. Conflicts: ip/iplink_vxlan.c Allow setting dst_port in 3.12
-
sfeldma@cumulusnetworks.com authored
Add support for bonding attributes just added to net-next. On set, allow string or number value for enumerated attributes. On show, use always use string value for attribute. Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
-
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
-