Skip to content

RDMA/rxe: Misc rxe_pool cleanups

Bob Pearson linux-rdma 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesNew
  2. v26 patches 2 repliesSuperseded
  3. v15 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6RDMA/rxe: Fix bug in rxe_allocdrivers/infiniband/sw/rxe/rxe_pool.c+35 -60 replies
2/6RDMA/rxe: Fix misleading comments and namesdrivers/infiniband/sw/rxe/rxe_mcast.c drivers/infiniband/sw/rxe/rxe_pool.c drivers/infiniband/sw/rxe/rxe_pool.h+42 -430 replies
3/6RDMA/rxe: Remove RXE_POOL_ATOMICdrivers/infiniband/sw/rxe/rxe_pool.c drivers/infiniband/sw/rxe/rxe_pool.h+1 -60 replies
4/6RDMA/rxe: Remove references to ib_device and pooldrivers/infiniband/sw/rxe/rxe_pool.c drivers/infiniband/sw/rxe/rxe_pool.h+2 -410 replies
5/6RDMA/rxe: Remove unneeded pool->statedrivers/infiniband/sw/rxe/rxe_pool.c drivers/infiniband/sw/rxe/rxe_pool.h+1 -430 replies
6/6RDMA/rxe: Replace missing rxe_pool_get_index_lockeddrivers/infiniband/sw/rxe/rxe_pool.c+14 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH for-next v3 0/6] RDMA/rxe: Misc rxe_pool cleanups

[v3]
Fixed a spelling error suggested by [email protected] Changed the naming of APIs to xxx_locked suggested by [email protected]

[v2]
This series of patches corrects a bug introduced in rxe_pool.c by a recent commit and then addresses several issues raised during discussion of the bug and the proposed fix.

The first patch fixes a real bug but the other five are stylistic and cleanup changes.

Taken together these changes also improve the performance of ib_write_bw (in software loopback) by about 6% by reducing overhead in rxe_pool.c compared to current head of tree.

Bob Pearson (6):
RDMA/rxe: Fix bug in rxe_alloc
RDMA/rxe: Fix misleading comments and names RDMA/rxe: Remove RXE_POOL_ATOMIC
RDMA/rxe: Remove references to ib_device and pool RDMA/rxe: Remove unneeded pool->state RDMA/rxe: Replace missing rxe_pool_get_index_locked

 drivers/infiniband/sw/rxe/rxe_mcast.c |   8 +-
 drivers/infiniband/sw/rxe/rxe_pool.c  | 132 +++++++++-----------------
 drivers/infiniband/sw/rxe/rxe_pool.h  |  63 ++++++------
 3 files changed, 76 insertions(+), 127 deletions(-)
Signature · 1 line
2.27.0