[ofw] [PATCH 1/3] IBAL (checksum): restoring vendor_specific field

Alex Naslednikov xalex at mellanox.co.il
Thu Sep 4 09:33:33 PDT 2008


Signed-off by: xalex (Alexander Naslednikov)
Index:
D:/Windows/MLNX_WINOF_CSUM_ARBEL/ulp/opensm/user/include/iba/ib_types_ex
tended.h
===================================================================
---
D:/Windows/MLNX_WINOF_CSUM_ARBEL/ulp/opensm/user/include/iba/ib_types_ex
tended.h	(revision 3104)
+++
D:/Windows/MLNX_WINOF_CSUM_ARBEL/ulp/opensm/user/include/iba/ib_types_ex
tended.h	(revision 3105)
@@ -2096,12 +2096,7 @@
 	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 @@
 			ib_net16_t		remote_lid;
 			uint8_t			remote_sl;
 			uint8_t			path_bits;
+			uint8_t			csum_ok;
 
 		}	ud;
 
Index: D:/Windows/MLNX_WINOF_CSUM_ARBEL/inc/iba/ib_types.h
===================================================================
--- D:/Windows/MLNX_WINOF_CSUM_ARBEL/inc/iba/ib_types.h	(revision 3104)
+++ D:/Windows/MLNX_WINOF_CSUM_ARBEL/inc/iba/ib_types.h	(revision 3105)
@@ -10644,12 +10644,7 @@
 	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 @@
 			ib_net16_t		remote_lid;
 			uint8_t			remote_sl;
 			uint8_t			path_bits;
+			uint8_t 		csum_ok;
 
 		}	ud;
 



More information about the ofw mailing list