numam-dpdk/examples/vhost
Ferruh Yigit 323e7b667f ethdev: make default behavior CRC strip on Rx
Removed DEV_RX_OFFLOAD_CRC_STRIP offload flag.
Without any specific Rx offload flag, default behavior by PMDs is to
strip CRC.

PMDs that support keeping CRC should advertise DEV_RX_OFFLOAD_KEEP_CRC
Rx offload capability.

Applications that require keeping CRC should check PMD capability first
and if it is supported can enable this feature by setting
DEV_RX_OFFLOAD_KEEP_CRC in Rx offload flag in rte_eth_dev_configure()

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Tomasz Duszynski <tdu@semihalf.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Jan Remes <remes@netcope.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Hyong Youb Kim <hyonkim@cisco.com>
2018-09-14 20:08:41 +02:00
..
main.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
main.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile examples: make Linux environment check consistent 2018-07-12 09:48:12 +02:00
meson.build examples: disable unsupported examples on BSD build 2018-04-17 16:09:43 +02:00
virtio_net.c examples/vhost: fix header copy to discontiguous desc buffer 2018-05-14 22:31:03 +01:00