diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2019-10-28 17:37:07 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-11-04 13:19:49 -0800 |
commit | dc645daef9af5bcbd9c5c73370dc7f96761ff186 (patch) | |
tree | ac87b5132def42352b5f644f169752ac3b10277a /kernel/reboot.c | |
parent | 3df5b9a6a9ec3c1e4431bf1db3426b54dc92dd91 (diff) |
i40e: implement VF stats NDO
Implement the VF stats gathering via the kernel via ndo_get_vf_stats().
The driver will show per-VF stats in the output of the command:
ip -s link show dev <PF>
Testing Hints:
ip -s link show dev eth0
will return non-zero VF stats.
...
vf 0 MAC 00:55:aa:00:55:aa, spoof checking on, link-state enable, trust off
RX: bytes packets mcast bcast
128000 1000 104 104
TX: bytes packets
128000 1000
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions