numam-dpdk/drivers
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
..
baseband bbdev: change names of baseband devices 2018-05-10 17:46:20 +01:00
bus bus/fslmc: remove dead code 2018-05-14 01:01:04 +02:00
common common/octeontx: move mbox to common folder 2018-04-04 23:14:52 +02:00
compress compress/isal: add ISA-L decomp functionality 2018-05-10 17:46:20 +01:00
crypto crypto/ccp: add meson build 2018-05-08 22:26:07 +02:00
event eventdev: add driver interface of crypto adapter 2018-05-10 14:07:37 +02:00
mempool mempool/dpaa2: add functions for CMDIF 2018-05-08 14:14:59 +02:00
net net/mlx4: fix CRC stripping capability report 2018-05-14 22:31:51 +01:00
raw raw/ifpga/base: fix build with icc 2018-05-14 12:40:11 +02:00
Makefile compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00
meson.build compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00