Subject: [PATCH 4/9] bnx2x: annotate struct eth_fast_path_rx_cqe

From: Harvey Harrison <[email-masked]>
Date: Tue, 20 Jan 2009 21:50:48 -0800

Always treated as little-endian values, annotate as such.

Signed-off-by: Harvey Harrison <[email-masked]>
---
 drivers/net/bnx2x_hsi.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h
index b62d45e..ba066b7 100644
--- a/drivers/net/bnx2x_hsi.h
+++ b/drivers/net/bnx2x_hsi.h
@@ -2212,12 +2212,12 @@ struct eth_fast_path_rx_cqe {
 #define ETH_FAST_PATH_RX_CQE_L4_XSUM_NO_VALIDATION_FLG_SHIFT 7
 	u8 placement_offset;
 	u8 queue_index;
-	u32 rss_hash_result;
-	u16 vlan_tag;
-	u16 pkt_len;
-	u16 len_on_bd;
+	__le32 rss_hash_result;
+	__le16 vlan_tag;
+	__le16 pkt_len;
+	__le16 len_on_bd;
 	struct parsing_flags pars_flags;
-	u16 sgl[8];
+	__le16 sgl[8];
 };

-- 
1.6.1.249.g455e5