aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMaximilian Heyne <[email protected]>2022-05-09 11:03:39 +0000
committerTony Nguyen <[email protected]>2022-06-09 09:49:45 -0700
commit37530030c0b61396be81e38f2aa179c30fb1d216 (patch)
treefad9d5bf3dc9621a5d012b504bc599fe424c3d1d /tools/perf/scripts/python/event_analyzing_sample.py
parent263efe85a4b618037e1003c9636562d6cbb5f9f3 (diff)
drivers, ixgbe: export vf statistics
This change retrieves network metrics for virtual functions from the device and exports them via the iproute2 interface. The code for retrieving the statistics from the device is taken from the out-of-tree driver. The feature was introduced with version 2.0.75.7, so the diff between this version and the previous version 2.0.72.4 was used to identify required changes. The export via ethtool is omitted in favor of using the standard ndo_get_vf_stats interface. Per-VF statistics can now be printed, for instance, via ip --statistics link show dev eth0 Signed-off-by: Maximilian Heyne <[email protected]> Tested-by: Konrad Jankowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions