bnxt_en: Support configurable PTP TX timeout
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bnxt_en: Introduce devlink runtime driver param to set ptp tx timeoutdrivers/ drivers/ drivers/ | +46 | 10 replies | |
| 2/2 | bnxt_en: Retry for TX timestamp from FW until timeout specifiedDocumentation/ drivers/ drivers/ | +26 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andy Gospodarek | Vadim Fedorenko |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | 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 0/2] bnxt_en: Support configurable PTP TX timeout
The driver needs to call firmware to retrieve the PTP hardware TX timestamp for PTP packets. The PTP packet is timestamped by hardware right before packet transmission on the wire. So there is variable delay on when the timestamp is available. The current fixed timeout value of 1 msec passed to the firmware may not be long enough on busy networks.
Add a devlink driver runtime parameter to allow the user to configure this timeout value. Increase the default to 1 second and allow a maximum of 5 seconds.
Pavan Chebbi (2):
bnxt_en: Introduce devlink runtime driver param to set ptp tx timeout
bnxt_en: Retry for TX timestamp from FW until timeout specified
Documentation/networking/devlink/bnxt.rst | 7 ++++ .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 42 +++++++++++++++++++ drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 20 +++++++-- drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h | 7 +++- 4 files changed, 72 insertions(+), 4 deletions(-)
Signature · 1 line
2.30.1