1
1
openmpi/ompi/mca/common/verbs
Dave Goodell 4875f48eaa usnic: enable UDP support
This commit decouples OMPI deployment from the version(s) of the lower
layers of the stack by probing for UDP support.

Verbs applications assume a 40-byte header (there is no current
mechanism for querying payload offset).  So to support a 42-byte UDP
header without causing existing applications like ibv_ud_pingpong or
older versions of OMPI to crash, we must inform libusnic_verbs that we
are aware of the nonstandard payload offset.  We do this by overriding
the `transport_type` field of the device to be 42 before calling
`ibv_open_device`.  If the library resets it to something else, then we
know the lower layers are UDP capable.  Otherwise we use the older
custom-L2 format.

This necessitated some minor ugliness in common_verbs, but it's as tidy
as Jeff and I know how to make it right now.

This commit only adds support for UDP headers and connectivity over the
same L2 network, it does not touch routing or interface pairing.

Reviewed-by: Jeff Squyres <jsquyres@cisco.com>

cmr=v1.7.5:ticket=trac:4253

This commit was SVN r30838.

The following Trac tickets were found above:
  Ticket 4253 --> https://svn.open-mpi.org/trac/ompi/ticket/4253
2014-02-26 07:44:35 +00:00
..
common_verbs_basics.c More updates to common verbs infrastructure: 2012-09-12 20:47:47 +00:00
common_verbs_devlist.c common_verbs: fix bad opal_output args 2013-09-26 21:59:00 +00:00
common_verbs_find_max_inline.c Add header file for opal_show_help(). 2013-02-13 16:31:59 +00:00
common_verbs_find_ports.c usnic: enable UDP support 2014-02-26 07:44:35 +00:00
common_verbs_mca.c MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
common_verbs_port.c Per some discussions between LANL, Cisco, ORNAL, and Mellanox, move 2012-09-01 01:42:37 +00:00
common_verbs_qp_type.c Technically speaking, we're creating a QP with 1 send WQE and 1 2013-03-28 13:11:31 +00:00
common_verbs.h usnic: enable UDP support 2014-02-26 07:44:35 +00:00
configure.m4 Revamp the handling of wrapper compiler flags. The user flags, main configure 2013-01-29 00:00:43 +00:00
help-ompi-common-verbs.txt More updates to common verbs infrastructure: 2012-09-12 20:47:47 +00:00
Makefile.am Fix longstanding issue with our multi-project support. Rather than using 2014-01-07 22:11:15 +00:00