Skip to content

bnxt_en: Add hardware PTP timestamping support on 575XX devices

Michael Chan netdev 2 versions – Applied

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

  1. v2 Latest7 patches 0 repliesApplied 7/7
  2. v17 patches 8 repliesSuperseded

Patches in v2 All 7 applied

#Subject and filesSizeRepliesApplied
1/7bnxt_en: Update firmware interface to 1.10.2.47drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c+629 -420 repliesApplied
2/7bnxt_en: Get PTP hardware capability from firmwaredrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h+113 -00 repliesApplied
3/7bnxt_en: Add PTP clock APIs, ioctls, and ethtool methodsdrivers/net/ethernet/broadcom/Kconfig drivers/net/ethernet/broadcom/bnxt/Makefile drivers/net/ethernet/broadcom/bnxt/bnxt.c +3 more+382 -10 repliesApplied
4/7bnxt_en: Get the full 48-bit hardware timestamp periodicallydrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h+41 -00 repliesApplied
5/7bnxt_en: Get the RX packet timestampdrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c +1 more+52 -30 repliesApplied
6/7bnxt_en: Transmit and retrieve packet timestampsdrivers/net/ethernet/broadcom/bnxt/bnxt.c drivers/net/ethernet/broadcom/bnxt/bnxt.h drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c +1 more+131 -50 repliesApplied
7/7bnxt_en: Enable hardware PTP supportdrivers/net/ethernet/broadcom/bnxt/bnxt.c+7 -00 repliesApplied

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchPavan ChebbiEdwin Peer
1/7R-b
2/7R-b R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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