1
1
This commit was SVN r13107.
Этот коммит содержится в:
Galen Shipman 2007-01-12 23:17:17 +00:00
родитель 2097d174f6
Коммит 4a6ad30440

Просмотреть файл

@ -141,13 +141,11 @@ typedef struct mca_btl_openib_rdma_credits_header_t mca_btl_openib_rdma_credits_
#define BTL_OPENIB_RDMA_CREDITS_HEADER_HTON(h) \ #define BTL_OPENIB_RDMA_CREDITS_HEADER_HTON(h) \
do { \ do { \
/* BTL_OPENIB_CONTROL_HEADER_HTON(h.control); */ \
h.rdma_credits = htons(h.rdma_credits); \ h.rdma_credits = htons(h.rdma_credits); \
} while (0) } while (0)
#define BTL_OPENIB_RDMA_CREDITS_HEADER_NTOH(h) \ #define BTL_OPENIB_RDMA_CREDITS_HEADER_NTOH(h) \
do { \ do { \
/* BTL_OPENIB_CONTROL_HEADER_NTOH(h.control); */ \
h.rdma_credits = ntohs(h.rdma_credits); \ h.rdma_credits = ntohs(h.rdma_credits); \
} while (0) } while (0)