net/mlx5e: Use tcp_v[46]_check checksum helpers
authorGal Pressman <gal@nvidia.com>
Thu, 13 Jun 2024 21:00:35 +0000 (00:00 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 15 Jun 2024 01:53:24 +0000 (18:53 -0700)
commitfac15a72b8e5c2baea5346fe56403f3dcf12755e
tree914271bd995bbb3c7ce1b55dc88452e973a9c1d7
parenta9dbb4ac58c02cdc2e2c7aa505699721fc426947
net/mlx5e: Use tcp_v[46]_check checksum helpers

Use the tcp specific helpers to calculate the tcp pseudo header checksum
instead of the csum_*_magic ones.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240613210036.1125203-6-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c