net/mlx5: fix L4 integrity translation
authorGregory Etelson <getelson@nvidia.com>
Mon, 5 Jul 2021 09:05:00 +0000 (12:05 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 8 Jul 2021 20:09:30 +0000 (22:09 +0200)
commitcdc32d127e68d711d2c072883983e4bcf792fa61
tree278ac9d5d6a55dc429793d77c2a9b74e76670b1c
parent32d1e4dbadba4bc3523d8b354458a4b979e5c2e6
net/mlx5: fix L4 integrity translation

MLX5 PMD supports L3 and L4 integrity bits.
L4 checksum-ok bit was not translated correctly.
The patch updates the l4_csum_ok integrity bit translation.

Fixes: 79f8952783d0 ("net/mlx5: support integrity flow item")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow_dv.c