mbox series

[net-next,v2,0/7] bnxt_en: Add hardware PTP timestamping support on 575XX devices

Message ID 1624814390-1300-1-git-send-email-michael.chan@broadcom.com (mailing list archive)
Headers show
Series bnxt_en: Add hardware PTP timestamping support on 575XX devices | expand

Message

Michael Chan June 27, 2021, 5:19 p.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org June 28, 2021, 8:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sun, 27 Jun 2021 13:19:43 -0400 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/7] bnxt_en: Update firmware interface to 1.10.2.47
    https://git.kernel.org/netdev/net-next/c/78eeadb8fea6
  - [net-next,v2,2/7] bnxt_en: Get PTP hardware capability from firmware
    https://git.kernel.org/netdev/net-next/c/ae5c42f0b92c
  - [net-next,v2,3/7] bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods
    https://git.kernel.org/netdev/net-next/c/118612d519d8
  - [net-next,v2,4/7] bnxt_en: Get the full 48-bit hardware timestamp periodically
    https://git.kernel.org/netdev/net-next/c/390862f45c85
  - [net-next,v2,5/7] bnxt_en: Get the RX packet timestamp
    https://git.kernel.org/netdev/net-next/c/7f5515d19cd7
  - [net-next,v2,6/7] bnxt_en: Transmit and retrieve packet timestamps
    https://git.kernel.org/netdev/net-next/c/83bb623c968e
  - [net-next,v2,7/7] bnxt_en: Enable hardware PTP support
    https://git.kernel.org/netdev/net-next/c/93cb62d98e9c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html