diff options
author | Michael Chan <michael.chan@broadcom.com> | 2021-06-27 13:19:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-28 13:41:05 -0700 |
commit | 118612d519d83b98ead11195a5c818f5e8904654 (patch) | |
tree | 2692fc0a83eceaf885b6ead153923603f7a62213 /net/switchdev/switchdev.c | |
parent | ae5c42f0b92ca0abefe2e3930a14fc2e716c81a2 (diff) | |
download | linux-118612d519d83b98ead11195a5c818f5e8904654.tar.gz linux-118612d519d83b98ead11195a5c818f5e8904654.tar.bz2 linux-118612d519d83b98ead11195a5c818f5e8904654.zip |
bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods
Add the clock APIs to set/get/adjust the hw clock, and the related
ioctls and ethtool methods.
v2: Propagate error code from ptp_clock_register().
Add spinlock to serialize access to the timecounter. The
timecounter is accessed in process context and the RX datapath.
Read the PHC using direct registers.
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions