numam-dpdk/drivers/net/mlx5
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
..
Makefile net/mlx5: use stride index in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_defs.h net/mlx5: increase number of strides 2018-07-03 01:35:58 +02:00
mlx5_ethdev.c net/mlx5: fix invalid error check 2018-07-03 01:35:58 +02:00
mlx5_flow.c net/mlx5: fix error number handling 2018-07-03 01:35:57 +02:00
mlx5_glue.c net/mlx5: add a function to rdma-core glue 2018-05-14 22:31:52 +01:00
mlx5_glue.h net/mlx5: add a function to rdma-core glue 2018-05-14 22:31:52 +01:00
mlx5_mac.c net/mlx5: implement multicast add list devop 2018-04-27 17:34:43 +01:00
mlx5_mr.c net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_mr.h net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_nl.c net/mlx5: use Netlink to enable promisc/allmulti mode 2018-04-14 00:41:44 +02:00
mlx5_prm.h net/mlx5: add new fields in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_rss.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5_rxmode.c net/mlx5: use Netlink to enable promisc/allmulti mode 2018-04-14 00:41:44 +02:00
mlx5_rxq.c ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx_vec.c net/mlx5: add Multi-Packet Rx support 2018-05-14 22:31:52 +01:00
mlx5_rxtx_vec.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx.c net/mlx5: use stride index in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_rxtx.h net/mlx5: use stride index in Rx completion entry 2018-07-03 01:35:58 +02:00
mlx5_socket.c net/mlx5: fix socket connection return value 2018-05-14 22:31:48 +01:00
mlx5_stats.c net/mlx5: fix count in xstats 2018-05-23 00:35:01 +02:00
mlx5_trigger.c net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_txq.c net/mlx5: separate generic tunnel TSO from the standard one 2018-07-03 01:35:58 +02:00
mlx5_utils.h net/mlx5: add hardware flow debug dump 2018-04-27 18:00:56 +01:00
mlx5_vlan.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5.c net/mlx5: add warning message for Multi-Packet RQ 2018-07-03 01:35:58 +02:00
mlx5.h net/mlx5: support MPLS-in-GRE and MPLS-in-UDP 2018-05-17 12:31:42 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00