net/i40e: fix Rx checksum flag
authorXiao Wang <xiao.w.wang@intel.com>
Thu, 19 Jan 2017 05:39:23 +0000 (21:39 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000 (22:18 +0100)
commit65a35ca820f4ed4d55d22a32bf6cadc9d12c95af
treee3f0ff67c46fb286a264c1eb400ce59ee1a993a2
parent9b667210700e6b52a123cc5b36d0a3b0b3aa7c94
net/i40e: fix Rx checksum flag

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

Fixes: b704f9071b09 ("net/i40e: implement new Rx checksum flag")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
drivers/net/i40e/i40e_rxtx.c