net/i40e: fix CRC strip enabling
authorXiaoyun Li <xiaoyun.li@intel.com>
Fri, 2 Feb 2018 05:45:16 +0000 (13:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Feb 2018 12:40:10 +0000 (13:40 +0100)
commit745d58e0df5b5a7fee6c9c9bac142da67d9bbc88
tree7f35a6e3c014a2de3673763aa81ab4b68001cad4
parent04d4f5d2e0bcfc565451e5dad757025a40ca1c33
net/i40e: fix CRC strip enabling

New testpmd will get CRC strip offload from rx_offload_capa. I40evf
cannot disable CRC strip. And in fact, it is enabled by PF. This
patch solves the issue by adding CRC strip flag into rx_offload_capa
in i40e and i40evf.

Fixes: 8b9bd0efe0b6 ("app/testpmd: disable Rx VLAN offloads by default")

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c