net: mana: Fix the tso_bytes calculation
authorHaiyang Zhang <haiyangz@microsoft.com>
Fri, 29 Sep 2023 20:42:26 +0000 (13:42 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 5 Oct 2023 09:45:06 +0000 (11:45 +0200)
commit7a54de92657455210d0ca71d4176b553952c871a
tree736aa1f610aa40e6ef06171a80e29157c49679ac
parentb2b000069a4c307b09548dc2243f31f3ca0eac9c
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>
drivers/net/ethernet/microsoft/mana/mana_en.c