Searched refs:instr_queue (Results 1 – 9 of 9) sorted by relevance
36 (octeon_dev_ptr->instr_queue[iq_no]->stats.field += count)51 (struct octeon_instr_queue *)oct->instr_queue[iq_no]; in IQ_INSTR_MODE_64B()92 iq = oct->instr_queue[iq_no]; in octeon_init_instr_queue()179 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in octeon_delete_instr_queue()213 if (oct->instr_queue[iq_no]) { in octeon_setup_iq()216 oct->instr_queue[iq_no]->txpciq.u64 = txpciq.u64; in octeon_setup_iq()217 oct->instr_queue[iq_no]->app_ctx = app_ctx; in octeon_setup_iq()220 oct->instr_queue[iq_no] = in octeon_setup_iq()222 if (!oct->instr_queue[iq_no]) in octeon_setup_iq()223 oct->instr_queue[iq_no] = in octeon_setup_iq()[all …]
120 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full()121 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()146 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o2()197 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; in octnet_prepare_pci_cmd_o3()212 pki_ih3->uqpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.use_qpg; in octnet_prepare_pci_cmd_o3()214 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o3()222 pki_ih3->qpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.qpg; in octnet_prepare_pci_cmd_o3()
658 vfree(oct->instr_queue[i]); in octeon_free_device_mem()805 oct->instr_queue[0] = vmalloc_node(sizeof(*oct->instr_queue[0]), in octeon_setup_instr_queues()807 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()808 oct->instr_queue[0] = in octeon_setup_instr_queues()810 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()812 memset(oct->instr_queue[0], 0, sizeof(struct octeon_instr_queue)); in octeon_setup_instr_queues()813 oct->instr_queue[0]->q_index = 0; in octeon_setup_instr_queues()814 oct->instr_queue[0]->app_ctx = (void *)(size_t)0; in octeon_setup_instr_queues()815 oct->instr_queue[0]->ifidx = 0; in octeon_setup_instr_queues()823 vfree(oct->instr_queue[0]); in octeon_setup_instr_queues()[all …]
919 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_done); in lio_get_ethtool_stats()922 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_tot_bytes); in lio_get_ethtool_stats()925 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_dropped); in lio_get_ethtool_stats()928 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_iq_busy); in lio_get_ethtool_stats()931 CVM_CAST64(oct_dev->instr_queue[j]->stats.sgentry_sent); in lio_get_ethtool_stats()936 CVM_CAST64(oct_dev->instr_queue[j]->stats.instr_posted); in lio_get_ethtool_stats()938 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]-> in lio_get_ethtool_stats()941 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]-> in lio_get_ethtool_stats()945 CVM_CAST64(oct_dev->instr_queue[j]->stats.bytes_sent); in lio_get_ethtool_stats()948 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_gso); in lio_get_ethtool_stats()[all …]
397 struct octeon_instr_queue *instr_queue member
58 (octeon_dev_ptr->instr_queue[iq_no]->stats.field += count)321 iq = oct->instr_queue[i]; in pcierror_quiesce_device()950 struct octeon_instr_queue *iq = oct->instr_queue[iq_num]; in update_txq_status()2421 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll()2828 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats()3112 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()
435 iq = oct->instr_queue[q_no]; in cn23xx_pf_setup_global_input_regs()576 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in cn23xx_setup_iq_regs()
276 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
891 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_process_droq_poll_cmd()