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

- From: Carolina Jubran \<hidden\>
- Date: 2025-09-18 15:16:26 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/09/11337757
- Thread: https://ratatoskr.run/netdev/2025/09/11337432/t.md

```text

On 18/09/2025 17:35, Jakub Kicinski wrote:
> On Thu, 18 Sep 2025 17:25:40 +0300 Carolina Jubran wrote:
>>> 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?

Because currently those modes shouldn't be exposed for ethernet.

```
