Make the trunk openib btl compile again.
This commit was SVN r13110.
Этот коммит содержится в:
родитель
4a6ad30440
Коммит
d5404f21a3
@ -9,7 +9,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2006 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2006-2007 Cisco Systems, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -155,12 +155,12 @@ typedef struct mca_btl_openib_port_info_t mca_btl_openib_port_info_t;
|
|||||||
#define MCA_BTL_OPENIB_PORT_INFO_NTOH(hdr) \
|
#define MCA_BTL_OPENIB_PORT_INFO_NTOH(hdr) \
|
||||||
do { \
|
do { \
|
||||||
(hdr).mtu = ntohl((hdr).mtu); \
|
(hdr).mtu = ntohl((hdr).mtu); \
|
||||||
(hdr).subnet = ntoh64((hdr).subnet); \
|
(hdr).subnet_id = ntoh64((hdr).subnet_id); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define MCA_BTL_OPENIB_PORT_INFO_HTON(hdr) \
|
#define MCA_BTL_OPENIB_PORT_INFO_HTON(hdr) \
|
||||||
do { \
|
do { \
|
||||||
(hdr).mtu = htonl((hdr).mtu); \
|
(hdr).mtu = htonl((hdr).mtu); \
|
||||||
(hdr).subnet = hton64((hdr).subnet); \
|
(hdr).subnet_id = hton64((hdr).subnet_id); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
struct mca_btl_openib_hca_t {
|
struct mca_btl_openib_hca_t {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user