diff options
| author | Michael Chan <michael.chan@broadcom.com> | 2025-11-26 13:56:42 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-27 18:59:28 -0800 |
| commit | caa343e9a4a171db045c8e734d68cb10ad0dd65c (patch) | |
| tree | 3b1cfd50ec5dfe2751fbed7f30f782c580a2d539 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | |
| parent | 61dbc61a34c912e4a5559cfc3bb966d9a32caf33 (diff) | |
bnxt_en: Enhance TX pri counters
The priority packet and byte counters in ethtool -S are returned by
the driver based on the pri2cos mapping. The assumption is that each
priority is mapped to one and only one hardware CoS queue. In a
special RoCE configuration, the FW uses combined CoS queue 0 and CoS
queue 1 for the priority mapped to CoS queue 0. In this special
case, we need to add the CoS queue 0 and CoS queue 1 counters for
the priority packet and byte counters.
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20251126215648.1885936-2-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c')
0 files changed, 0 insertions, 0 deletions
