aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2020-01-15 14:43:34 +0200
committerLeon Romanovsky <leonro@mellanox.com>2020-01-16 16:14:47 +0200
commitda9ee9d8a8745e70e481446e0bfe2d773b1c364b (patch)
tree06947e57eade4ffe1da8146cc4e243995a25d294 /drivers/infiniband/hw/mlx5/main.c
parentIB/core: Add interface to advise_mr for kernel users (diff)
downloadlinux-dev-da9ee9d8a8745e70e481446e0bfe2d773b1c364b.tar.xz
linux-dev-da9ee9d8a8745e70e481446e0bfe2d773b1c364b.zip
IB/mlx5: Add ODP WQE handlers for kernel QPs
One of the steps in ODP page fault handler for WQEs is to read a WQE from a QP send queue or receive queue buffer at a specific index. Since the implementation of this buffer is different between kernel and user QP the implementation of the handler needs to be aware of that and handle it in a different way. ODP for kernel MRs is currently supported only for RDMA_READ and RDMA_WRITE operations so change the handler to - read a WQE from a kernel QP send queue - fail if access to receive queue or shared receive queue is required for a kernel QP Signed-off-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions