linux/drivers/infiniband/hw
Guy Levi 108809a057 IB/mlx4: Fix RSS's QPC attributes assignments
In the modify QP handler the base_qpn_udp field in the RSS QPC is
overwrite later by irrelevant value assignment. Hence, ingress packets
which gets to the RSS QP will be steered then to a garbage QPN.

The patch fixes this by skipping the above assignment when a RSS QP is
modified, also, the RSS context's attributes assignments are relocated
just before the context is posted to avoid future issues like this.

Additionally, this patch takes the opportunity to change the code to be
disciplined to the device's manual and assigns the RSS QP context just at
RESET to INIT transition.

Fixes:3078f5f1bd8b ("IB/mlx4: Add support for RSS QP")
Signed-off-by: Guy Levi <guyle@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-11-10 13:04:09 -05:00
..
bnxt_re bnxt_re: Implement the shutdown hook of the L2-RoCE driver interface 2017-10-25 15:25:08 -04:00
cxgb3 Merge branch 'timer_setup' into for-next 2017-10-18 13:12:09 -04:00
cxgb4 RDMA/cxgb4: Declare stag as __be32 2017-10-25 15:25:00 -04:00
hfi1 IB/hfi1: Take advantage of kvzalloc_node in sdma initialization 2017-10-30 14:51:36 -04:00
hns RDMA/hns: Modify the usage of cmd_sn in hip08 2017-11-10 12:32:43 -05:00
i40iw i40iw: Move cqp_cmd_head init to CQP initialization 2017-10-18 13:28:46 -04:00
mlx4 IB/mlx4: Fix RSS's QPC attributes assignments 2017-11-10 13:04:09 -05:00
mlx5 IB/mlx5: Add support for RSS on the inner packet 2017-10-25 14:19:32 -04:00
mthca IB/mthca: Fix indentation 2017-10-14 20:47:06 -04:00
nes Merge branch 'timer_setup' into for-next 2017-10-18 13:12:09 -04:00
ocrdma Merge branch 'for-next-early' into for-next 2017-10-18 13:07:13 -04:00
qedr Merge branch 'for-next-early' into for-next 2017-10-18 13:07:13 -04:00
qib Merge branch 'timer_setup' into for-next 2017-10-18 13:12:09 -04:00
usnic RDMA/usnic: Instantiate data structures once 2017-10-14 20:47:07 -04:00
vmw_pvrdma RDMA/vmw_pvrdma: Fix reporting correct opcodes for completion 2017-09-22 13:32:22 -04:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00