[openib-general] Sending/Receiving MAD packets from user-space.

Abhijit Gadgil gabhijit at pantasys.com
Fri Sep 30 07:23:51 PDT 2005


On Fri, 2005-09-30 at 19:09, Hal Rosenstock wrote:
> On Fri, 2005-09-30 at 02:31, Abhijit Gadgil wrote:
> > I am trying to use MAD services from a user-land application. Basically
> > I want to do few things like registering to traps/generating Multicast
> > Send requests from user-space using Userspace VAPI.
> 
> Is this OpenIB or gen1 ?

I am sorry, the code I was referring to is Mellanox IB-Gold 1.8.0 (which
appears to be based on Gen1 drivers.)

Thanks

-abhijit

> > After reading through some code in osmtest.c, I couldn't figure out
> > whether it is using the Userspace VAPI or through a kernel module Kernel
> > space VAPI. Can someone point to me how I should get going about it? 
> 
> It uses the API in osm_vendor_sa_api.
> 
> > The library libopensm.a or libosmvendor.a can be used for this? However,
> > I am not too sure whether it is using the user mode Verbs API or not. 
> 
> For OpenIB, the implementation is osm_vendor_ibumad_sa.c. This goes
> through libibumad (and the user_mad kernel module).
> 
> Note that there may be a more OpenIB style user SA client in the future
> but this is usable now.
> 
> -- Hal
> 




More information about the general mailing list