1
1
openmpi/ompi/mca/common/verbs
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
..
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 common/verbs: update usnic transport probe 2014-06-27 18:43:32 +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 build: add Automake-like silent/verbose macros for "ln -s ..." operations 2014-03-28 18:24:32 +00:00