numam-dpdk/drivers/net/af_packet
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
..
Makefile use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_eth_af_packet.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
rte_pmd_af_packet_version.map af_packet: make the device detachable 2016-03-16 19:05:47 +01:00