[PATCH 40/44] net: mana: Fix the tso_bytes calculation
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 29 Sep 2023 20:42:26 +0000 (13:42 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 22 May 2025 18:32:07 +0000 (20:32 +0200)
commit27c702c8db657523ef541827447bde6eb7ea0a5e
treef0c4552da58d0dc119a64d80de6aa492defe356a
parent53b180b8c9d05dd04ee784180f85bb4a08f5b5c6
[PATCH 40/44] net: mana: Fix the tso_bytes calculation

sizeof(struct hop_jumbo_hdr) is not part of tso_bytes, so remove
the subtraction from header size.

Cc: stable@vger.kernel.org
Fixes: bd7fc6e1957c ("net: mana: Add new MANA VF performance counters for easier troubleshooting")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
(cherry picked from commit 7a54de92657455210d0ca71d4176b553952c871a)
Signed-off-by: Bastian Blank <waldi@debian.org>
Gbp-Pq: Topic features/all/ethernet-microsoft
Gbp-Pq: Name 0040-net-mana-Fix-the-tso_bytes-calculation.patch
drivers/net/ethernet/microsoft/mana/mana_en.c