bnxt_en: Fix PTP firmware timeout parameter
Michael Chan
maintainerPATCH 1/1 bnxt_en: Fix PTP firmware timeout parameter
Use the correct tmo_us microsecond parameter for the PTP firmware timeout parameter.
Fixes 7de3c2218eed ("bnxt_en: Add a timeout parameter to bnxt_hwrm_port_ts_query()")
Reported-by Pavan Chebbi <[email protected]>
Reviewed-by Pavan Chebbi <[email protected]>
Reviewed-by Andy Gospodarek <[email protected]>
Signed-off-by Michael Chan <[email protected]>
--- drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c +1 -1
@@ -131,7 +131,7 @@ static int bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts,if (!tmo_us) tmo_us =BNXT_PTP_QTS_TIMEOUT ; tmo_us =min (tmo_us,BNXT_PTP_QTS_MAX_TMO_US ); - req->ts_req_timeout =cpu_to_le16 (txts_tmo); + req->ts_req_timeout =cpu_to_le16 (tmo_us); } resp =hwrm_req_hold (bp, req);
Signature · 1 line
2.30.1
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Thu, 4 Apr 2024 12:55:00 -0700 you wrote:
Use the correct
tmo_usmicrosecond parameter for the PTP firmware timeout parameter.Fixes 7de3c2218eed ("bnxt_en: Add a timeout parameter to bnxt_hwrm_port_ts_query()")Reported-by Pavan Chebbi <[email protected]>Reviewed-by Pavan Chebbi <[email protected]>Reviewed-by Andy Gospodarek <[email protected]>Signed-off-by Michael Chan <[email protected]>[...]
Here is the summary with links:
- [net-next] bnxt_en: Fix PTP firmware timeout parameter
https://git.kernel.org/netdev/net-next/c/da48a65f3ff4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html