drivers: net: xgene: Refactor statistics error parsing code
authorQuan Nguyen <qnguyen@apm.com>
Wed, 10 May 2017 20:45:03 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:41:09 +0000 (11:41 -0400)
commit089f97c7de365bdbb68c2ad922529c101c5a2901
tree80438e4d89971c8c387c43baaa47f51ac5a2bf53
parent3f5a2ef1825db4079bef945d33c84a230cdbba32
drivers: net: xgene: Refactor statistics error parsing code

This patch fixes the tx error counters and adds more rx error counters.

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_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h