From 3ce6cb5c1435d7c4c06d3950e9beb71967b9eda6 Mon Sep 17 00:00:00 2001 From: tzachid Date: Mon, 8 Sep 2008 07:30:20 +0000 Subject: [PATCH] [IBAL,IPOIB] (mlnx: 3105) Restoring vendor_specific field Signed off by: xalex@mellanox.co.il git-svn-id: svn://openib.tc.cornell.edu/gen1@1562 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- branches/WOF2-0/trunk/inc/iba/ib_types.h | 8 ++------ .../trunk/ulp/opensm/user/include/iba/ib_types_extended.h | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/branches/WOF2-0/trunk/inc/iba/ib_types.h b/branches/WOF2-0/trunk/inc/iba/ib_types.h index 3977d93d..587b3d35 100644 --- a/branches/WOF2-0/trunk/inc/iba/ib_types.h +++ b/branches/WOF2-0/trunk/inc/iba/ib_types.h @@ -10644,12 +10644,7 @@ typedef struct _ib_wc ib_wc_type_t wc_type; uint32_t length; - struct { - uint8_t vendor_specific; - uint8_t csum_ok; - uint16_t vendor_specific2; - uint32_t vendor_specific3; - }; + uint64_t vendor_specific; ib_wc_status_t status; union _wc_recv @@ -10670,6 +10665,7 @@ typedef struct _ib_wc ib_net16_t remote_lid; uint8_t remote_sl; uint8_t path_bits; + uint8_t csum_ok; } ud; diff --git a/branches/WOF2-0/trunk/ulp/opensm/user/include/iba/ib_types_extended.h b/branches/WOF2-0/trunk/ulp/opensm/user/include/iba/ib_types_extended.h index 9bc0776b..0e86637d 100644 --- a/branches/WOF2-0/trunk/ulp/opensm/user/include/iba/ib_types_extended.h +++ b/branches/WOF2-0/trunk/ulp/opensm/user/include/iba/ib_types_extended.h @@ -2096,12 +2096,7 @@ typedef struct _ib_wc ib_wc_type_t wc_type; uint32_t length; - struct { - uint8_t vendor_specific; - uint8_t csum_ok; - uint16_t vendor_specific2; - uint32_t vendor_specific3; - }; + uint64_t vendor_specific; ib_wc_status_t status; union _wc_recv @@ -2122,6 +2117,7 @@ typedef struct _ib_wc ib_net16_t remote_lid; uint8_t remote_sl; uint8_t path_bits; + uint8_t csum_ok; } ud; -- 2.46.0