summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorKuo Zhao <kuozhao@google.com>2020-09-11 20:38:47 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-12 00:31:54 +0300
commit24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c (patch)
treeae0520d098cebf82ce9fed455bb62c9e01c7301c /include/linux/fpga/fpga-mgr.h
parent0d5775d34dcc99141d995c480790a4cd1cd0cfb8 (diff)
downloadlinux-24aeb56f2d38edf1b324bdb4f8bc6faf9f0f540c.tar.xz
gve: Add Gvnic stats AQ command and ethtool show/set-priv-flags.
This adds functionality to report driver stats to Hypervisor. (Users may want to turn this feature off as a matter of privacy so a "report-stats" flag is added as an ethtool priv option. It is also disabled by default.) The hypervisor would trigger a stats report in case "too many" packets dropped; the stats would be useful in debugging stuck queues. A "stats_report_trigger_cnt" stat is added to count the number of times the hypervisor attempts to trigger stats report. A timer is also added so that when report-stats is enabled, stat are updated once every 20 seconds. Reviewed-by: Yangchun Fu <yangchun@google.com> Signed-off-by: Kuo Zhao <kuozhao@google.com> Signed-off-by: David Awogbemila <awogbemila@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions