numam-dpdk/examples/netmap_compat
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
..
bridge ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
lib ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
netmap remove trailing whitespaces 2014-06-11 00:29:34 +02:00
Makefile examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build examples: add empty meson files for unsupported ones 2018-04-17 16:09:43 +02:00