[IBAL,IPOIB] (mlnx: 3105)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 07:31:21 +0000 (07:31 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 Sep 2008 07:31:21 +0000 (07:31 +0000)
Restoring vendor_specific field
Signed off by: xalex@mellanox.co.il

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

inc/iba/ib_types.h
ulp/opensm/user/include/iba/ib_types_extended.h

index 3977d93..587b3d3 100644 (file)
@@ -10644,12 +10644,7 @@ typedef struct _ib_wc
        ib_wc_type_t                    wc_type;\r
 \r
        uint32_t                                length;\r
-       struct {\r
-               uint8_t                         vendor_specific;\r
-               uint8_t                         csum_ok;\r
-               uint16_t                        vendor_specific2;\r
-               uint32_t                        vendor_specific3;\r
-       };\r
+       uint64_t                                vendor_specific;\r
        ib_wc_status_t                  status;\r
 \r
        union _wc_recv\r
@@ -10670,6 +10665,7 @@ typedef struct _ib_wc
                        ib_net16_t              remote_lid;\r
                        uint8_t                 remote_sl;\r
                        uint8_t                 path_bits;\r
+                       uint8_t                 csum_ok;\r
 \r
                }       ud;\r
 \r
index 9bc0776..0e86637 100644 (file)
@@ -2096,12 +2096,7 @@ typedef struct _ib_wc
        ib_wc_type_t                    wc_type;\r
 \r
        uint32_t                                length;\r
-       struct {\r
-               uint8_t                         vendor_specific;\r
-               uint8_t                         csum_ok;\r
-               uint16_t                        vendor_specific2;\r
-               uint32_t                        vendor_specific3;\r
-       };\r
+       uint64_t                                vendor_specific;\r
        ib_wc_status_t                  status;\r
 \r
        union _wc_recv\r
@@ -2122,6 +2117,7 @@ typedef struct _ib_wc
                        ib_net16_t              remote_lid;\r
                        uint8_t                 remote_sl;\r
                        uint8_t                 path_bits;\r
+                       uint8_t                 csum_ok;\r
 \r
                }       ud;\r
 \r