Lines Matching defs:rx_ring
1418 struct rx_ring { struct
1419 struct cqicb cqicb; /* The chip's completion queue init control block. */
1422 void *cq_base;
1423 dma_addr_t cq_base_dma;
1424 u32 cq_size;
1425 u32 cq_len;
1426 u16 cq_id;
1427 __le32 *prod_idx_sh_reg; /* Shadowed producer register. */
1428 dma_addr_t prod_idx_sh_reg_dma;
1429 void __iomem *cnsmr_idx_db_reg; /* PCI doorbell mem area + 0 */
1430 u32 cnsmr_idx; /* current sw idx */
1431 struct ql_net_rsp_iocb *curr_entry; /* next entry on queue */
1432 void __iomem *valid_db_reg; /* PCI doorbell mem area + 0x04 */
1435 u32 lbq_len; /* entry count */
1436 u32 lbq_size; /* size in bytes of queue */
1437 u32 lbq_buf_size;
1438 void *lbq_base;
1439 dma_addr_t lbq_base_dma;
1440 void *lbq_base_indirect;
1441 dma_addr_t lbq_base_indirect_dma;
1442 struct page_chunk pg_chunk; /* current page for chunks */
1443 struct bq_desc *lbq; /* array of control blocks */
1444 void __iomem *lbq_prod_idx_db_reg; /* PCI doorbell mem area + 0x18 */
1445 u32 lbq_prod_idx; /* current sw prod idx */
1446 u32 lbq_curr_idx; /* next entry we expect */
1447 u32 lbq_clean_idx; /* beginning of new descs */
1448 u32 lbq_free_cnt; /* free buffer desc cnt */
1451 u32 sbq_len; /* entry count */
1452 u32 sbq_size; /* size in bytes of queue */
1453 u32 sbq_buf_size;
1454 void *sbq_base;
1455 dma_addr_t sbq_base_dma;
1456 void *sbq_base_indirect;
1457 dma_addr_t sbq_base_indirect_dma;
1458 struct bq_desc *sbq; /* array of control blocks */
1459 void __iomem *sbq_prod_idx_db_reg; /* PCI doorbell mem area + 0x1c */
1460 u32 sbq_prod_idx; /* current sw prod idx */
1461 u32 sbq_curr_idx; /* next entry we expect */
1462 u32 sbq_clean_idx; /* beginning of new descs */
1463 u32 sbq_free_cnt; /* free buffer desc cnt */
1466 u32 type; /* Type of queue, tx, rx. */
1467 u32 irq; /* Which vector this ring is assigned. */
1468 u32 cpu; /* Which CPU this should run on. */
1469 char name[IFNAMSIZ + 5];
1470 struct napi_struct napi;
1471 u8 reserved;
1472 struct ql_adapter *qdev;
1473 u64 rx_packets;
1474 u64 rx_multicast;
1475 u64 rx_bytes;
1476 u64 rx_dropped;
1477 u64 rx_errors;
2115 struct rx_ring rx_ring[MAX_RX_RINGS]; member
2301 #define QL_DUMP_RX_RING(rx_ring) ql_dump_rx_ring(rx_ring) argument
2309 #define QL_DUMP_RX_RING(rx_ring) argument