aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ixgbe/ixgbe_type.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ixgbe/ixgbe_type.h b/drivers/net/ixgbe/ixgbe_type.h
index c0282a223df3..781f137deccf 100644
--- a/drivers/net/ixgbe/ixgbe_type.h
+++ b/drivers/net/ixgbe/ixgbe_type.h
@@ -1007,15 +1007,15 @@ struct ixgbe_legacy_tx_desc {
1007 __le32 data; 1007 __le32 data;
1008 struct { 1008 struct {
1009 __le16 length; /* Data buffer length */ 1009 __le16 length; /* Data buffer length */
1010 u8 cso; /* Checksum offset */ 1010 u8 cso; /* Checksum offset */
1011 u8 cmd; /* Descriptor control */ 1011 u8 cmd; /* Descriptor control */
1012 } flags; 1012 } flags;
1013 } lower; 1013 } lower;
1014 union { 1014 union {
1015 __le32 data; 1015 __le32 data;
1016 struct { 1016 struct {
1017 u8 status; /* Descriptor status */ 1017 u8 status; /* Descriptor status */
1018 u8 css; /* Checksum start */ 1018 u8 css; /* Checksum start */
1019 __le16 vlan; 1019 __le16 vlan;
1020 } fields; 1020 } fields;
1021 } upper; 1021 } upper;
@@ -1039,9 +1039,9 @@ union ixgbe_adv_tx_desc {
1039struct ixgbe_legacy_rx_desc { 1039struct ixgbe_legacy_rx_desc {
1040 __le64 buffer_addr; /* Address of the descriptor's data buffer */ 1040 __le64 buffer_addr; /* Address of the descriptor's data buffer */
1041 __le16 length; /* Length of data DMAed into data buffer */ 1041 __le16 length; /* Length of data DMAed into data buffer */
1042 u16 csum; /* Packet checksum */ 1042 __le16 csum; /* Packet checksum */
1043 u8 status; /* Descriptor status */ 1043 u8 status; /* Descriptor status */
1044 u8 errors; /* Descriptor Errors */ 1044 u8 errors; /* Descriptor Errors */
1045 __le16 vlan; 1045 __le16 vlan;
1046}; 1046};
1047 1047
@@ -1061,7 +1061,7 @@ union ixgbe_adv_rx_desc {
1061 __le32 rss; /* RSS Hash */ 1061 __le32 rss; /* RSS Hash */
1062 struct { 1062 struct {
1063 __le16 ip_id; /* IP id */ 1063 __le16 ip_id; /* IP id */
1064 u16 csum; /* Packet Checksum */ 1064 __le16 csum; /* Packet Checksum */
1065 } csum_ip; 1065 } csum_ip;
1066 } hi_dword; 1066 } hi_dword;
1067 } lower; 1067 } lower;