diff options
author | Lama Kayal <lkayal@nvidia.com> | 2022-02-01 12:24:41 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-24 03:08:18 +0300 |
commit | 7fac0529038021919ef56a9c3218d8012f187cbb (patch) | |
tree | a6eaadc552ce55baf962cc79c65cbbd155761195 /drivers/cpufreq/s3c24xx-cpufreq.c | |
parent | fb7e76ea3f3b6238dda2f19a4212052d2caf00aa (diff) | |
download | linux-7fac0529038021919ef56a9c3218d8012f187cbb.tar.xz |
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>
Diffstat (limited to 'drivers/cpufreq/s3c24xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions