Skip to contentSkip to conversation

bnx2x: annotate struct eth_fast_path_rx_cqe

PATCH In review Harvey Harrison 1 participant 1 message Jan 21, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/9 bnx2x: annotate struct eth_fast_path_rx_cqe

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

---
 drivers/net/bnx2x_hsi.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
drivers/net/bnx2x_hsi.h +5 -5
index b62d45e..ba066b7 100644
@@ -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];
 };
 
 
Signature · 1 line
1.6.1.249.g455e5