app/testpmd: enable CRC strip without capability check
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 12:08:03 +0000 (12:08 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Feb 2018 17:42:14 +0000 (18:42 +0100)
commit788e7ff29cf73429e749d5e26a30cbfb80051cc6
treed4a6937e2f41bcce3e68bc06214cff94803664df
parent0ab56bd30c74cbd36758bc92cbce65c4a6988c1b
app/testpmd: enable CRC strip without capability check

Some hardware doesn't support disabling CRC strip. In techboard it has
been decided to enable CRC strip always.

The testpmd update in commit 8b9bd0efe0b6, enables CRC strip only if
PMD reports CRC strip capability. Not all PMDs updated to report CRC
strip.

For the PMDs not reporting CRC strip testpmd behavior changed and
disabling CRC strip for them. And this may generate error for PMDs that
doesn't support disabling CRC strip.

Removing capability check for this release. In long term there can be
option to remove CRC strip flag completely or adding a new flag to let
PMD say disabling is not supported.

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

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
app/test-pmd/testpmd.c