summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2026-05-04 21:37:00 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-07 04:38:57 +0300
commitde58db5f0d950c56f2fe488d04fdf376dd5ad2a6 (patch)
tree52e4b48e94bb456b9720c73c69706561621d1a13 /include/linux
parentfea3521e043fa1388ec909205687db7d4b0c57ec (diff)
downloadlinux-de58db5f0d950c56f2fe488d04fdf376dd5ad2a6.tar.xz
net/mlx5e: Count full skb length in TSO byte counters
The tso_bytes and tso_inner_bytes counters currently subtract the header length from skb->len, counting only the payload. This is confusing and doesn't align with the behavior of other _bytes counters in the driver. Report the full skb length to align with this expectation. This also makes our behavior consistent with the netdev stats API and virtio spec definition. Signed-off-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260504183704.272322-2-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions