Re: [PATCH net-next v3 3/4] net/mlx5e: Add logic to read RS-FEC histogram bin ranges from PPHCR

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-09-18 14:35:52
Also in
intel-wired-lan
Reply to
Carolina Jubran, 2025-09-18
On Thu, 18 Sep 2025 17:25:40 +0300 Carolina Jubran wrote:
quoted
why does MLX5E_FEC_RS_HIST_MAX exist?
We care that bins_cnt <= ETHTOOL_FEC_HIST_MAX - 1
or is there something in the interface that hardcodes 16?  
My intention was to keep mlx5 capped at 16 even if ethtool raises its max.
We’ll only increase this once we know the device should expose more than 16.
Since our HW has internal modes that can report more than 16 bins, this 
ensures we don’t accidentally expose them if ethtool increases its max.
But why?
Thread (25 messages) 25 messages, 5 authors, last reply 2025-09-19
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