1
1
openmpi/opal/mca/common/verbs_usnic/common_verbs_usnic.h
Jeff Squyres c28324c5c8 common_usnic: move fake IBV provider to libopen-pal
Move the fake usnic IBV provider out of common/verbs and into a new
common/verbs_usnic component that is always statically linked into
libopen-pal.  The fake provider is registered with libibverbs at run
time, but there is no *un*register IBV API.  Hence, we can't let the
code containing this provider be dlclosed -- which means it needs to
be statically linked into libopen-pal.

Fixes open-mpi/ompi#1060.
2015-10-26 14:29:54 -07:00

28 строки
413 B
C

/*
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef _COMMON_VERBS_USNIC_H_
#define _COMMON_VERBS_USNIC_H_
#include "opal_config.h"
#include <stdint.h>
#include <infiniband/verbs.h>
BEGIN_C_DECLS
/*
* Register fake verbs drivers
*/
void opal_common_verbs_usnic_register_fake_drivers(void);
END_C_DECLS
#endif