projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08f74e
)
[PATCH] chelsio: add endian annotations
author
Alexey Dobriyan
<adobriyan@gmail.com>
Thu, 22 Dec 2005 22:18:25 +0000
(
01:18
+0300)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Oct 2006 23:15:33 +0000
(16:15 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/chelsio/cpl5_cmd.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/chelsio/cpl5_cmd.h
b/drivers/net/chelsio/cpl5_cmd.h
index 27925e487bcfd1a27f4bcaea7719dc751ec03410..5b357d9e88d61b6449c463103f82d6b735be224e 100644
(file)
--- a/
drivers/net/chelsio/cpl5_cmd.h
+++ b/
drivers/net/chelsio/cpl5_cmd.h
@@
-108,7
+108,7
@@
struct cpl_tx_pkt_lso {
u8 iff:4;
#endif
u16 vlan;
-
u
32 len;
+
__be
32 len;
u32 rsvd2;
u8 rsvd3;
@@
-119,7
+119,7
@@
struct cpl_tx_pkt_lso {
u8 ip_hdr_words:4;
u8 tcp_hdr_words:4;
#endif
-
u
16 eth_type_mss;
+
__be
16 eth_type_mss;
};
struct cpl_rx_pkt {
@@
-138,7
+138,7
@@
struct cpl_rx_pkt {
u8 iff:4;
#endif
u16 csum;
-
u
16 vlan;
+
__be
16 vlan;
u16 len;
};