Lines Matching defs:tx_ring
535 struct qlcnic_host_tx_ring *tx_ring;
563 tx_ring = &adapter->tx_ring[ring];
564 regs_buff[i++] = le32_to_cpu(*(tx_ring->hw_consumer));
565 regs_buff[i++] = tx_ring->sw_consumer;
566 regs_buff[i++] = readl(tx_ring->crb_cmd_producer);
567 regs_buff[i++] = tx_ring->producer;
568 if (tx_ring->crb_intr_mask)
569 regs_buff[i++] = readl(tx_ring->crb_intr_mask);
700 u8 rx_ring, u8 tx_ring)
702 if (rx_ring == 0 || tx_ring == 0)
714 if (tx_ring != 0) {
715 if (tx_ring > adapter->max_tx_rings) {
718 tx_ring, adapter->max_tx_rings);
1311 struct qlcnic_host_tx_ring *tx_ring;
1316 tx_ring = &adapter->tx_ring[ring];
1317 tx_stats.xmit_on += tx_ring->tx_stats.xmit_on;
1318 tx_stats.xmit_off += tx_ring->tx_stats.xmit_off;
1319 tx_stats.xmit_called += tx_ring->tx_stats.xmit_called;
1320 tx_stats.xmit_finished += tx_ring->tx_stats.xmit_finished;
1321 tx_stats.tx_bytes += tx_ring->tx_stats.tx_bytes;
1333 struct qlcnic_host_tx_ring *tx_ring;
1335 tx_ring = (struct qlcnic_host_tx_ring *)stats;
1337 *data++ = QLCNIC_FILL_STATS(tx_ring->tx_stats.xmit_on);
1338 *data++ = QLCNIC_FILL_STATS(tx_ring->tx_stats.xmit_off);
1339 *data++ = QLCNIC_FILL_STATS(tx_ring->tx_stats.xmit_called);
1340 *data++ = QLCNIC_FILL_STATS(tx_ring->tx_stats.xmit_finished);
1341 *data++ = QLCNIC_FILL_STATS(tx_ring->tx_stats.tx_bytes);
1350 struct qlcnic_host_tx_ring *tx_ring;
1360 tx_ring = &adapter->tx_ring[ring];
1361 data = qlcnic_fill_tx_queue_stats(data, tx_ring);