]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5e: Get counter group size by FW capability
authorYael Chemla <ychemla@nvidia.com>
Sun, 16 Mar 2025 08:14:35 +0000 (10:14 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 21 Mar 2025 20:23:47 +0000 (21:23 +0100)
commit4c737ceb690cd35a8caf909f2998ef79f15cc6a0
treeba85e32a1a640e59fd6811ceb5c605710d8cb186
parentda4fa5d8817dafb1a000f67b3fee5993000e8e06
net/mlx5e: Get counter group size by FW capability

Retrieve the number of fields supported by each PPCNT counter group
based on the FW capability for this group.

Signed-off-by: Yael Chemla <ychemla@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://patch.msgid.link/1742112876-2890-4-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c