[infiniband] Provide a general mechanism for multicast group joins

Generalise out the multicast group membership record code from IPoIB.
This commit is contained in:
Michael Brown
2009-07-17 23:06:34 +01:00
parent 3c77fe73a5
commit 0fbf2f6bda
6 changed files with 274 additions and 129 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef _GPXE_IB_MCAST_H
#define _GPXE_IB_MCAST_H
/** @file
*
* Infiniband multicast groups
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/infiniband.h>
extern int ib_mcast_join ( struct ib_device *ibdev, struct ib_queue_pair *qp,
struct ib_gid *gid );
extern void ib_mcast_leave ( struct ib_device *ibdev, struct ib_queue_pair *qp,
struct ib_gid *gid );
#endif /* _GPXE_IB_MCAST_H */