numam-dpdk/drivers/net/i40e
Ferruh Yigit 70815c9eca ethdev: add new offload flag to keep CRC
DEV_RX_OFFLOAD_KEEP_CRC offload flag is added. PMDs that support
keeping CRC should advertise this offload capability.

DEV_RX_OFFLOAD_CRC_STRIP flag will remain one more release
default behavior in PMDs are to keep the CRC until this flag removed

Until DEV_RX_OFFLOAD_CRC_STRIP flag is removed:
- Setting both KEEP_CRC & CRC_STRIP is INVALID
- Setting only CRC_STRIP PMD should strip the CRC
- Setting only KEEP_CRC PMD should keep the CRC
- Not setting both PMD should keep the CRC

A helper function rte_eth_dev_is_keep_crc() has been added to be able to
change the no flag behavior with minimal changes in PMDs.

The PMDs that doesn't report the DEV_RX_OFFLOAD_KEEP_CRC offload can
remove rte_eth_dev_is_keep_crc() checks next release, related code
commented to help the maintenance task.

And DEV_RX_OFFLOAD_CRC_STRIP has been added to virtual drivers since
they don't use CRC at all, when an application requires this offload
virtual PMDs should not return error.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2018-07-03 01:35:58 +02:00
..
base net/i40e: fix shifts of signed values 2018-05-23 00:35:01 +02:00
i40e_ethdev_vf.c ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
i40e_ethdev.c ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
i40e_ethdev.h net/i40e: remove summarized global register change info 2018-07-03 01:35:58 +02:00
i40e_fdir.c net/i40e: remove summarized global register change info 2018-07-03 01:35:58 +02:00
i40e_flow.c net/i40e: remove summarized global register change info 2018-07-03 01:35:58 +02:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_avx2.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_common.h net/i40e: remove dependency on old Rx flags 2018-05-23 00:35:01 +02:00
i40e_rxtx_vec_neon.c net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c net/i40e: remove dependency on old Rx flags 2018-05-23 00:35:01 +02:00
Makefile net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00
meson.build net/i40e: fix missing defines for non-AVX build 2018-05-08 22:14:07 +02:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: remove summarized global register change info 2018-07-03 01:35:58 +02:00
rte_pmd_i40e.h net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00