- 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 19 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>
-
Stephen Hemminger authored
Since output of ip commands are already cluttered, move the physical port details under a show_details option.
-
Nicolas Dichtel authored
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Daniel Borkmann authored
Follow-up to kernel commit 6c9059817432 ("bpf: pre-allocate hash map elements"). Add flags support, so that we can pass in BPF_F_NO_PREALLOC flag for disallowing preallocation. Update examples accordingly and also remove the BPF_* map helper macros from them as they were not very useful. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-
Daniel Borkmann authored
Make it easier to spot issues when loading the object file fails. This includes reporting in what pinned object specs differ, better indication when we've reached instruction limits. Don't retry to load a non relo program once we failed with bpf(2), and report out of bounds tail call key. Also, add truncation of huge log outputs by default. Sometimes errors are quite easy to spot by only looking at the tail of the verifier log, but logs can get huge in size e.g. up to few MB (due to verifier checking all possible program paths). Thus, by default limit output to the last 4096 bytes and indicate that it's truncated. For the full log, the verbose option can be used. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-
Daniel Borkmann authored
Add new signatures for BPF_FUNC_csum_diff, BPF_FUNC_skb_get_tunnel_opt and BPF_FUNC_skb_set_tunnel_opt. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-
Nikolay Aleksandrov authored
Add the optional keyword "vid" to bridge vlan show so the user can request filtering by a specific vlan id. Currently the filtering is implemented only in user-space. The argument name has been chosen to match the add/del one - "vid". This filtering can be used also with the "-compressvlans" option to see in which range is a vlan (if in any). Also this will be used to show only specific per-vlan statistics later when support is added to the kernel for it. Examples: $ bridge vlan show vid 450 port vlan ids eth2 450 $ bridge -c vlan show vid 450 port vlan ids eth2 400-500 $ bridge vlan show vid 1 port vlan ids eth1 1 PVID Egress Untagged eth2 1 PVID br0 1 PVID Egress Untagged Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
Add the optional keyword "vid" to bridge mdb show so the user can request filtering by a specific vlan id. Currently the filtering is implemented only in user-space. The argument name has been chosen to match the add/del one - "vid". Example: $ bridge mdb show vid 200 dev br0 port eth2 grp 239.0.0.1 permanent vid 200 Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
Add the optional keyword "vlan" to bridge fdb show so the user can request filtering by a specific vlan id. Currently the filtering is implemented only in user-space. The argument name has been chosen to match the add/del one - "vlan". Example: $ bridge fdb show vlan 400 52:54:00:bf:57:16 dev eth2 vlan 400 master br0 permanent Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Eric Dumazet authored
We can set the attributes, so would be nice to display them when provided by the kernel. Signed-off-by: Eric Dumazet <edumazet@google.com>
-
Stephen Hemminger authored
Headers up to date with 4.6-net-next
-
Stephen Hemminger authored
Update from 4.6-rc3
-
Stephen Hemminger authored
devlink binary is built
-
- 27 Mar, 2016 1 commit
-
-
Daniel Borkmann authored
Follow-up for kernel commit 8eb3b99554b8 ("geneve: support setting IPv6 flow label") to allow setting the label for the device config. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-