commit | eb50af20442bdaaa2dadd658dc8d556550e862ae | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Apr 06 11:02:47 2017 +1000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 06 15:39:45 2017 -0700 |
tree | 210b3717d576ecd887fd2cfbcc856a3d9de31916 | |
parent | 672021943c453c4ae04bf131ccf155a7d4f967ab [diff] |
ftgmac100: Simplify rx packets error handling The fast path has a single unlikely() test for any error bit, calling into a helper that sets the appropriate statistics. The various netdev_info aren't particularly interesting. If we want to differentiate the various length errors later we can introduce driver specific stats using ethtool. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>