net/fm10k: implement new Rx checksum flag
authorXiao Wang <xiao.w.wang@intel.com>
Tue, 6 Sep 2016 01:27:29 +0000 (09:27 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Oct 2016 23:41:12 +0000 (01:41 +0200)
commit5a239126edb36eaa026829fca1dcbbd5f43d4cd0
treebec368cd7bde3cb4ace642dfa1d219f79af4e2be
parenta8213185e9835ddf7ac1fa96d493130db5005737
net/fm10k: implement new Rx checksum flag

Add CKSUM_GOOD flag to distinguish a good checksum from an unknown one.
Since vector Rx supports checksum offload, this patch removes the
hw_ip_checksum check in fm10k_rx_vec_condition_check().

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/fm10k/fm10k_rxtx.c
drivers/net/fm10k/fm10k_rxtx_vec.c