]> 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)
commit335dc391a58c234e99dd5f954ebbcc5ee9229bdc
tree7e1e2d22176ccd35e3b8a0b076f3dba1a7c96070
parent8bc473166cb0413432c4bbb5d468e6ac1883d16b
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