* Add proper copyrights
* Ensure _iwarp.h is always included, or you'll get warnings on platforms that don't have the RDMACM * Add skeleton for function descriptions in comments in iwarp.h This commit was SVN r18477.
Этот коммит содержится в:
родитель
28b56c389a
Коммит
62ac6533e0
@ -1,7 +1,19 @@
|
||||
#include "ompi_config.h"
|
||||
#include <infiniband/verbs.h>
|
||||
#if OMPI_HAVE_RDMACM
|
||||
/*
|
||||
* Copyright (c) 2008 Chelsio
|
||||
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*
|
||||
* @file
|
||||
*/
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
#include <infiniband/verbs.h>
|
||||
|
||||
#if OMPI_HAVE_RDMACM
|
||||
#include <rdma/rdma_cma.h>
|
||||
#include <malloc.h>
|
||||
|
||||
@ -10,7 +22,10 @@
|
||||
|
||||
#include "connect/connect.h"
|
||||
#include "btl_openib_endpoint.h"
|
||||
#endif
|
||||
/* Always want to include this file */
|
||||
#include "btl_openib_iwarp.h"
|
||||
#if OMPI_HAVE_RDMACM
|
||||
|
||||
/*
|
||||
* The cruft below maintains the linked list of rdma ipv4 addresses and their
|
||||
|
@ -1,4 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2008 Chelsio
|
||||
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
*
|
||||
* $HEADER$
|
||||
*
|
||||
* @file
|
||||
*/
|
||||
|
||||
#ifndef MCA_BTL_OPENIB_IWARP_H
|
||||
#define MCA_BTL_OPENIB_IWARP_H
|
||||
|
||||
#include "ompi_config.h"
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
/**
|
||||
* Get an iWARP equivalent of a subnet ID.
|
||||
*/
|
||||
extern uint64_t mca_btl_openib_get_iwarp_subnet_id(struct ibv_device *ib_dev);
|
||||
extern uint32_t mca_btl_openib_rdma_get_ipv4addr(struct ibv_context *verbs, uint8_t port);
|
||||
|
||||
/**
|
||||
* ?
|
||||
*/
|
||||
extern uint32_t mca_btl_openib_rdma_get_ipv4addr(struct ibv_context *verbs,
|
||||
uint8_t port);
|
||||
|
||||
/**
|
||||
* ?
|
||||
*/
|
||||
extern int mca_btl_openib_build_rdma_addr_list(void);
|
||||
|
||||
/**
|
||||
* ?
|
||||
*/
|
||||
extern void mca_btl_openib_free_rdma_addr_list(void);
|
||||
|
||||
END_C_DECLS
|
||||
|
||||
#endif
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user