[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240626164307.219568-1-michael.chan@broadcom.com>
Date: Wed, 26 Jun 2024 09:42:57 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
pavan.chebbi@...adcom.com,
andrew.gospodarek@...adcom.com,
richardcochran@...il.com
Subject: [PATCH net-next 00/10] bnxt_en: PTP updates for net-next
The first 5 patches implement the PTP feature on the new BCM5760X
chips. The main new hardware feature is the new TX timestamp
completion which enables the driver to retrieve the TX timestamp
in NAPI without deferring to the PTP worker.
The last 5 patches increase the number of TX PTP packets in-flight
from 1 to 4 on the older BCM5750X chips. On these older chips, we
need to call firmware in the PTP worker to retrieve the timestamp.
We use an arry to keep track of the in-flight TX PTP packets.
Michael Chan (4):
bnxt_en: Add new TX timestamp completion definitions
bnxt_en: Add is_ts_pkt field to struct bnxt_sw_tx_bd
bnxt_en: Allow some TX packets to be unprocessed in NAPI
bnxt_en: Add TX timestamp completion logic
Pavan Chebbi (6):
bnxt_en: Add BCM5760X specific PHC registers mapping
bnxt_en: Refactor all PTP TX timestamp fields into a struct
bnxt_en: Remove an impossible condition check for PTP TX pending SKB
bnxt_en: Let bnxt_stamp_tx_skb() return error code
bnxt_en: Increase the max total outstanding PTP TX packets to 4
bnxt_en: Remove atomic operations on ptp->tx_avail
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 109 ++++++++-----
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 42 ++++-
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 151 +++++++++++++-----
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h | 36 ++++-
4 files changed, 254 insertions(+), 84 deletions(-)
--
2.30.1
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)
Powered by blists - more mailing lists