public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Querying the GID from a Provider Library
@ 2017-02-01 12:26 Amrani, Ram
       [not found] ` <SN1PR07MB22070E07E3610AFDD7F6DD97F84D0-mikhvbZlbf8TSoR2DauN2+FPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Amrani, Ram @ 2017-02-01 12:26 UTC (permalink / raw)
  To: Yishai Hadas, dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi Doug, Yishay,
I need to translate sgid_index to sgid in the library to check for loopback.

While invoking ibv_query_gid does the job, it seems to me somewhat
inadequate that a provider library invokes an ibv function and not
an ibv_cmd function. What are your thoughts on this?

I would have invoked the  ibv_cmd_query_gid, but there is no such function
because ibv_query_gid does not require the kernel. However there's an old
*declaration* of the ibv_cmd_query_gid. Perhaps I will define the function
in a similar way to ibv_query_gid?!

Thanks,
Ram


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-02-02 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01 12:26 Querying the GID from a Provider Library Amrani, Ram
     [not found] ` <SN1PR07MB22070E07E3610AFDD7F6DD97F84D0-mikhvbZlbf8TSoR2DauN2+FPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-02-01 16:11   ` Yishai Hadas
     [not found]     ` <d435251a-00a9-9304-afed-76aa46f0aa26-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2017-02-01 16:15       ` Jason Gunthorpe
     [not found]         ` <20170201161514.GA8024-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-02-02 10:54           ` Amrani, Ram
2017-02-02 10:54       ` Amrani, Ram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox