bnxt_en: Add hardware PTP timestamping support on 575XX devices
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 0 repliesApplied 7/7
- v17 patches 8 repliesSuperseded
Patches in v2 All 7 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bnxt_en: Update firmware interface to 1.10.2.47drivers/ drivers/ | +629 | 0 replies | Applied |
| 2/7 | bnxt_en: Get PTP hardware capability from firmwaredrivers/ drivers/ drivers/ | +113 | 0 replies | Applied |
| 3/7 | bnxt_en: Add PTP clock APIs, ioctls, and ethtool methodsdrivers/ drivers/ drivers/ +3 more | +382 | 0 replies | Applied |
| 4/7 | bnxt_en: Get the full 48-bit hardware timestamp periodicallydrivers/ drivers/ drivers/ | +41 | 0 replies | Applied |
| 5/7 | bnxt_en: Get the RX packet timestampdrivers/ drivers/ drivers/ +1 more | +52 | 0 replies | Applied |
| 6/7 | bnxt_en: Transmit and retrieve packet timestampsdrivers/ drivers/ drivers/ +1 more | +131 | 0 replies | Applied |
| 7/7 | bnxt_en: Enable hardware PTP supportdrivers/ | +7 | 0 replies | Applied |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Pavan Chebbi | Edwin Peer |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | R-b |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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
Signature · 1 line
2.18.1