diff options
| author | Pavan Chebbi <[email protected]> | 2021-06-27 17:19:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-28 20:41:06 +0000 |
| commit | 390862f45c85b8ebbf9c5c09192bf413a8fb72f8 (patch) | |
| tree | c35182465923f225abbc78772880b4f9c85290f1 /net/switchdev/switchdev.c | |
| parent | bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods (diff) | |
| download | kernel-390862f45c85b8ebbf9c5c09192bf413a8fb72f8.tar.gz kernel-390862f45c85b8ebbf9c5c09192bf413a8fb72f8.zip | |
bnxt_en: Get the full 48-bit hardware timestamp periodically
From the bnxt_timer(), read the 48-bit hardware running clock
periodically and store it in ptp->current_time. The previous snapshot
of the clock will be stored in ptp->old_time. The old_time snapshot
will be used in the next patches to compute the RX packet timestamps.
v2: Use .do_aux_work() to read the timer periodically.
Reviewed-by: Edwin Peer <[email protected]>
Signed-off-by: Pavan Chebbi <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
