diff options
author | Pavan Chebbi <pavan.chebbi@broadcom.com> | 2021-06-27 13:19:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-28 13:41:06 -0700 |
commit | 390862f45c85b8ebbf9c5c09192bf413a8fb72f8 (patch) | |
tree | c35182465923f225abbc78772880b4f9c85290f1 /drivers/net/wan/lmc/lmc_debug.c | |
parent | 118612d519d83b98ead11195a5c818f5e8904654 (diff) |
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 <edwin.peer@broadcom.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/lmc/lmc_debug.c')
0 files changed, 0 insertions, 0 deletions