Skip to content

Retrieve HW GID context from ib_gid_attr

Selvin Xavier linux-rdma 4 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. v4 Latest2 patches 1 replyApplied
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

Addressed Jason's comments. Removed unnecessary validation and locking as the reference to the GID table entry should be taken before invoking the new symbol.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2RDMA/core: Add helper function to retrieve driver gid context from gid attrdrivers/infiniband/core/cache.c include/rdma/ib_cache.h+21 -00 replies
2/2RDMA/bnxt_re: Use rdma_read_gid_hw_context to retrieve HW gid indexdrivers/infiniband/hw/bnxt_re/ib_verbs.c+12 -110 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH for-next v4 0/2] Retrieve HW GID context from ib_gid_attr

Provide an option for vendor drivers to get the HW GID context from the ib_gid_attr during modify_qp and create_ah. Required for drivers/HW that maintains HW gid index different than the host sgid_index.

Please review and merge

Thanks,
Selvin Xavier

v3 -> v4:
Addressed Jason's comments. Removed unnecessary validation and locking as the reference to the GID table entry should be taken before invoking the new symbol.

v2 -> v3:
Added a new symbol to retrieve the hw context.

v1 -> v2:
Addressed review comments from Parav

Selvin Xavier (2):
RDMA/core: Add helper function to retrieve driver gid context from gid
attr
RDMA/bnxt_re: Use rdma_read_gid_hw_context to retrieve HW gid index

 drivers/infiniband/core/cache.c          | 20 ++++++++++++++++++++
 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 23 ++++++++++++-----------
 include/rdma/ib_cache.h                  |  1 +
 3 files changed, 33 insertions(+), 11 deletions(-)
Signature · 1 line
2.5.5