diff options
| author | Or Har-Toov <ohartoov@nvidia.com> | 2026-11-01 08:58:33 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-11-06 14:41:14 -0800 |
| commit | 9c1adbe7fa6cbc02c25db2039532918acf846400 (patch) | |
| tree | 3cca0b37dfa6e72382d84755a5805c052abc3b5a /rust/kernel/alloc | |
| parent | c4b75e64aa5b1adc75b4f1f251b5e3baa5b75b09 (diff) | |
net/mlx5e: Add missing Ethernet multicast octets to vport_rx_bytes sum
mlx5e_rep_update_hw_counters() adds transmitted_eth_multicast.packets
to vport_rx_packets but does not add transmitted_eth_multicast.octets
to vport_rx_bytes. As a result, Ethernet multicast sent by a VF/SF is
counted in its representor's rx_packets but not in rx_bytes.
Fix by adding transmitted_eth_multicast.octets to the vport_rx_bytes
sum.
Fixes: 64b68e369649 ("net/mlx5: Refactor and expand rep vport stat group")
Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20261101065833.282261-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
