[PATCH 2.6 5/9] ixgb: Fix ordering of elements in ixgb_buffer to avoid padding by the compiler.

DORMANTno replies

From: Ganesh Venkatesan <hidden>
Date: 2005-01-07 01:22:33

Signed-off-by: Ganesh Venkatesan <redacted>
diff -up net-drivers-2.6/drivers/net/ixgb/ixgb.h net-drivers-2.6/drivers/net/ixgb.new/ixgb.h
--- net-drivers-2.6/drivers/net/ixgb/ixgb.h	2005-01-05 17:13:27.000000000 -0800
+++ net-drivers-2.6/drivers/net/ixgb.new/ixgb.h	2005-01-05 17:13:28.000000000 -0800
@@ -120,8 +120,8 @@ struct ixgb_adapter;
 struct ixgb_buffer {
 	struct sk_buff *skb;
 	uint64_t dma;
-	uint16_t length;
 	unsigned long time_stamp;
+	uint16_t length;
 	uint16_t next_to_watch;
 };
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help