summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorShahar Shitrit <shshitrit@nvidia.com>2026-09-02 19:46:34 +0300
committerJakub Kicinski <kuba@kernel.org>2026-09-05 13:14:48 -0700
commitc84ce45a7a3f3f024502c7f53308db9c76e4ae71 (patch)
tree2b3375d954ea5f8d7758ba2783517f5f8f0147e5 /scripts/basic
parentb9d755c5a37519fb1354034db1dfeb30e1ba6856 (diff)
downloadlinux-c84ce45a7a3f3f024502c7f53308db9c76e4ae71.tar.gz
linux-c84ce45a7a3f3f024502c7f53308db9c76e4ae71.zip
net/mlx5e: Fix reporting support for all RS FEC variants
get_fec_supported_advertised() populates the FEC modes reported as supported to userspace. The MLX5E_ADVERTISE_SUPPORTED_FEC macro only checked MLX5E_FEC_RS_528_514, causing devices that support only the other RS variants (RS_544_514_INTERLEAVED_QUAD or RS_544_514) to not advertise RS as supported to ethtool at all. Introduce MLX5E_FEC_RS_MASK covering all three RS bit positions, update the macro to accept a bitmask directly rather than a single enum value, and pass MLX5E_FEC_RS_MASK for the RS entry. Fixes: b5ede32d3329 ("net/mlx5e: Add support for FEC modes based on 50G per lane links") Fixes: 4e343c11efbb ("net/mlx5e: Support FEC settings for 200G per lane link modes") Signed-off-by: Shahar Shitrit <shshitrit@nvidia.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Yael Chemla <ychemla@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260902164634.3657606-4-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions