Searched refs:instr_queue (Results 1 – 13 of 13) 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()166 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in octeon_delete_instr_queue()188 vfree(oct->instr_queue[iq_no]); in octeon_delete_instr_queue()189 oct->instr_queue[iq_no] = NULL; in octeon_delete_instr_queue()207 if (oct->instr_queue[iq_no]) { in octeon_setup_iq()210 oct->instr_queue[iq_no]->txpciq.u64 = txpciq.u64; in octeon_setup_iq()211 oct->instr_queue[iq_no]->app_ctx = app_ctx; in octeon_setup_iq()214 oct->instr_queue[iq_no] = in octeon_setup_iq()216 if (!oct->instr_queue[iq_no]) in octeon_setup_iq()[all …]
121 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full()122 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()147 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o2()198 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; in octnet_prepare_pci_cmd_o3()213 pki_ih3->uqpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.use_qpg; in octnet_prepare_pci_cmd_o3()215 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o3()223 pki_ih3->qpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.qpg; in octnet_prepare_pci_cmd_o3()
655 vfree(oct->instr_queue[i]); in octeon_free_device_mem()880 oct->instr_queue[0] = vzalloc_node(sizeof(*oct->instr_queue[0]), in octeon_setup_instr_queues()882 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()883 oct->instr_queue[0] = in octeon_setup_instr_queues()885 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()887 memset(oct->instr_queue[0], 0, sizeof(struct octeon_instr_queue)); in octeon_setup_instr_queues()888 oct->instr_queue[0]->q_index = 0; in octeon_setup_instr_queues()889 oct->instr_queue[0]->app_ctx = (void *)(size_t)0; in octeon_setup_instr_queues()890 oct->instr_queue[0]->ifidx = 0; in octeon_setup_instr_queues()898 vfree(oct->instr_queue[0]); in octeon_setup_instr_queues()[all …]
800 tx_pending = oct->instr_queue[0]->max_count; in lio_ethtool_get_ringparam()899 tx_count_old = oct->instr_queue[0]->max_count; in lio_ethtool_set_ringparam()1239 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_done); in lio_get_ethtool_stats()1242 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_tot_bytes); in lio_get_ethtool_stats()1245 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_dropped); in lio_get_ethtool_stats()1248 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_iq_busy); in lio_get_ethtool_stats()1251 CVM_CAST64(oct_dev->instr_queue[j]->stats.sgentry_sent); in lio_get_ethtool_stats()1256 CVM_CAST64(oct_dev->instr_queue[j]->stats.instr_posted); in lio_get_ethtool_stats()1259 oct_dev->instr_queue[j]->stats.instr_processed); in lio_get_ethtool_stats()1262 oct_dev->instr_queue[j]->stats.instr_dropped); in lio_get_ethtool_stats()[all …]
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()
309 (((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count)
890 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_process_droq_poll_cmd()895 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_process_droq_poll_cmd()
445 struct octeon_instr_queue *instr_queue member
373 struct octeon_instr_queue *iq = oct->instr_queue[iq_num]; in lio_update_txq_status()649 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll()
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()
269 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
169 iq = oct->instr_queue[i]; in pcierror_quiesce_device()1509 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats()1774 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()
298 iq = oct->instr_queue[i]; in pcierror_quiesce_device()2288 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats()2565 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()