diff options
author | Lama Kayal <lkayal@nvidia.com> | 2022-02-01 11:24:41 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-23 16:08:18 -0800 |
commit | 7fac0529038021919ef56a9c3218d8012f187cbb (patch) | |
tree | a6eaadc552ce55baf962cc79c65cbbd155761195 /mm/slub.c | |
parent | fb7e76ea3f3b6238dda2f19a4212052d2caf00aa (diff) | |
download | linux-stable-7fac0529038021919ef56a9c3218d8012f187cbb.tar.gz linux-stable-7fac0529038021919ef56a9c3218d8012f187cbb.tar.bz2 linux-stable-7fac0529038021919ef56a9c3218d8012f187cbb.zip |
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 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions