diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-08-17 20:54:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-17 12:43:59 -0700 |
commit | 25e80cd05ff81e51750106f1ae12364449ec38e7 (patch) | |
tree | 520b8763df7b9e4e6a67608cbc94345a61aa5c45 /net/mac802154/main.c | |
parent | 83beee5a3aff0fb159b2fb4d0cac8f18a193417e (diff) |
net: stmmac: Get correct timestamp values from XGMAC
TX Timestamp in XGMAC comes from MAC instead of descriptors. Implement
this in a new callback.
Also, RX Timestamp in XGMAC must be cheked against corruption and we need
a barrier to make sure that descriptor fields are read correctly.
Changes from v2:
- Rework return code check (Jakub)
Changes from v1:
- Rework the get timestamp function (David)
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154/main.c')
0 files changed, 0 insertions, 0 deletions