#compdef ifpps # # ifpps.zsh -- zsh completion function for ifpps # # 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 _interfaces () { _wanted interfaces expl 'network interface' \ _net_interfaces _values "Pseudo-device that captures on all interfaces" "any" } _arguments -s -S \ "(-d --dev)"{-d,--dev}"[Device to fetch statistics for i.e., eth0]:device:_interfaces" \ "(-p --promisc)"{-p,--promisc}"[Promiscuous mode]" \ "(-P --percentage)"{-P,--percentage}"[Show percentage of theoretical line rate]" \ "(-t --interval)"{-t,--interval}"[Refresh time in sec (default 1 s)]:interval:_gnu_generic" \ "(-n --num-cpus)"{-n,--num-cpus}"[Number of top hitter CPUs to display in ncurses mode (default 10)]" \ "(-C --csv)"{-C,--csv}"[Output to terminal as CSV E.g. post-processing with Gnuplot et al.]" \ "(-l --loop)"{-l,--loop}"[Loop terminal output]" \ "(-o --omit-header)"{-o,--omit-header}"[Do not print the CSV header]" \ "(-m --median)"{-m,--median}"[Display median values]" \ "(-W --no-warn)"{-W,--no-warn}"[Suppress warnings]" \ {-v,--version}"[Print version]:" \ {-h,--help}"[Print this help]:" \ "*::args:_gnu_generic" form> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-02-08 11:25:16 +0100
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commitbab6b1d8c4bd8f85f607f8663a8e2abd0986b086 (patch)
tree0c84c2e6e3098ff4e5857ca66142080ff71caa54
parent93b636cae5dd2006a252b11606c3080f60462b90 (diff)
net: igbvf: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct igbvf_adapter, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: intel-wired-lan@lists.osuosl.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>