ixgbe: Add receive length error counter
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Wed, 28 Feb 2018 11:59:09 +0000 (03:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 12 Mar 2018 18:03:32 +0000 (11:03 -0700)
commite656805c1b7888c3e79cf26b040b83e6cfd102d6
treebb838dc09fcd5b8a3d8ec8236dea74ed8edd3849
parent5c4aa458634f545e75845b5a20276ffe1c43459e
ixgbe: Add receive length error counter

ixgbe enabled rlec counter and the rx_error used it.
We can export the counter directly via ethtool -S ethX.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c