]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers: net: xgene: Add frame recovered statistics counter for errata 10GE_8/ENET_11
authorQuan Nguyen <qnguyen@apm.com>
Wed, 10 May 2017 20:45:08 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:41:10 +0000 (11:41 -0400)
commiteaef62a42db15f2833c9e6af18067b02b6089336
tree54c6409524c65c20e21d349369d6b29640b94b18
parenta844e7d1fa24660dd17a78e5165210a3da112e73
drivers: net: xgene: Add frame recovered statistics counter for errata 10GE_8/ENET_11

This patch adds statistic counter for frames recovered from HW errata
10GE_8 and ENET_11:
"HW reports Length error for valid 64 byte frames with len <46 bytes".

Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_ethtool.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h