summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorCarolina Jubran <cjubran@nvidia.com>2025-09-24 12:40:34 +0000
committerJakub Kicinski <kuba@kernel.org>2025-09-26 16:49:20 -0700
commit6b81b8a0b1978284e007566d7a1607b47f92209f (patch)
treecb6b1014b10c94049db689a56365a4a4ba2b8126 /rust/helpers/build_bug.c
parentcc2f08129925b437bf28f7f7822f20dac083a87c (diff)
net/mlx5e: Don't query FEC statistics when FEC is disabled
Update mlx5e_stats_fec_get() to check the active FEC mode and skip statistics collection when FEC is disabled. Signed-off-by: Carolina Jubran <cjubran@nvidia.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Yael Chemla <ychemla@nvidia.com> Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Link: https://patch.msgid.link/20250924124037.1508846-3-vadim.fedorenko@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions