numam-dpdk/drivers/net/sfc
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/sfc/base: add Medford2 head-of-line blocking stats 2018-05-14 22:31:49 +01:00
efsys.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
Makefile net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
meson.build net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
rte_pmd_sfc_version.map net/sfc: rename version map file 2018-02-05 13:14:36 +01:00
sfc_debug.h log: remove log level config option 2018-01-17 14:21:46 +01:00
sfc_dp_rx.h net/sfc: support flow marks in equal stride super-buffer Rx 2018-04-27 18:00:59 +01:00
sfc_dp_tx.h net/sfc: support runtime VI window size 2018-03-30 14:08:44 +02:00
sfc_dp.c net/sfc: support driver-wide dynamic logging 2018-03-30 14:08:44 +02:00
sfc_dp.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ef10_essb_rx.c net/sfc: add missing Rx descriptor status callback 2018-05-30 12:30:40 +02:00
sfc_ef10_rx_ev.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ef10_rx.c net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ef10_tx.c net/sfc: support runtime VI window size 2018-03-30 14:08:44 +02:00
sfc_ef10.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ethdev.c net/sfc: make sure that stats name is nul-terminated 2018-05-14 23:32:23 +02:00
sfc_ev.c net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_ev.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
sfc_filter.c net/sfc: change license to BSD-3-Clause 2018-01-16 18:47:49 +01:00
sfc_filter.h net/sfc: change license to BSD-3-Clause 2018-01-16 18:47:49 +01:00
sfc_flow.c net/sfc: fix errno if flow API RSS action parse fails 2018-05-17 19:44:23 +02:00
sfc_flow.h net/sfc: remove conditional compilation for RSS 2018-04-27 18:00:55 +01:00
sfc_intr.c net/sfc: prepare to merge init logs with main log type 2018-03-30 14:08:44 +02:00
sfc_kvargs.c net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_kvargs.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_log.h net/sfc: add dynamic log level for MCDI messages 2018-03-30 14:08:44 +02:00
sfc_mcdi.c net/sfc: add dynamic log level for MCDI messages 2018-03-30 14:08:44 +02:00
sfc_port.c net/sfc: use default FEC mode 2018-04-14 00:43:30 +02:00
sfc_rx.c ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
sfc_rx.h net/sfc: support equal stride super-buffer Rx mode 2018-04-27 18:00:58 +01:00
sfc_tso.c net/sfc/base: add outer IP ID parameter to TSOv2 descriptor 2018-03-30 14:08:43 +02:00
sfc_tweak.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc_tx.c net/sfc: fix inner TCP/UDP checksum offload control 2018-05-14 22:31:52 +01:00
sfc_tx.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
sfc.c net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00
sfc.h net/sfc: add Rx descriptor wait timeout 2018-04-27 18:00:59 +01:00