linux/drivers/infiniband/sw/rxe
Xiao Yang 20ec0a6d60 RDMA/rxe: Don't overwrite errno from ib_umem_get()
rxe_mr_init_user() always returns the fixed -EINVAL when ib_umem_get()
fails so it's hard for user to know which actual error happens in
ib_umem_get(). For example, ib_umem_get() will return -EOPNOTSUPP when
trying to pin pages on a DAX file.

Return actual error as mlx4/mlx5 does.

Link: https://lore.kernel.org/r/20210621071456.4259-1-ice_yangxiao@163.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-21 21:05:02 -03:00
..
Kconfig RDMA/rxe: Fix missing kconfig dependency on CRYPTO 2021-03-01 14:46:31 -04:00
Makefile RDMA/rxe: Add ib_alloc_mw and ib_dealloc_mw verbs 2021-06-16 20:51:17 -03:00
rxe_av.c RDMA/rxe: Fix a bug in rxe_fill_ip_info() 2021-04-21 16:09:04 -03:00
rxe_comp.c RDMA/rxe: Implement invalidate MW operations 2021-06-16 20:51:18 -03:00
rxe_cq.c RDMA/rxe: Protext kernel index from user space 2021-06-03 15:53:01 -03:00
rxe_hdr.h RDMA/rxe: Remove unused pkt->offset 2021-02-16 14:42:59 -04:00
rxe_hw_counters.c RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
rxe_hw_counters.h RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
rxe_icrc.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_loc.h RDMA/rxe: Disallow MR dereg and invalidate when bound 2021-06-16 20:51:19 -03:00
rxe_mcast.c RDMA/rxe: Fix misleading comments and names 2021-01-28 15:29:55 -04:00
rxe_mmap.c RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_mr.c RDMA/rxe: Don't overwrite errno from ib_umem_get() 2021-06-21 21:05:02 -03:00
rxe_mw.c RDMA/rxe: Implement memory access through MWs 2021-06-16 20:51:18 -03:00
rxe_net.c RDMA/rxe: Fix failure during driver load 2021-06-03 16:50:29 -03:00
rxe_net.h RDMA/rxe: Add SPDX hdrs to rxe source files 2020-08-31 12:20:02 -03:00
rxe_opcode.c RDMA/rxe: Add support for bind MW work requests 2021-06-16 20:51:18 -03:00
rxe_opcode.h RDMA/rxe: Replace WR_REG_MASK by WR_LOCAL_OP_MASK 2021-06-16 20:51:18 -03:00
rxe_param.h RDMA/rxe: Enable MW object pool 2021-06-16 20:51:17 -03:00
rxe_pool.c RDMA/rxe: Add ib_alloc_mw and ib_dealloc_mw verbs 2021-06-16 20:51:17 -03:00
rxe_pool.h RDMA/rxe: Return errors for add index and key 2021-06-16 20:51:17 -03:00
rxe_qp.c RDMA/rxe: Fix qp reference counting for atomic ops 2021-06-16 20:20:23 -03:00
rxe_queue.c RDMA/rxe: Protext kernel index from user space 2021-06-03 15:53:01 -03:00
rxe_queue.h RDMA/rxe: Protext kernel index from user space 2021-06-03 15:53:01 -03:00
rxe_recv.c RDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt() 2021-03-05 14:15:18 -04:00
rxe_req.c RDMA/rxe: Implement invalidate MW operations 2021-06-16 20:51:18 -03:00
rxe_resp.c RDMA/rxe: Implement memory access through MWs 2021-06-16 20:51:18 -03:00
rxe_srq.c RDMA/rxe: Protext kernel index from user space 2021-06-03 15:53:01 -03:00
rxe_sysfs.c Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
rxe_task.c RDMA/rxe: Convert tasklets to use new tasklet_setup() API 2020-09-03 12:01:53 -03:00
rxe_task.h RDMA/rxe: Convert tasklets to use new tasklet_setup() API 2020-09-03 12:01:53 -03:00
rxe_verbs.c RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
rxe_verbs.h RDMA/rxe: Implement memory access through MWs 2021-06-16 20:51:18 -03:00
rxe.c RDMA/rxe: Enable MW object pool 2021-06-16 20:51:17 -03:00
rxe.h Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00