aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r--drivers/net/qlge/qlge.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h
index 6ed5317ab1c0..ed5dbca01bd1 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -1287,7 +1287,7 @@ struct rx_ring {
1287 u32 sbq_free_cnt; /* free buffer desc cnt */ 1287 u32 sbq_free_cnt; /* free buffer desc cnt */
1288 1288
1289 /* Misc. handler elements. */ 1289 /* Misc. handler elements. */
1290 u32 type; /* Type of queue, tx, rx, or default. */ 1290 u32 type; /* Type of queue, tx, rx. */
1291 u32 irq; /* Which vector this ring is assigned. */ 1291 u32 irq; /* Which vector this ring is assigned. */
1292 u32 cpu; /* Which CPU this should run on. */ 1292 u32 cpu; /* Which CPU this should run on. */
1293 char name[IFNAMSIZ + 5]; 1293 char name[IFNAMSIZ + 5];
@@ -1486,11 +1486,9 @@ struct ql_adapter {
1486 struct intr_context intr_context[MAX_RX_RINGS]; 1486 struct intr_context intr_context[MAX_RX_RINGS];
1487 1487
1488 int tx_ring_count; /* One per online CPU. */ 1488 int tx_ring_count; /* One per online CPU. */
1489 u32 rss_ring_first_cq_id;/* index of first inbound (rss) rx_ring */
1490 u32 rss_ring_count; /* One per online CPU. */ 1489 u32 rss_ring_count; /* One per online CPU. */
1491 /* 1490 /*
1492 * rx_ring_count = 1491 * rx_ring_count =
1493 * one default queue +
1494 * (CPU count * outbound completion rx_ring) + 1492 * (CPU count * outbound completion rx_ring) +
1495 * (CPU count * inbound (RSS) completion rx_ring) 1493 * (CPU count * inbound (RSS) completion rx_ring)
1496 */ 1494 */