50bae9c603
/tmp/jms-modular-wireup branch): * This commit moves all the openib BTL connection code out of btl_openib_endpoint.c and into a connect "pseudo-component" area, meaning that different schemes for doing OFA connection schemes can be chosen via function pointer (i.e., MCA parameter) at run-time. * The connect/connect.h file includes comments describing the specific interface for the connect pseudo-component. * Two pseudo-components are in this commit (more can certainly be added). * oob: use the same old oob/rml scheme for creating OFA connections that we've had forever; this now just puts the logic into this self-contained pseudo-component. * rdma_cm: a currently-empty set of functions (that currently return NOT_IMPLEMENTED) that will someday use the RDMA connection manager to make OFA connections. This commit was SVN r15786.
36 строки
555 B
C
36 строки
555 B
C
/*
|
|
* Copyright (c) 2007 Cisco, Inc. All rights reserved.
|
|
*
|
|
* $COPYRIGHT$
|
|
*
|
|
* Additional copyrights may follow
|
|
*
|
|
* $HEADER$
|
|
*/
|
|
|
|
#ifndef BTL_OPENIB_CONNECT_BASE_H
|
|
#define BTL_OPENIB_CONNECT_BASE_H
|
|
|
|
#include "connect/connect.h"
|
|
|
|
BEGIN_C_DECLS
|
|
|
|
/**
|
|
* Global variable with the selected function pointers in it
|
|
*/
|
|
extern ompi_btl_openib_connect_base_funcs_t ompi_btl_openib_connect;
|
|
|
|
/*
|
|
* Open function
|
|
*/
|
|
int ompi_btl_openib_connect_base_open(void);
|
|
|
|
/*
|
|
* Select function
|
|
*/
|
|
int ompi_btl_openib_connect_base_select(void);
|
|
|
|
END_C_DECLS
|
|
|
|
#endif
|