]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Only consider RX error when HW Timestamping is not enabled
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 4 Sep 2019 13:17:00 +0000 (15:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 10:19:54 +0000 (12:19 +0200)
commit4835bf1fa1af801d5bdd5e257c81791ca48c01fc
tree7e1e2d22176ccd35e3b8a0b076f3dba1a7c96070
parent9d940364745f0eacb6f91eab6596756bcacd7565
net: stmmac: Only consider RX error when HW Timestamping is not enabled

Only consider that we have an error when HW Timestamping is not enabled
as this can give false positives due to the fact the RX Timestamping in
XGMAC and GMAC cores comes from context descriptors.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c