All of lore.kernel.org
 help / color / mirror / Atom feed
* Seeking Guidance: Creating an IBV Multicast Group?
@ 2024-07-29 17:10 Andrew Sheinberg
  2024-07-30 11:52 ` Zhu Yanjun
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Sheinberg @ 2024-07-29 17:10 UTC (permalink / raw)
  To: linux-rdma

Hello all,

I’m not sure if this the right place to ask, but I will give it a try.

I have a system with many initialized UD queue pairs (info for address handle creations and qp numbers exchanged out-of-band). I am only using libibverbs for establishment (purposefully not using librdmacm, to allow for more flexible environment configuration) — everything is working smoothly for unicast.  Now I would like to create a multicast group and attach some of these queue pairs (ibv_mcast_attach); however I am struggling to find any details on how to create such a group (and obtain a proper MGID and MLID). 

I found a few examples online but am left with questions:
	- There is code within perftest's "multicast_resources.c", but this seems a bit hacky and oddly verbose
	- There is code within Nvidia Docs’  "Programming Examples using IBV” showcasing joining an already created multicast group at a given IP address using rdma_cm, but It is unclear how to create the group in the first place


Questions (please correct me if these do not make sense):

1. What is the role of the OpenSM — is there a C API?
	- Are there any examples using opensm programmatically and not with CLI?
	- Does the API differ on InfiniBand vs. RoCEv2 fabric?

2. Is there any high-level documentation to describe the role of libibumad? (Looking at the man pages on a per-function basis is a bit too fine-grained for my understanding as of now).
	- I also see libibmad — what is the responsibility breakdown between these two?
	- How do they relate to OpenSM?

Any guidance is greatly appreciated.

Thanks,
Andrew Sheinberg

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

end of thread, other threads:[~2024-07-30 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 17:10 Seeking Guidance: Creating an IBV Multicast Group? Andrew Sheinberg
2024-07-30 11:52 ` Zhu Yanjun
2024-07-30 13:30 ` Leon Romanovsky
2024-07-30 15:26 ` Konstantin Taranov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.