Commit 9da09bb1 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Jeff Garzik

ixgbe: add little endian annotations for sparse

Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 712744be
...@@ -1039,7 +1039,7 @@ union ixgbe_adv_tx_desc { ...@@ -1039,7 +1039,7 @@ union ixgbe_adv_tx_desc {
struct ixgbe_legacy_rx_desc { struct ixgbe_legacy_rx_desc {
__le64 buffer_addr; /* Address of the descriptor's data buffer */ __le64 buffer_addr; /* Address of the descriptor's data buffer */
__le16 length; /* Length of data DMAed into data buffer */ __le16 length; /* Length of data DMAed into data buffer */
u16 csum; /* Packet checksum */ __le16 csum; /* Packet checksum */
u8 status; /* Descriptor status */ u8 status; /* Descriptor status */
u8 errors; /* Descriptor Errors */ u8 errors; /* Descriptor Errors */
__le16 vlan; __le16 vlan;
...@@ -1061,7 +1061,7 @@ union ixgbe_adv_rx_desc { ...@@ -1061,7 +1061,7 @@ union ixgbe_adv_rx_desc {
__le32 rss; /* RSS Hash */ __le32 rss; /* RSS Hash */
struct { struct {
__le16 ip_id; /* IP id */ __le16 ip_id; /* IP id */
u16 csum; /* Packet Checksum */ __le16 csum; /* Packet Checksum */
} csum_ip; } csum_ip;
} hi_dword; } hi_dword;
} lower; } lower;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment