Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Drequest_manager.c46 (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 …]
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.c655 vfree(oct->instr_queue[i]); in octeon_free_device_mem()
881 oct->instr_queue[0] = vzalloc_node(sizeof(*oct->instr_queue[0]), in octeon_setup_instr_queues()
883 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()
884 oct->instr_queue[0] = in octeon_setup_instr_queues()
886 if (!oct->instr_queue[0]) in octeon_setup_instr_queues()
888 memset(oct->instr_queue[0], 0, sizeof(struct octeon_instr_queue)); in octeon_setup_instr_queues()
889 oct->instr_queue[0]->q_index = 0; in octeon_setup_instr_queues()
890 oct->instr_queue[0]->app_ctx = (void *)(size_t)0; in octeon_setup_instr_queues()
891 oct->instr_queue[0]->ifidx = 0; in octeon_setup_instr_queues()
899 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()
451 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.c851 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()
Docteon_device.h486 struct octeon_instr_queue *instr_queue member
Dlio_vf_main.c126 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()
1436 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()
Dcn66xx_device.c266 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
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()
Dlio_core.c502 struct octeon_instr_queue *iq = oct->instr_queue[iq_num]; in lio_update_txq_status()
757 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll()
Dlio_main.c261 iq = oct->instr_queue[i]; in pcierror_quiesce_device()
1003 iq = oct->instr_queue[i]; in octeon_destroy_resources()
2063 iq_stats = &oct->instr_queue[iq_no]->stats; in liquidio_get_stats64()
2328 stats = &oct->instr_queue[iq_no]->stats; in liquidio_xmit()