dpaa_eth: make sure all Rx errors are counted
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 26 Feb 2018 17:24:02 +0000 (11:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:40:03 +0000 (11:40 -0500)
commit81084b354782b56267b94415420b47e5aedd01cb
tree5c17c80d605f53b9e9b1899e4e2fdd5e55a28cdc
parent120d75ecf043044554abbba8507f6d22e4715beb
dpaa_eth: make sure all Rx errors are counted

Simplify the code and avoid some Rx errors not being
accounted.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c