linux/drivers/infiniband/hw
Yangyang Li 58bc7acaf3 RDMA/hns: Delete unnecessary branch of hns_roce_v2_query_qp
When query_qp is called by userspace, max_send_wr and max_send_sge are set
to 0 by the kernel driver. However, the userspace does not use these two
return values from the kernel driver, but uses its own calculated values.
So there is no need for special treatment.

Fixes: 926a01dc00 ("RDMA/hns: Add QP operations support for hip08 SoC")
Link: https://lore.kernel.org/r/1624011020-16992-6-git-send-email-liweihang@huawei.com
Signed-off-by: Yangyang Li <liyangyang20@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-22 15:17:06 -03:00
..
bnxt_re RDMA/bnxt_re: Update ABI to pass wqe-mode to user space 2021-06-21 20:58:52 -03:00
cxgb4 RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
efa RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
hfi1 RDMA: Fix kernel-doc warnings about wrong comment 2021-06-21 20:32:50 -03:00
hns RDMA/hns: Delete unnecessary branch of hns_roce_v2_query_qp 2021-06-22 15:17:06 -03:00
irdma RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
mlx4 Linux 5.13-rc7 2021-06-22 14:43:51 -03:00
mlx5 Merge branch 'mlx5_realtime_ts' into rdma.git for-next 2021-06-22 15:08:39 -03:00
mthca RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
ocrdma RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
qedr RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
qib RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
usnic RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
vmw_pvrdma RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00