net/ixgbe: fix CRC stripping capability
authorXiaoyun Li <xiaoyun.li@intel.com>
Thu, 8 Feb 2018 05:45:15 +0000 (13:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 12:14:30 +0000 (13:14 +0100)
commitcb16c6acd5f33f88b8e7bde021a9b00709f3155c
tree3ee0646744e5f40dd641cdecbe700da73f684bbc
parent5712e640708984f56a888dc5a27d30c64d2c0b8e
net/ixgbe: fix CRC stripping capability

testpmd needs to get CRC strip offload from rx_offload_capa with a
recent change. This patch adds CRC strip flag to rx_offload_capa
for ixgbe and ixgbevf, as they have the capability.

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

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c