netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/9] bnx2x: annotate struct eth_fast_path_rx_cqe
@ 2009-01-21  5:50 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2009-01-21  5:50 UTC (permalink / raw)
  To: Eilon Greenstein; +Cc: linux-netdev

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

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-21  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  5:50 [PATCH 4/9] bnx2x: annotate struct eth_fast_path_rx_cqe Harvey Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).