]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix netdev_stat macro definition
authorShannon Nelson <shannon.nelson@intel.com>
Tue, 11 Nov 2014 20:07:27 +0000 (20:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 6 Dec 2014 12:07:02 +0000 (04:07 -0800)
commit00de4a86000e27f1c8ad5fef387d9ddca94376e3
tree125ebbbe2750507bdebf505515c610fe699901ad
parent5be5e07ad9185e81a3401a42fb5d7ce336ab867a
i40e: fix netdev_stat macro definition

The old xxx_NETDEV_STAT() macro was defined long before the newer
rtnl_link_stats64 came into being, and just never got updated.  Since we're
using rtnl_link_stats64 in other parts of the driver, we should use it
here as well.  We've just been lucky that the field definitions are the
same sizes.

Change-ID: I19fc71619905700235dcdf0d3c8153aec81d36de
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c