[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1232517048.9701.22.camel@brick>
Date: Tue, 20 Jan 2009 21:50:48 -0800
From: Harvey Harrison <harvey.harrison@...il.com>
To: Eilon Greenstein <eilong@...adcom.com>
Cc: linux-netdev <netdev@...r.kernel.org>
Subject: [PATCH 4/9] bnx2x: annotate struct eth_fast_path_rx_cqe
Always treated as little-endian values, annotate as such.
Signed-off-by: Harvey Harrison <harvey.harrison@...il.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists