#compdef flowtop # # flowtop.zsh -- zsh completion function for flowtop # # Copyright (C) 2013 Hideo Hattori # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. typeset -A opt_args _arguments -s -S \ "(-4 --ipv4)"{-4,--ipv4}"[Show only IPv4 flows (default)]" \ "(-6 --ipv6)"{-6,--ipv6}"[Show only IPv6 flows (default)]" \ "(-T --tcp)"{-T,--tcp}"[Show only TCP flows (default)]" \ "(-U --udp)"{-U,--udp}"[Show only UDP flows]" \ "(-D --dccp)"{-D,--dccp}"[Show only DCCP flows]" \ "(-I --icmp)"{-I,--icmp}"[Show only ICMP/ICMPv6 flows]" \ "(-S --sctp)"{-S,--sctp}"[Show only SCTP flows]" \ "(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \ "(-u --update)"{-u,--update}"[Update GeoIP databases]" \ {-v,--version}"[Print version]:" \ {-h,--help}"[Print this help]:" \ "*::args:_gnu_generic" net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@mellanox.com>2016-06-30 17:34:41 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-01 06:12:03 -0400
commitd57847dc4177c6fd8d950cb533f5edf0eab45b11 (patch)
treed6d9a413877cb51d19e2c5461dfb0bd67abc4f9e
parent5adff6a0886273eb426360400f120443833760a3 (diff)
net/mlx5: Fix wait_vital for VFs and remove fixed sleep
The device ID for VFs is in a different location than PFs. This results in the poll always timing out for VFs. There's no good way to read the VF device ID without using the PF's configuration space. Switch to waiting for the health poll to start incrementing. Also remove the 1s sleep at the beginning. fixes: 89d44f0a6c73 ('net/mlx5_core: Add pci error handlers to mlx5_core driver') Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>