[Intel-wired-lan] [PATCH] net: igbvf: Use net_device_stats from struct net_device
Brown, Aaron F
aaron.f.brown at intel.com
Tue Apr 18 01:36:09 UTC 2017
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Tobias Klauser
> Sent: Wednesday, April 5, 2017 11:45 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] 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.
>
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
> ---
> drivers/net/ethernet/intel/igbvf/igbvf.h | 1 -
> drivers/net/ethernet/intel/igbvf/netdev.c | 26 +++++---------------------
> 2 files changed, 5 insertions(+), 22 deletions(-)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list