net/iavf: support CRC strip disabling
authorHaiyue Wang <haiyue.wang@intel.com>
Tue, 12 Jan 2021 08:13:00 +0000 (16:13 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Jan 2021 17:51:58 +0000 (18:51 +0100)
commite5c9ed3bbd4afb4e3b469eaf2ca556d3f8420286
tree8e28ea539b4a709c0f6330ff6c64ecd77ccbb748
parent7815caa653bd47837eaaa876d78ba88cbe19e5b9
net/iavf: support CRC strip disabling

The VF will check the PF's CRC strip capability firstly, then set the
'CRC strip disable' value in the queue configuration according to the
RX CRC offload setting.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_rxtx.c
drivers/net/iavf/iavf_vchnl.c