Skip to content

Collection of ODP fixes

Leon Romanovsky linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net/mlx5: Release resource on error flowdrivers/net/ethernet/mellanox/mlx5/core/qp.c+2 -20 replies
2/10IB/mlx5: Avoid hangs due to a missing completiondrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/mr.c+13 -32 replies
3/10net/mlx5: Add interface to hold and release core resourcesdrivers/net/ethernet/mellanox/mlx5/core/qp.c include/linux/mlx5/qp.h+21 -00 replies
4/10net/mlx5: Enumerate page fault typesinclude/linux/mlx5/device.h+7 -00 replies
5/10IB/mlx5: Lock QP during page fault handlingdrivers/infiniband/hw/mlx5/odp.c+37 -90 replies
6/10net/mlx5: Return success for PAGE_FAULT_RESUME in internal error statedrivers/net/ethernet/mellanox/mlx5/core/cmd.c+1 -10 replies
7/10net/mlx5: Use multi threaded workqueue for page fault handlingdrivers/net/ethernet/mellanox/mlx5/core/eq.c+3 -20 replies
8/10IB/mlx5: Call PAGE_FAULT_RESUME command asynchronouslydrivers/infiniband/hw/mlx5/odp.c include/linux/mlx5/driver.h+94 -194 replies
9/10net/mlx5: Remove unused functiondrivers/net/ethernet/mellanox/mlx5/core/eq.c include/linux/mlx5/driver.h+0 -200 replies
10/10IB/mlx5: Improve ODP debugging messagesdrivers/infiniband/core/umem_odp.c drivers/infiniband/hw/mlx5/odp.c+14 -40 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchMajd Dibbiny
1/10R-b
2/10R-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH mlx5-next 00/10] Collection of ODP fixes

From: Leon Romanovsky <[email protected]>

Hi,

This is collection of fixes to mlx5_core and mlx5_ib ODP logic. There are two main reasons why we decided to forward it to mlx5-next and not to rdma-rc or net like our other fixes.

1. We have large number of patches exactly in that area that are ready for submission and we don't want to create extra merge work for maintainers due to that. Among those future series (already ready and tested): internal change of mlx5_core pagefaults handling, moving ODP code to RDMA, change in EQ mechanism, simplification and moving SRQ QP to RDMA, extra fixes to mlx5_ib ODP and ODP SRQ support.

2. Most of those fixes are for old bugs and there is no rush to fix them right now (in -rc1/-rc2).

Thanks

Moni Shoua (10):
net/mlx5: Release resource on error flow
IB/mlx5: Avoid hangs due to a missing completion
net/mlx5: Add interface to hold and release core resources net/mlx5: Enumerate page fault types
IB/mlx5: Lock QP during page fault handling
net/mlx5: Return success for PAGE_FAULT_RESUME in internal error state net/mlx5: Use multi threaded workqueue for page fault handling IB/mlx5: Call PAGE_FAULT_RESUME command asynchronously net/mlx5: Remove unused function
IB/mlx5: Improve ODP debugging messages

 drivers/infiniband/core/umem_odp.c            |  14 +-
 drivers/infiniband/hw/mlx5/mlx5_ib.h          |   1 +
 drivers/infiniband/hw/mlx5/mr.c               |  15 +-
 drivers/infiniband/hw/mlx5/odp.c              | 158 ++++++++++++++----
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/eq.c  |  21 +--
 drivers/net/ethernet/mellanox/mlx5/core/qp.c  |  20 ++-
 include/linux/mlx5/device.h                   |   7 +
 include/linux/mlx5/driver.h                   |   7 +-
 include/linux/mlx5/qp.h                       |   5 +
 10 files changed, 191 insertions(+), 59 deletions(-)