On Wed, Feb 19, 2020 at 02:19:52AM -0800, Selvin Xavier wrote: > 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 Applied to for-next, thanks Jason