Searched refs:instr_queue (Results 1 – 14 of 14) sorted by relevance
46 (struct octeon_instr_queue *)oct->instr_queue[iq_no]; in IQ_INSTR_MODE_64B()82 iq = oct->instr_queue[iq_no]; in octeon_init_instr_queue()168 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in octeon_delete_instr_queue()190 vfree(oct->instr_queue[iq_no]); in octeon_delete_instr_queue()191 oct->instr_queue[iq_no] = NULL; in octeon_delete_instr_queue()209 if (oct->instr_queue[iq_no]) { in octeon_setup_iq()212 oct->instr_queue[iq_no]->txpciq.u64 = txpciq.u64; in octeon_setup_iq()213 oct->instr_queue[iq_no]->app_ctx = app_ctx; in octeon_setup_iq()216 oct->instr_queue[iq_no] = in octeon_setup_iq()218 if (!oct->instr_queue[iq_no]) in octeon_setup_iq()[all …]
114 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full()115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()140 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o2()191 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; in octnet_prepare_pci_cmd_o3()206 pki_ih3->uqpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.use_qpg; in octnet_prepare_pci_cmd_o3()208 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o3()216 pki_ih3->qpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.qpg; in octnet_prepare_pci_cmd_o3()
656 vfree(oct->instr_queue[i]); in octeon_free_device_mem()882 oct->instr_queue[0] = vzalloc_node(sizeof(*oct->instr_queue[0]), in octeon_setup_instr_queues()884 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()885 oct->instr_queue[0] = in octeon_setup_instr_queues()887 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()889 memset(oct->instr_queue[0], 0, sizeof(struct octeon_instr_queue)); in octeon_setup_instr_queues()890 oct->instr_queue[0]->q_index = 0; in octeon_setup_instr_queues()891 oct->instr_queue[0]->app_ctx = (void *)(size_t)0; in octeon_setup_instr_queues()892 oct->instr_queue[0]->ifidx = 0; in octeon_setup_instr_queues()900 vfree(oct->instr_queue[0]); in octeon_setup_instr_queues()[all …]
970 tx_pending = oct->instr_queue[0]->max_count; in lio_ethtool_get_ringparam()1274 tx_count_old = oct->instr_queue[0]->max_count; in lio_ethtool_set_ringparam()1636 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_done); in lio_get_ethtool_stats()1639 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_tot_bytes); in lio_get_ethtool_stats()1642 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_dropped); in lio_get_ethtool_stats()1645 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_iq_busy); in lio_get_ethtool_stats()1648 CVM_CAST64(oct_dev->instr_queue[j]->stats.sgentry_sent); in lio_get_ethtool_stats()1653 CVM_CAST64(oct_dev->instr_queue[j]->stats.instr_posted); in lio_get_ethtool_stats()1656 oct_dev->instr_queue[j]->stats.instr_processed); in lio_get_ethtool_stats()1659 oct_dev->instr_queue[j]->stats.instr_dropped); in lio_get_ethtool_stats()[all …]
215 if (!oct->instr_queue[i]) in get_vf_stats()217 stats->tx_packets += oct->instr_queue[i]->stats.tx_done; in get_vf_stats()218 stats->tx_bytes += oct->instr_queue[i]->stats.tx_tot_bytes; in get_vf_stats()
116 iq = oct->instr_queue[q_no]; in cn23xx_vf_setup_global_input_regs()214 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in cn23xx_setup_vf_iq_regs()451 oct->instr_queue[q_no]->txpciq.s.pkind = oct->pfvf_hsword.pkind; in cn23xx_octeon_pfvf_handshake()
325 (((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count)
851 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_enable_irq()855 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_enable_irq()
486 struct octeon_instr_queue *instr_queue member
126 iq = oct->instr_queue[i]; in pcierror_quiesce_device()488 iq = oct->instr_queue[i]; in octeon_destroy_resources()1195 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats64()1439 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()
266 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
446 iq = oct->instr_queue[q_no]; in cn23xx_pf_setup_global_input_regs()589 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in cn23xx_setup_iq_regs()
503 struct octeon_instr_queue *iq = oct->instr_queue[iq_num]; in lio_update_txq_status()763 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll()
266 iq = oct->instr_queue[i]; in pcierror_quiesce_device()1009 iq = oct->instr_queue[i]; in octeon_destroy_resources()2049 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats64()2317 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()