Relocate the transport type enum into space currently
reserved by the compiler to avoid binary compatibility issues.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
RDMA_NODE_RNIC\r
};\r
\r
-enum rdma_transport_type {\r
- RDMA_TRANSPORT_IB,\r
- RDMA_TRANSPORT_IWARP,\r
- RDMA_TRANSPORT_RDMAOE\r
-};\r
-\r
enum rdma_transport_type\r
rdma_node_get_transport(enum rdma_node_type node_type) __attribute_const__;\r
\r
* ib_port_cap_t\r
*****/\r
\r
+enum rdma_transport_type {\r
+ RDMA_TRANSPORT_IB,\r
+ RDMA_TRANSPORT_IWARP,\r
+ RDMA_TRANSPORT_RDMAOE\r
+};\r
+\r
/****s* Access Layer/ib_port_attr_t\r
* NAME\r
* ib_port_attr_t\r
ib_net64_t port_guid;\r
uint8_t port_num;\r
uint8_t mtu;\r
+ enum rdma_transport_type transport;\r
uint64_t max_msg_size;\r
ib_net16_t lid;\r
uint8_t lmc;\r
TO_LONG_PTR(ib_gid_t*, p_gid_table);\r
TO_LONG_PTR(ib_net16_t*,p_pkey_table);\r
\r
- enum rdma_transport_type transport;\r
-\r
} ib_port_attr_t;\r
/*\r
* SEE ALSO\r