Searched hist:"7 fac0529" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.c | 7fac0529 Tue Feb 01 03:24:41 CST 2022 Lama Kayal <lkayal@nvidia.com> net/mlx5e: Add feature check for set fec counters
Fec counters support is checked via the PCAM feature_cap_mask, bit 0: PPCNT_counter_group_Phy_statistical_counter_group. Add feature check to avoid faulty behavior.
Fixes: 0a1498ebfa55 ("net/mlx5e: Expose FEC counters via ethtool") Signed-off-by: Lama Kayal <lkayal@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
|