]> git.openfabrics.org - ~emulex/infiniband.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)
commitfad177dc8ba9f6a0f378a73da423cb28425e8756
tree125ebbbe2750507bdebf505515c610fe699901ad
parente7f2e4b94ce31d212f0fb3d688961af591ac7d53
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