Home
last modified time | relevance | path

Searched refs:iq_no (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Drequest_manager.c35 #define INCR_INSTRQUEUE_PKT_COUNT(octeon_dev_ptr, iq_no, field, count) \ argument
36 (octeon_dev_ptr->instr_queue[iq_no]->stats.field += count)
44 static void __check_db_timeout(struct octeon_device *oct, u64 iq_no);
48 static inline int IQ_INSTR_MODE_64B(struct octeon_device *oct, int iq_no) in IQ_INSTR_MODE_64B() argument
51 (struct octeon_instr_queue *)oct->instr_queue[iq_no]; in IQ_INSTR_MODE_64B()
55 #define IQ_INSTR_MODE_32B(oct, iq_no) (!IQ_INSTR_MODE_64B(oct, iq_no)) argument
67 u32 iq_no = (u32)txpciq.s.q_no; in octeon_init_instr_queue() local
71 int numa_node = cpu_to_node(iq_no % num_online_cpus()); in octeon_init_instr_queue()
86 iq_no); in octeon_init_instr_queue()
92 iq = oct->instr_queue[iq_no]; in octeon_init_instr_queue()
[all …]
Docteon_nic.h56 u64 iq_no; member
100 u32 iq_no:8; member
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()
Dcn66xx_device.c274 void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in lio_cn6xxx_setup_iq_regs() argument
276 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs()
279 octeon_write_csr64(oct, CN6XXX_SLI_IQ_PKT_INSTR_HDR64(iq_no), 0); in lio_cn6xxx_setup_iq_regs()
282 octeon_write_csr64(oct, CN6XXX_SLI_IQ_BASE_ADDR64(iq_no), in lio_cn6xxx_setup_iq_regs()
284 octeon_write_csr(oct, CN6XXX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn6xxx_setup_iq_regs()
289 iq->doorbell_reg = oct->mmio[0].hw_addr + CN6XXX_SLI_IQ_DOORBELL(iq_no); in lio_cn6xxx_setup_iq_regs()
291 + CN6XXX_SLI_IQ_INSTR_COUNT(iq_no); in lio_cn6xxx_setup_iq_regs()
293 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in lio_cn6xxx_setup_iq_regs()
301 static void lio_cn66xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in lio_cn66xx_setup_iq_regs() argument
303 lio_cn6xxx_setup_iq_regs(oct, iq_no); in lio_cn66xx_setup_iq_regs()
[all …]
Docteon_iq.h291 u32 iq_no; member
345 int octeon_delete_instr_queue(struct octeon_device *octeon_dev, u32 iq_no);
357 int octeon_send_command(struct octeon_device *oct, u32 iq_no,
371 int q_index, union oct_txpciq iq_no, u32 num_descs,
Dlio_main.c57 #define INCR_INSTRQUEUE_PKT_COUNT(octeon_dev_ptr, iq_no, field, count) \ argument
58 (octeon_dev_ptr->instr_queue[iq_no]->stats.field += count)
1567 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in send_rx_ctrl_cmd()
2408 int tx_done = 0, iq_no; in liquidio_napi_poll() local
2414 iq_no = droq->q_no; in liquidio_napi_poll()
2421 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll()
2428 update_txq_status(oct, iq_no); in liquidio_napi_poll()
2432 __func__, iq_no); in liquidio_napi_poll()
2742 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mcast_list()
2790 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_mac()
[all …]
Docteon_nic.c152 sc->iq_no = (u32)nctrl->iq_no; in octnic_alloc_ctrl_pkt_sc()
Dcn23xx_pf_device.c574 static void cn23xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in cn23xx_setup_iq_regs() argument
576 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in cn23xx_setup_iq_regs()
579 iq_no += oct->sriov_info.pf_srn; in cn23xx_setup_iq_regs()
582 octeon_write_csr64(oct, CN23XX_SLI_IQ_BASE_ADDR64(iq_no), in cn23xx_setup_iq_regs()
584 octeon_write_csr(oct, CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_iq_regs()
590 (u8 *)oct->mmio[0].hw_addr + CN23XX_SLI_IQ_DOORBELL(iq_no); in cn23xx_setup_iq_regs()
592 (u8 *)oct->mmio[0].hw_addr + CN23XX_SLI_IQ_INSTR_COUNT64(iq_no); in cn23xx_setup_iq_regs()
594 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in cn23xx_setup_iq_regs()
Dcn66xx_device.h81 void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no);
Dlio_ethtool.c333 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_gpio_access()
359 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_id_active()
429 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_mdio45_access()
695 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in lio_set_pauseparam()
1216 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_set_intrmod_cfg()
1360 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_get_link_stats()
1742 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in lio_set_settings()
Docteon_device.c792 u32 iq_no = 0; in octeon_setup_instr_queues() local
794 int numa_node = cpu_to_node(iq_no % num_online_cpus()); in octeon_setup_instr_queues()
817 txpciq.s.q_no = iq_no; in octeon_setup_instr_queues()
Dlio_core.c45 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_feature()