1
1
openmpi/ompi/mca/common
Dave Goodell c104604387 common/verbs: update usnic transport probe
RHEL 7 has shipped with kernel support for the RDMA_TRANSPORT_USNIC
enum, but ''not'' the RDMA_TRANSPORT_USNIC_UDP enum.  This means that
when you install usNIC drivers from cisco.com, the kernel will report
IBV_TRANSPORT_USNIC, even though the transport is actually using UDP.

Therefore, we have to modify the logic in common/verbs to do the
additional magic probe if the device reports either an
IBV_TRANSPORT_IWARP or IBV_TRANSPORT_USNIC (because both of those might
be lies -- do the probe to figure out the real transport).

The code changed by this patch is fairly trivial; it simply moves the
logic of the magic probe to its own short function, and then calls that
short function in both the IBV_TRANSPORT_(IWARP|USNIC) cases.  It looks
longer because several lengthy comments were also updated.

Authored-by: Jeff Squyres <jsquyres@cisco.com>
Reviewed-by: Dave Goodell <dgoodell@cisco.com>

cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r32098.
2014-06-27 18:43:32 +00:00
..
cuda Fix help message errors as reported by check-help-strings.pl script. 2014-04-29 20:29:18 +00:00
ofacm build: add Automake-like silent/verbose macros for "ln -s ..." operations 2014-03-28 18:24:32 +00:00
sm do not incrementing/decrementing the opal_progress_event_state. 2014-05-23 05:02:31 +00:00
ugni ompi: fix various small leaks 2014-05-15 15:59:51 +00:00
verbs common/verbs: update usnic transport probe 2014-06-27 18:43:32 +00:00
Makefile.am The bulk of the remaining renaming changes, in one final glorious "blob". Thanks to Jeff for some help chasing down a few spots. Per chat with Jeff, we decided to cleanup a few things that were historical in nature: 2014-05-07 21:48:53 +00:00