net/mlx5: fix CRC strip capability query
authorShahaf Shuler <shahafs@mellanox.com>
Thu, 1 Feb 2018 18:53:53 +0000 (20:53 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Feb 2018 12:42:53 +0000 (13:42 +0100)
commitcd230a3ed985894efafe326cbbf5db7f9e45b25c
tree8b4541310f0fd9b219ae792fe6573c76afedb696
parentc3299d76867f23e595d8e1b3e6b9ad4d6aa87155
net/mlx5: fix CRC strip capability query

IBV_WQ_FLAGS_SCATTER_FCS is a WQ flag to be used to configure the CRC
strip on a queue upon creation.

Using IBV_RAW_PACKET_CAP_SCATTER_FCS instead to query to capability.
Even though this is RAW_QP capability, it is being used by rdma-core to
indicate for both RAW_QP and WQ.

Fixes: 43e9d9794cde ("net/mlx5: support upstream rdma-core")
Cc: stable@dpdk.org
Reported-by: Alex Rosenbaum <alexr@mellanox.com>
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5.c