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>
} else if (mask->l4_csum_ok) {
MLX5_SET(fte_match_set_lyr_2_4, headers_m, l4_checksum_ok,
mask->l4_csum_ok);
- MLX5_SET(fte_match_set_lyr_2_4, headers_v, ipv4_checksum_ok,
+ MLX5_SET(fte_match_set_lyr_2_4, headers_v, l4_checksum_ok,
value->l4_csum_ok);
}
}