[openib-general] in need of a simple ulp

Sean Hefty mshefty at ichips.intel.com
Wed Apr 27 10:49:12 PDT 2005


Jeff Carr wrote:
> In my infant state of understanding IB, it would appear that I need to
> 
> 1) to open & discover the HCA's
> 2) create some Priority Domains
> 3) create some address handles
> 4) create some CQ's
> 5) create some queue pairs (maybe some SRQ's also)
> 
> possibly 3-5 can be replaced with some sort of "Registered Memory 
> Region" as per 11.2.8 of the IB spec. (?)
> 
> I've attempted to look in the subversion repository for anything close 
> or for things to use as starting points but didn't seem to find anything 
> yet. The full repository is large and not very cleanly organized for a 
> new user; so if there is some starting code that may be of use, that is 
> what I was looking for.

Within the SVN repository, your best bet for finding things is staying 
  withing the gen2 branch.  For a relatively simple example that does 
what you mention above, try:

https://openib.org/svn/gen2/utils/src/linux-kernel/infiniband/util/cmpost/

This is a simple CM test program for the kernel.

- Sean



More information about the general mailing list