aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMaximilian Heyne <mheyne@amazon.de>2022-05-09 11:03:39 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-06-09 09:49:45 -0700
commit37530030c0b61396be81e38f2aa179c30fb1d216 (patch)
treefad9d5bf3dc9621a5d012b504bc599fe424c3d1d /net/unix/sysctl_net_unix.c
parent263efe85a4b618037e1003c9636562d6cbb5f9f3 (diff)
downloadlinux-37530030c0b61396be81e38f2aa179c30fb1d216.tar.gz
linux-37530030c0b61396be81e38f2aa179c30fb1d216.tar.bz2
linux-37530030c0b61396be81e38f2aa179c30fb1d216.zip
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 <mheyne@amazon.de> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions