mlx5: fix Rx checksum offload in non L3/L4 packets
authorYaacov Hazan <yaacovh@mellanox.com>
Thu, 3 Mar 2016 14:27:39 +0000 (15:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 17:52:18 +0000 (18:52 +0100)
commitd0087d760f280566b4a4d82be2a50a35246420e3
tree8c1c8ce34318b058d6011d28249a0730e0f11ec7
parent188b8ccdfec3dc5b15b4f55687e7db6b8265ba9f
mlx5: fix Rx checksum offload in non L3/L4 packets

Change rxq_cq_to_ol_flags() to set checksum flags according to packet type,
so for non L3/L4 packets the mbuf chksum_bad flags will not be set.

Fixes: 67fa62bc672d ("mlx5: support checksum offload")

Signed-off-by: Yaacov Hazan <yaacovh@mellanox.com>
doc/guides/rel_notes/release_16_04.rst
drivers/net/mlx5/Makefile
drivers/net/mlx5/mlx5_rxtx.c