diff options
author | Guy Levi <guyle@mellanox.com> | 2019-04-10 10:59:45 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-04-18 03:13:41 -0300 |
commit | 7249c8ea227a582c14f63e9e8853eb7369122f10 (patch) | |
tree | a500c90d8df51d0a158d15600e3bc820c12288c8 /crypto | |
parent | 7c39f7f671d2acc0a1f39ebbbee4303ad499bbfa (diff) | |
download | blackbird-op-linux-7249c8ea227a582c14f63e9e8853eb7369122f10.tar.gz blackbird-op-linux-7249c8ea227a582c14f63e9e8853eb7369122f10.zip |
IB/mlx5: Fix scatter to CQE in DCT QP creation
When scatter to CQE is enabled on a DCT QP it corrupts the mailbox command
since it tried to treat it as as QP create mailbox command instead of a
DCT create command.
The corrupted mailbox command causes userspace to malfunction as the
device doesn't create the QP as expected.
A new mlx5 capability is exposed to user-space which ensures that it will
not enable the feature on DCT without this fix in the kernel.
Fixes: 5d6ff1babe78 ("IB/mlx5: Support scatter to CQE for DC transport type")
Signed-off-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions