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. Thanks, Selvin Xavier v1 -> v2: Addressed review comments from Parav Selvin Xavier (2): IB/core: Add option to retrieve driver gid context from ib_gid_attr RDMA/bnxt_re: Retrieve the driver gid context from gid_attr drivers/infiniband/core/cache.c | 79 ++++++++++++++++++-------------- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 28 +++++------ include/rdma/ib_verbs.h | 5 ++ 3 files changed, 65 insertions(+), 47 deletions(-) -- 2.5.5