test/virtual_pmd: report CRC strip capability
authorPhil Yang <phil.yang@arm.com>
Wed, 4 Jul 2018 01:31:45 +0000 (09:31 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 4 Jul 2018 19:32:53 +0000 (21:32 +0200)
commit5697d0888eb7818f99ea2d71fdb20f9f20ce6c04
tree67ed69d50ae764aee820006b8058e252dd67cd5e
parent540914bc7ad88bae5ac5a4ea4acf4ddc5f4799e5
test/virtual_pmd: report CRC strip capability

Add DEV_RX_OFFLOAD_CRC_STRIP to virtual drivers since they don't
use CRC at all, when an application requires this offload virtual
PMDs should not return error.

Fixes: 3d12dceed2df ("ethdev: add new offload flag to keep CRC")

Signed-off-by: Phil Yang <phil.yang@arm.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
test/test/virtual_pmd.c