net/tap: add CRC stripping capability
authorOphir Munk <ophirmu@mellanox.com>
Tue, 13 Feb 2018 08:14:25 +0000 (08:14 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 13 Feb 2018 17:17:30 +0000 (18:17 +0100)
commit3382eb3a3ae2866a2e59fecdd5c3ca2926f59f57
tree5c77ecf2fe1c73b6f84ca26f26075ba3a526e835
parent4521540c387150e33a452f29834b4a1cec819db1
net/tap: add CRC stripping capability

CRC stripping is executed in the kernel outside of TAP PMD scope.
There is no prevention that the TAP PMD will report on Rx CRC
stripping capability.
In the corrupted code, TAP PMD did not report on this capability.
The fix enables TAP PMD to report that Rx CRC stripping is supported.

Fixes: 02f96a0a82d1 ("net/tap: add TUN/TAP device PMD")
Cc: stable@dpdk.org
Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
drivers/net/tap/rte_eth_tap.c