aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ixgb/ixgb_hw.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/ixgb/ixgb_hw.h b/drivers/net/ixgb/ixgb_hw.h
index af5643324ee3..7a7684d094dc 100644
--- a/drivers/net/ixgb/ixgb_hw.h
+++ b/drivers/net/ixgb/ixgb_hw.h
@@ -534,12 +534,12 @@ typedef enum {
534 * in which case the structure must be packed in some compiler-specific 534 * in which case the structure must be packed in some compiler-specific
535 * manner. */ 535 * manner. */
536struct ixgb_rx_desc { 536struct ixgb_rx_desc {
537 uint64_t buff_addr; 537 __le64 buff_addr;
538 uint16_t length; 538 __le16 length;
539 uint16_t reserved; 539 __le16 reserved;
540 uint8_t status; 540 uint8_t status;
541 uint8_t errors; 541 uint8_t errors;
542 uint16_t special; 542 __le16 special;
543}; 543};
544 544
545#define IXGB_RX_DESC_STATUS_DD 0x01 545#define IXGB_RX_DESC_STATUS_DD 0x01
@@ -567,11 +567,11 @@ struct ixgb_rx_desc {
567 * in which case the structure must be packed in some compiler-specific 567 * in which case the structure must be packed in some compiler-specific
568 * manner. */ 568 * manner. */
569struct ixgb_tx_desc { 569struct ixgb_tx_desc {
570 uint64_t buff_addr; 570 __le64 buff_addr;
571 uint32_t cmd_type_len; 571 __le32 cmd_type_len;
572 uint8_t status; 572 uint8_t status;
573 uint8_t popts; 573 uint8_t popts;
574 uint16_t vlan; 574 __le16 vlan;
575}; 575};
576 576
577#define IXGB_TX_DESC_LENGTH_MASK 0x000FFFFF 577#define IXGB_TX_DESC_LENGTH_MASK 0x000FFFFF
@@ -596,14 +596,14 @@ struct ixgb_tx_desc {
596struct ixgb_context_desc { 596struct ixgb_context_desc {
597 uint8_t ipcss; 597 uint8_t ipcss;
598 uint8_t ipcso; 598 uint8_t ipcso;
599 uint16_t ipcse; 599 __le16 ipcse;
600 uint8_t tucss; 600 uint8_t tucss;
601 uint8_t tucso; 601 uint8_t tucso;
602 uint16_t tucse; 602 __le16 tucse;
603 uint32_t cmd_type_len; 603 __le32 cmd_type_len;
604 uint8_t status; 604 uint8_t status;
605 uint8_t hdr_len; 605 uint8_t hdr_len;
606 uint16_t mss; 606 __le16 mss;
607}; 607};
608 608
609#define IXGB_CONTEXT_DESC_CMD_TCP 0x01000000 609#define IXGB_CONTEXT_DESC_CMD_TCP 0x01000000