Skip to content

Fix RMW to bit-fields and remove one superfluous ib_modify_qp

Håkon Bugge linux-rdma 2 versions Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Added mutex protection in cma_resolve_iboe_route() for timeout/timeout_set in commit ("RDMA/cma: Protect RMW with qp_mutex")

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2RDMA/cma: Remove unnecessary INIT->INIT transitiondrivers/infiniband/core/cma.c+1 -160 replies
2/2RDMA/cma: Protect RMW with qp_mutexdrivers/infiniband/core/cma.c+19 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLeon Romanovsky
1/2R-b
2/2

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

Read the v2 thread

Cover letter [PATCH for-next v2 0/2] Fix RMW to bit-fields and remove one superfluous ib_modify_qp

This series removes one superfluous ib_modify_qp() when a connected QP is created through rdma_create_qp(). This commit removes a call to rdma_init_qp_attr() for connected QPs without holding the qp_mutex.

The second commit tightens the access to bit-fields and synchronizes the access to them by means of mutex exclusion.

v1 -> v2:
* Added mutex protection in cma_resolve_iboe_route() for timeout/timeout_set in commit ("RDMA/cma: Protect RMW with qp_mutex")

Håkon Bugge (2):
RDMA/cma: Remove unnecessary INIT->INIT transition RDMA/cma: Protect RMW with qp_mutex

 drivers/infiniband/core/cma.c | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

--
1.8.3.1