diff options
author | laurent brando <laurent.brando@nxp.com> | 2020-07-27 18:26:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-27 12:04:40 -0700 |
commit | 5fd82200d870a5dd3e509c98ef2041f580b2c0e1 (patch) | |
tree | f99d63efbf54813c786392bb1f04521b040a120c /tools/testing | |
parent | 367fe04eb64760fab400bdc990cc6067071e1e39 (diff) |
net: mscc: ocelot: fix hardware timestamp dequeue logic
The next hw timestamp should be snapshoot to the read registers
only once the current timestamp has been read.
If none of the pending skbs matches the current HW timestamp
just gracefully flush the available timestamp by reading it.
Signed-off-by: laurent brando <laurent.brando@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions