summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPavan Chebbi <pavan.chebbi@broadcom.com>2022-11-07 03:16:32 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-11-08 14:39:02 +0300
commit85036aee1938d65da4be6ae1bc7e5e7e30b567b9 (patch)
treeb9c9c03e984d52ed7a24496a39396fe45c5a015f /lib
parent98a4322b70e817f0663adb61b8272f7b995ed41a (diff)
downloadlinux-85036aee1938d65da4be6ae1bc7e5e7e30b567b9.tar.xz
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 'lib')
0 files changed, 0 insertions, 0 deletions