net/nfp: fix mbuf flags with checksum good
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Thu, 6 Sep 2018 16:02:56 +0000 (17:02 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:01 +0000 (01:41 +0200)
commit0962b51d3c494b30602897731ef9d598e29b4f3b
treef52462c9b7a540214940043bc95e2afe5146b280
parent589dd86aaf12e02840b336db934db04593a414e4
net/nfp: fix mbuf flags with checksum good

If checksum offload enabled and hardware reports checksum as good,
update mbuf ol_flags with proper *_CKSUM_GOOD bits.

Fixes: b812daadad0d ("nfp: add Rx and Tx")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c
drivers/net/nfp/nfp_net_pmd.h