]> asedeno.scripts.mit.edu Git - linux.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)
commit0b273ca41fe005d4193c4107686bd1e11eb6f00d
tree7e1e2d22176ccd35e3b8a0b076f3dba1a7c96070
parent5e3fb0a6e2b3c7694583c16e0c5f7a894855ca43
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