[ibal] move transport type attribute.
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 11 Mar 2010 09:22:30 +0000 (09:22 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 11 Mar 2010 09:22:30 +0000 (09:22 +0000)
Signed off by: sean.hefty@intel.com

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2735 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/bus/inc/ib_verbs.h
inc/iba/ib_types.h

index c8bd01b..44590df 100644 (file)
@@ -89,12 +89,6 @@ enum rdma_node_type {
        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
index 4f942ff..56a7b40 100644 (file)
@@ -9366,6 +9366,12 @@ typedef struct _ib_port_attr_mod
 *      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
@@ -9380,6 +9386,7 @@ typedef struct _ib_port_attr
        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
@@ -9419,8 +9426,6 @@ typedef struct _ib_port_attr
        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