All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next v3 0/2] Retrieve HW GID context from ib_gid_attr
@ 2020-02-18  6:20 Selvin Xavier
  2020-02-18  6:20 ` [PATCH for-next v3 1/2] RDMA/core: Add helper function to retrieve driver gid context from gid attr Selvin Xavier
  2020-02-18  6:20 ` [PATCH for-next v3 2/2] RDMA/bnxt_re: Use rdma_read_gid_hw_context to retrieve HW gid index Selvin Xavier
  0 siblings, 2 replies; 7+ messages in thread
From: Selvin Xavier @ 2020-02-18  6:20 UTC (permalink / raw)
  To: dledford, jgg; +Cc: linux-rdma, Selvin Xavier

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

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          | 41 ++++++++++++++++++++++++++++++++
 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 27 +++++++++++----------
 include/rdma/ib_cache.h                  |  1 +
 3 files changed, 56 insertions(+), 13 deletions(-)

-- 
2.5.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-19  6:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18  6:20 [PATCH for-next v3 0/2] Retrieve HW GID context from ib_gid_attr Selvin Xavier
2020-02-18  6:20 ` [PATCH for-next v3 1/2] RDMA/core: Add helper function to retrieve driver gid context from gid attr Selvin Xavier
2020-02-18 15:42   ` Jason Gunthorpe
2020-02-18 16:42     ` Selvin Xavier
2020-02-18 20:03       ` Jason Gunthorpe
2020-02-19  6:13         ` Selvin Xavier
2020-02-18  6:20 ` [PATCH for-next v3 2/2] RDMA/bnxt_re: Use rdma_read_gid_hw_context to retrieve HW gid index Selvin Xavier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.