diff options
author | Pavan Chebbi <pavan.chebbi@broadcom.com> | 2022-11-06 19:16:32 -0500 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-11-08 12:39:02 +0100 |
commit | 85036aee1938d65da4be6ae1bc7e5e7e30b567b9 (patch) | |
tree | b9c9c03e984d52ed7a24496a39396fe45c5a015f /drivers/net/dsa/microchip/ksz_common.h | |
parent | 98a4322b70e817f0663adb61b8272f7b995ed41a (diff) |
bnxt_en: Add a non-real time mode to access NIC clock
When using a PHC that is shared between multiple hosts,
in order to achieve consistent timestamps across all hosts,
we need to isolate the PHC from any host making frequency
adjustments.
This patch adds a non-real time mode for this purpose.
The implementation is based on a free running NIC hardware timer
which is used as the timestamper time-base. Each host implements
individual adjustments to a local timecounter based on the NIC free
running timer.
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.h')
0 files changed, 0 insertions, 0 deletions