Re: [PATCH net] net/mlx5: DPLL, fix fractional frequency offset scaling

From
Daniel Machon <daniel.machon@microchip.com>
Date
2026-10-15 10:49:56
Also in
linux-rdma, lkml
Reply to
Tariq Toukan, 2026-10-15
From: Carolina Jubran <redacted>

The frequency_diff is reported by firmware in parts-per-trillion, which
is exactly what the DPLL core now expects from the ffo_get callback.

Commit bc443c253fcd ("dpll: expose fractional frequency offset in ppt")
switched the callback contract to ppt but assumed frequency_diff was in
ppm and scaled it by 1000000 to "convert" it. Since the value was
already ppt, this makes both exported attributes wrong.

Report frequency_diff as is and let the core divide it down for the
legacy ppm attribute.
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
Thread (6 messages) 6 messages, 6 authors, last reply 27d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help