提交 7359bbfd 编写于 作者: A Alexey Dobriyan 提交者: Linus Torvalds

[PATCH] chelsio: add endian annotations

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 d08f74e5
...@@ -108,7 +108,7 @@ struct cpl_tx_pkt_lso { ...@@ -108,7 +108,7 @@ struct cpl_tx_pkt_lso {
u8 iff:4; u8 iff:4;
#endif #endif
u16 vlan; u16 vlan;
u32 len; __be32 len;
u32 rsvd2; u32 rsvd2;
u8 rsvd3; u8 rsvd3;
...@@ -119,7 +119,7 @@ struct cpl_tx_pkt_lso { ...@@ -119,7 +119,7 @@ struct cpl_tx_pkt_lso {
u8 ip_hdr_words:4; u8 ip_hdr_words:4;
u8 tcp_hdr_words:4; u8 tcp_hdr_words:4;
#endif #endif
u16 eth_type_mss; __be16 eth_type_mss;
}; };
struct cpl_rx_pkt { struct cpl_rx_pkt {
...@@ -138,7 +138,7 @@ struct cpl_rx_pkt { ...@@ -138,7 +138,7 @@ struct cpl_rx_pkt {
u8 iff:4; u8 iff:4;
#endif #endif
u16 csum; u16 csum;
u16 vlan; __be16 vlan;
u16 len; u16 len;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册