net/i40e: fix checksum flag in x86 vector Rx
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 24 Jan 2017 19:06:59 +0000 (14:06 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000 (22:18 +0100)
commitf3a85f4ce04d9fb55ebdb392563f7c1711f3d943
treeac452c19037e8a64073265d9d190fd8026afdedc
parent2e056ec0dc1fca8a77b8ffbc81d094b51e404fcc
net/i40e: fix checksum flag in x86 vector Rx

When no error reported in Rx descriptor, we should set
CKSUM_GOOD flag before return.

Fixes: 9966a00a0688 ("net/i40e: enable bad checksum flags in vector Rx")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_rxtx_vec_sse.c