aboutsummaryrefslogtreecommitdiff
path: root/src/net/infiniband/ib_mcast.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-08[infiniband] Allow for the creation of multicast groupsMichael Brown1-9/+16
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2016-03-08[infiniband] Parse MLID, rate, and SL from multicast membership recordMichael Brown1-27/+30
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2016-03-08[infiniband] Record multicast GID attachment as part of group membershipMichael Brown1-1/+9
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2016-03-08[infiniband] Use "%#lx" as format specifier for queue pair numbersMichael Brown1-8/+8
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2016-03-08[infiniband] Assign names to Infiniband devices for debug messagesMichael Brown1-16/+16
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-08-17[ipoib] Fix a race when chain-loading undionly.kpxe in IPoIBWissam Shoukair1-0/+6
The Infiniband link status change callback ipoib_link_state_changed() may be called while the IPoIB device is closed, in which case there will not be an IPoIB queue pair to be joined to the IPv4 broadcast group. This leads to NULL pointer dereferences in ib_mcast_attach() and ib_mcast_detach(). Fix by not attempting to join (or leave) the broadcast group unless we actually have an IPoIB queue pair. Signed-off-by: Wissam Shoukair <wissams@mellanox.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-03-02[legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown1-1/+5
Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
2012-07-20[legal] Update FSF mailing address in GPL licence textsMichael Brown1-1/+2
Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-15[infiniband] Match GID/GUID terminology as used in the IBAMichael Brown1-16/+10
Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-04-19[build] Rename gPXE to iPXEMichael Brown1-4/+4
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2009-08-10[infiniband] Generate more specific errors in response to failure MADsMichael Brown1-0/+2
Generate errors within individual MAD transaction consumers such as ib_pathrec.c and ib_mcast.c, rather than within ib_mi.c. This allows for more meaningful error messages to eventually be displayed to the user.
2009-08-08[infiniband] Update all other MAD users to use a management interfaceMichael Brown1-134/+114
2009-07-17[infiniband] Add infrastructure for RC queue pairsMichael Brown1-1/+2
Queue pairs are now assumed to be created in the INIT state, with a call to ib_modify_qp() required to bring the queue pair to the RTS state. ib_modify_qp() no longer takes a modification list; callers should modify the relevant queue pair parameters (e.g. qkey) directly and then call ib_modify_qp() to synchronise the changes to the hardware. The packet sequence number is now a property of the queue pair, rather than of the device. Each queue pair may have an associated address vector. For RC queue pairs, this is the address vector that will be programmed in to the hardware as the remote address. For UD queue pairs, it will be used as the default address vector if none is supplied to ib_post_send().
2009-07-17[infiniband] Allow MAD handlers to indicate response via return valueMichael Brown1-8/+14
Now that MAD handlers no longer return a status code, we can allow them to return a pointer to a MAD structure if and only if they want to send a response. This provides a more natural and flexible approach than using a "response method" field within the handler's descriptor.
2009-07-17[infiniband] Remove the return status code from MAD handlersMichael Brown1-14/+8
MAD handlers have to set the status fields within the MAD itself anyway, in order to provide a meaningful response MAD; the additional gPXE return status code is just noise. Note that we probably don't need to ever explicitly set the status to IB_MGMT_STATUS_OK, since it should already have this value from the request. (By not explicitly setting the status in this way, we can safely have ib_sma_set_xxx() call ib_sma_get_xxx() in order to generate the GetResponse MAD without worrying that ib_sma_get_xxx() will clear any error status set by ib_sma_set_xxx().)
2009-07-17[infiniband] Always create an SMA and a GMAMichael Brown1-2/+2
2009-07-17[infiniband] Pass GMA as a parameter to GMA MAD handlersMichael Brown1-35/+35
2009-07-17[infiniband] Provide a general mechanism for multicast group joinsMichael Brown1-0/+235
Generalise out the multicast group membership record code from IPoIB.