[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1624814390-1300-1-git-send-email-michael.chan@broadcom.com>
Date: Sun, 27 Jun 2021 13:19:43 -0400
From: Michael Chan <michael.chan@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, kuba@...nel.org, gospo@...adcom.com,
richardcochran@...il.com, pavan.chebbi@...adcom.com,
edwin.peer@...adcom.com
Subject: [PATCH net-next v2 0/7] bnxt_en: Add hardware PTP timestamping support on 575XX devices
Add PTP RX and TX hardware timestamp support on 575XX devices. These
devices use the two-step method to implement the IEEE-1588 timestamping
support.
v2: Add spinlock to serialize access to the timecounter.
Use .do_aux_work() for the periodic timer reading and to get the TX
timestamp from the firmware.
Propagate error code from ptp_clock_register().
Make the 64-bit timer access safe on 32-bit CPUs.
Read PHC using direct register access.
Michael Chan (4):
bnxt_en: Update firmware interface to 1.10.2.47
bnxt_en: Get PTP hardware capability from firmware
bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods
bnxt_en: Enable hardware PTP support
Pavan Chebbi (3):
bnxt_en: Get the full 48-bit hardware timestamp periodically
bnxt_en: Get the RX packet timestamp
bnxt_en: Transmit and retrieve packet timestamps
drivers/net/ethernet/broadcom/Kconfig | 1 +
drivers/net/ethernet/broadcom/bnxt/Makefile | 2 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 134 +++-
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 10 +-
.../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 34 +
drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 667 ++++++++++++++++--
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 473 +++++++++++++
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h | 81 +++
.../net/ethernet/broadcom/bnxt/bnxt_sriov.c | 4 +-
9 files changed, 1355 insertions(+), 51 deletions(-)
create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h
--
2.18.1
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)
Powered by blists - more mailing lists