numam-dpdk/drivers/net/mlx4
Ophir Munk ce07b1514d net/mlx4: fix CRC stripping capability report
There are two capabilities related to CRC stripping:
1. mlx4 HW capability to perform CRC stripping on a received packet.
This capability is built in mlx4 HW. It should be returned by the API
call mlx4_get_rx_queue_offloads().
2. mlx4 driver capability to enable/disable HW CRC stripping. This
capability is dependent on the driver version.

Before this commit the second capability was falsely returned by
the mentioned API. This commit fixes it by returning the first
capability.
mlx4 HW performs CRC stripping by default and this capability is
always reported as "true".

The ability to enable/disable CRC stripping is supported since this
commit and requires OFED version 4.3-1.5.0.0 or rdma-core version v18.
CRC stripping will be done by default regardless of its configuration
when working with OFED or rdma-core versions earlier than those
previously specified or before this commit.

Fixes: de1df14e6e ("net/mlx4: support CRC strip toggling")
Cc: stable@dpdk.org

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
2018-05-14 22:31:51 +01:00
..
Makefile net/mlx: fix warnings for unused compiler arguments 2018-04-14 00:40:21 +02:00
mlx4_ethdev.c drivers/net: update link status 2018-04-27 15:54:56 +01:00
mlx4_flow.c net/mlx4: fix UDP flow rule limitation enforcement 2018-05-14 22:31:48 +01:00
mlx4_flow.h net/mlx4: fix UDP flow rule limitation enforcement 2018-05-14 22:31:48 +01:00
mlx4_glue.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_intr.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_mr.c net/mlx4: fix alignment of memory region 2018-04-27 15:54:56 +01:00
mlx4_prm.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_rxq.c net/mlx4: fix CRC stripping capability report 2018-05-14 22:31:51 +01:00
mlx4_rxtx.c net/mlx4: support CRC strip toggling 2018-04-14 00:43:30 +02:00
mlx4_rxtx.h ethdev: flatten RSS configuration in flow API 2018-04-27 18:00:53 +01:00
mlx4_txq.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4.c net/mlx4: fix inner RSS support for broken kernels 2018-05-02 19:28:48 +02:00
mlx4.h net/mlx4: fix Rx resource leak in case of error 2018-05-02 19:28:48 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00