aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlxgbe/ql_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/qlxgbe/ql_hw.h')
-rw-r--r--sys/dev/qlxgbe/ql_hw.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/sys/dev/qlxgbe/ql_hw.h b/sys/dev/qlxgbe/ql_hw.h
index dcaa4ac9808e..935bf397b1eb 100644
--- a/sys/dev/qlxgbe/ql_hw.h
+++ b/sys/dev/qlxgbe/ql_hw.h
@@ -266,8 +266,6 @@
#define Q8_MBX_GET_PORT_CONFIG 0x0067
#define Q8_MBX_GET_LINK_STATUS 0x0068
-
-
/*
* Mailbox Command Response
*/
@@ -925,7 +923,6 @@ typedef struct _q80_idc_ack_rsp {
uint16_t regcnt_status;
} __packed q80_idc_ack_rsp_t;
-
/*
* Set Port Configuration command
* Used to set Ethernet Standard Pause values
@@ -1083,7 +1080,6 @@ typedef struct _q80_get_link_status_rsp {
} __packed q80_get_link_status_rsp_t;
-
/*
* Transmit Related Definitions
*/
@@ -1209,7 +1205,6 @@ typedef struct _q80_tx_cmd {
#define Q8_TX_CMD_TSO_ALIGN 2
#define Q8_TX_MAX_NON_TSO_SEGS 62
-
/*
* Receive Related Definitions
*/
@@ -1224,7 +1219,6 @@ typedef struct _q80_tx_cmd {
#endif /* #ifdef QL_ENABLE_ISCSI_TLV */
#define MAX_RDS_RINGS MAX_SDS_RINGS /* Max# of Rcv Descriptor Rings */
-
typedef struct _q80_rq_sds_ring {
uint64_t paddr; /* physical addr of status ring in system memory */
uint64_t hdr_split1;
@@ -1310,7 +1304,6 @@ typedef struct _q80_rcv_cntxt_destroy_rsp {
uint16_t regcnt_status;
} __packed q80_rcv_cntxt_destroy_rsp_t;
-
/*
* Add Receive Rings
*/
@@ -1355,7 +1348,6 @@ typedef struct _q80_rq_map_sds_to_rds {
q80_sds_rds_map_e_t sds_rds[MAX_SDS_TO_RDS_MAP];
} __packed q80_rq_map_sds_to_rds_t;
-
typedef struct _q80_rsp_map_sds_to_rds {
uint16_t opcode;
uint16_t regcnt_status;
@@ -1364,7 +1356,6 @@ typedef struct _q80_rsp_map_sds_to_rds {
q80_sds_rds_map_e_t sds_rds[MAX_SDS_TO_RDS_MAP];
} __packed q80_rsp_map_sds_to_rds_t;
-
/*
* Receive Descriptor corresponding to each entry in the receive ring
*/
@@ -1434,7 +1425,6 @@ typedef struct _q80_stat_desc {
#define Q8_SGL_LRO_STAT_TS(data) ((data >> 40) & 0x1)
#define Q8_SGL_LRO_STAT_PUSH_BIT(data) ((data >> 41) & 0x1)
-
/*
* definitions specific to opcode 0x05 data[1]
*/
@@ -1463,7 +1453,6 @@ typedef struct _q80_stat_desc {
#define NUM_TX_DESCRIPTORS 1024
#define NUM_STATUS_DESCRIPTORS 1024
-
#define NUM_RX_DESCRIPTORS 2048
/*
@@ -1608,7 +1597,6 @@ typedef struct _qla_hw {
fdt_valid :1;
} flags;
-
volatile uint16_t link_speed;
volatile uint16_t cable_length;
volatile uint32_t cable_oui;
@@ -1630,7 +1618,7 @@ typedef struct _qla_hw {
uint32_t num_tx_rings;
qla_dmabuf_t dma_buf;
-
+
/* Transmit Side */
qla_hw_tx_cntxt_t tx_cntxt[NUM_TX_RINGS];
@@ -1679,7 +1667,7 @@ typedef struct _qla_hw {
uint32_t max_tx_segs;
uint32_t min_lro_pkt_size;
-
+
uint32_t enable_hw_lro;
uint32_t enable_soft_lro;
uint32_t enable_9kb;
@@ -1740,7 +1728,6 @@ typedef struct _qla_hw {
#define QL_BUFFER_ALIGN 16
-
/*
* Flash Configuration
*/