Home
last modified time | relevance | path

Searched refs:instr_queue (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Drequest_manager.c73 iq = oct->instr_queue[iq_no]; in octeon_init_instr_queue()
159 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in octeon_delete_instr_queue()
181 vfree(oct->instr_queue[iq_no]); in octeon_delete_instr_queue()
182 oct->instr_queue[iq_no] = NULL; in octeon_delete_instr_queue()
201 if (oct->instr_queue[iq_no]) { in octeon_setup_iq()
204 oct->instr_queue[iq_no]->txpciq.u64 = txpciq.u64; in octeon_setup_iq()
205 oct->instr_queue[iq_no]->app_ctx = app_ctx; in octeon_setup_iq()
208 oct->instr_queue[iq_no] = in octeon_setup_iq()
210 if (!oct->instr_queue[iq_no]) in octeon_setup_iq()
211 oct->instr_queue[iq_no] = in octeon_setup_iq()
[all …]
Docteon_nic.h114 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()
Docteon_device.c657 vfree(oct->instr_queue[i]); in octeon_free_device_mem()
889 oct->instr_queue[0] = vzalloc_node(sizeof(*oct->instr_queue[0]), in octeon_setup_instr_queues()
891 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()
892 oct->instr_queue[0] = in octeon_setup_instr_queues()
894 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()
896 memset(oct->instr_queue[0], 0, sizeof(struct octeon_instr_queue)); in octeon_setup_instr_queues()
897 oct->instr_queue[0]->q_index = 0; in octeon_setup_instr_queues()
898 oct->instr_queue[0]->app_ctx = (void *)(size_t)0; in octeon_setup_instr_queues()
899 oct->instr_queue[0]->ifidx = 0; in octeon_setup_instr_queues()
907 vfree(oct->instr_queue[0]); in octeon_setup_instr_queues()
[all …]
Dlio_ethtool.c973 tx_pending = oct->instr_queue[0]->max_count; in lio_ethtool_get_ringparam()
1280 tx_count_old = oct->instr_queue[0]->max_count; in lio_ethtool_set_ringparam()
1642 data[i++] = CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_done); in lio_get_ethtool_stats()
1645 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_tot_bytes); in lio_get_ethtool_stats()
1648 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_dropped); in lio_get_ethtool_stats()
1651 CVM_CAST64(oct_dev->instr_queue[j]->stats.tx_iq_busy); in lio_get_ethtool_stats()
1654 CVM_CAST64(oct_dev->instr_queue[j]->stats.sgentry_sent); in lio_get_ethtool_stats()
1659 CVM_CAST64(oct_dev->instr_queue[j]->stats.instr_posted); in lio_get_ethtool_stats()
1662 oct_dev->instr_queue[j]->stats.instr_processed); in lio_get_ethtool_stats()
1665 oct_dev->instr_queue[j]->stats.instr_dropped); in lio_get_ethtool_stats()
[all …]
Docteon_mailbox.c215 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()
Dcn23xx_vf_device.c116 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()
450 oct->instr_queue[q_no]->txpciq.s.pkind = oct->pfvf_hsword.pkind; in cn23xx_octeon_pfvf_handshake()
Docteon_iq.h325 (((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count)
Docteon_droq.c854 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_enable_irq()
858 lio_enable_irq(oct->droq[q_no], oct->instr_queue[q_no]); in octeon_enable_irq()
Docteon_device.h486 struct octeon_instr_queue *instr_queue member
Dlio_vf_main.c125 iq = oct->instr_queue[i]; in pcierror_quiesce_device()
486 iq = oct->instr_queue[i]; in octeon_destroy_resources()
1189 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats64()
1430 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()
Dcn23xx_pf_device.c446 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()
Dcn66xx_device.c266 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
Dlio_core.c511 struct octeon_instr_queue *iq = oct->instr_queue[iq_num]; in lio_update_txq_status()
766 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll()
Dlio_main.c260 iq = oct->instr_queue[i]; in pcierror_quiesce_device()
1001 iq = oct->instr_queue[i]; in octeon_destroy_resources()
2060 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats64()
2325 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()