- 13 May, 2016 10 commits
-
-
Stephen Hemminger authored
Get santized version from net-next
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
subashab@codeaurora.org authored
addr is not used here. Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Unused code causes warnings, removed.
-
Stephen Hemminger authored
Close to final upstream headers
-
Stephen Hemminger authored
This reverts commit b56700bf.
-
Stephen Hemminger authored
This reverts commit a60ebcb6.
-
Edward Cree authored
Since we can only configure unicast, we probably want to be able to display unicast, rather than multicast. Fixes: 906ac543 ("geneve: add support for IPv6 link partners") Signed-off-by: Edward Cree <ecree@solarflare.com>
-
- 06 May, 2016 2 commits
-
-
Jiri Benc authored
Display only attributes that are relevant when a GRE interface is in 'external' mode instead of the default values (which are ignored by the kernel even if passed back). Fixes: 926b39e1 ("gre: add support for collect metadata flag") Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
Jiri Benc authored
For GRE interfaces in 'external' mode, the kernel ignores all manual settings like remote IP address or TTL. However, for some of those attributes, kernel checks their value and does not allow them to be zero (even though they're ignored later). Currently, 'ip link' always includes all attributes in the netlink message. This leads to problem with creating interfaces in 'external' mode. For example, this command does not work: ip link add gre1 type gretap external and needs a bogus remote IP address to be specified, as the kernel enforces remote IP address to be either not present, or not null. Ignore the parameters that do not make sense in 'external' mode. Unfortunately, we cannot error out, as there may be existing deployments that workarounded the bug by specifying bogus values. Fixes: 926b39e1 ("gre: add support for collect metadata flag") Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
- 03 May, 2016 1 commit
-
-
Quentin Monnet authored
Add function for command completion for tc in bash, and update Makefile to install it under /usr/share/bash-completion/completions/. Inside iproute2 repository, the completion code is in a new `bash-completion` toplevel directory. v2: Remove `if` statement in Makefile: do not try to install in /etc/bash_completion.d/ if /usr/share/bash-completion/completions/ is not found; instead, the user can override the installation path with the specific environment variable. Signed-off-by: Quentin Monnet <quentin.monnet@6wind.com>
-
- 25 Apr, 2016 1 commit
-
-
Stephen Hemminger authored
-
- 22 Apr, 2016 2 commits
-
-
Eric Dumazet authored
SK_MEMINFO_DROPS is added in linux-4.7 for TCP, UDP and SCTP skmem will display the socket drop count using d prefix as in : $ ss -tm src :22 | more State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 52 10.246.7.151:ssh 172.20.10.101:50759 skmem:(r0,rb8388608,t0,tb8388608,f1792,w2304,o0,bl0,d0) Signed-off-by: Eric Dumazet <edumazet@google.com>
-
Stephen Hemminger authored
-
- 19 Apr, 2016 17 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Jiri Pirko authored
Manpage for devlink "sb" object. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
Use kernel shared buffer occupancy control commands to make snapshot and clear occupancy watermarks. Also, allow to show occupancy values in a nice way. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
Implement kernel devlink shared buffer interface. Introduce new object "sb" and allow to browse the shared buffer parameters and also change configuration. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
For filtering purposes, it makes sense for used to either specify devlink handle of port handle. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
This function is to be used from dump callbacks to decide if the output currect output should be filtered off or not. Filtering is based on previously parsed and stored command line options. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
It is handy to have parsed cmdline data stored so they can be used for dumps filtering. So split original dl_argv_parse_put into parse and put parts. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
By default, ifnames will be printed out. User can turn that off using "-n" option on the command line. Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Jiri Pirko authored
"dl" -> "devlink" Signed-off-by: Jiri Pirko <jiri@mellanox.com>
-
Eric Dumazet authored
Kernel sets info->tcpi_min_rtt to ~0U when no RTT sample was ever taken for the session, thus min_rtt is unknown. Signed-off-by: Eric Dumazet <edumazet@google.com>
-
Phil Sutter authored
Passing a filter expression and selecting an address family using the '-f' flag would overwrite the state filter by accident. Therefore calling e.g. 'ss -nl -f inet '(sport = :22)' would not only print listening sockets (as requested by '-l' flag) but connected ones, as well. Fix this by reusing the formerly ineffective call to filter_states_set() to restore the state filter as it was before the call to filter_af_set(). Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
An expression of the form '(a | b) & b' will evaluate to the value of b for any value of a or b. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Jeff Harris authored
Use the same rtnl_dump_request_n call as the show. The rtnl_wilddump_request assumes the type uses an ifinfomsg which is not the case for the neighbor table. Signed-off-by: Jeff Harris <jefftharris@gmail.com> Acked-by: David Ahern <dsa@cumulusnetworks.com>
-
- 11 Apr, 2016 7 commits
-
-
Jiri Benc authored
Adds support to create a VXLAN-GPE interface. Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
Jiri Benc authored
Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
Jiri Benc authored
It doesn't make sense to use external control plane and fill internal FDB at the same time. It's even an illegal combination for VXLAN-GPE. Just switch off learning when 'external' is specified. Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Fix whitespace
-
Phil Sutter authored
This adds a new item to VF lines of a PF, stating whether the VF is trusted or not. Signed-off-by: Phil Sutter <phil@nwl.cc>
-
Gustavo Zacarias authored
We need limits.h for PATH_MAX, fixes: tc_bpf.c: In function ‘bpf_map_selfcheck_pinned’: tc_bpf.c:222:12: error: ‘PATH_MAX’ undeclared (first use in this function) char file[PATH_MAX], buff[4096]; Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Daniel Borkmann <daniel@iogearbox.net>
-