mbox series

[for-next,v3,0/6] RDMA/rxe: Misc rxe_pool cleanups

Message ID 20210125211641.2694-1-rpearson@hpe.com (mailing list archive)
Headers show
Series RDMA/rxe: Misc rxe_pool cleanups | expand

Message

Bob Pearson Jan. 25, 2021, 9:16 p.m. UTC
[v3]
Fixed a spelling error suggested by zyjzyj2000@gmail.com
Changed the naming of APIs to xxx_locked suggested by jgg@nvidia.com

[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.

Signed-off-by: Bob Pearson <rpearson@hpe.com>

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(-)