[PATCH V2 for-next 1/8] RDMA/hns: Modify the value with rd_rd of qp_attr

2017-09-29 Thread Wei Hu (Xavier)
From: Lijun Ou The value of max_rd_atomic and max_dest_rd_atomic in query_qp are incorrect. It should be assigned by left shifting of the bit in hip06 SoC. Signed-off-by: Lijun Ou Signed-off-by: Wei Hu (Xavier) ---

[PATCH V2 for-next 1/8] RDMA/hns: Modify the value with rd_rd of qp_attr

2017-09-29 Thread Wei Hu (Xavier)
From: Lijun Ou The value of max_rd_atomic and max_dest_rd_atomic in query_qp are incorrect. It should be assigned by left shifting of the bit in hip06 SoC. Signed-off-by: Lijun Ou Signed-off-by: Wei Hu (Xavier) --- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 4 ++-- 1 file changed, 2