app/testpmd: set keep CRC offload flag
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Jul 2018 18:44:52 +0000 (19:44 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Jul 2018 22:41:33 +0000 (00:41 +0200)
commite557ebc0cf30877977bbb7368194505226c9d31d
tree81489442357a161ff58b834ff9e666668af1c0da
parenta3b85476c51ee54e7e5d228b09ba702d2b20e6fb
app/testpmd: set keep CRC offload flag

If "--disable-crc-strip" testpmd parameter issued, it removes the
DEV_RX_OFFLOAD_CRC_STRIP flag.
With introduction of new DEV_RX_OFFLOAD_KEEP_CRC offload flag, this
flag also should be set when this parameter issued.

Fixes: 70815c9ecadd ("ethdev: add new offload flag to keep CRC")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/parameters.c