/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
A D | request_manager.c | 50 #define IQ_INSTR_MODE_32B(oct, iq_no) (!IQ_INSTR_MODE_64B(oct, iq_no)) argument 89 iq_no); in octeon_init_instr_queue() 105 iq_no); in octeon_init_instr_queue() 126 if (iq_no == 0) { in octeon_init_instr_queue() 151 iq_no); in octeon_init_instr_queue() 159 db_wq->wk.ctxul = iq_no; in octeon_init_instr_queue() 211 iq_no); in octeon_setup_iq() 216 oct->instr_queue[iq_no] = in octeon_setup_iq() 219 oct->instr_queue[iq_no] = in octeon_setup_iq() 531 u64 iq_no = wk->ctxul; in check_db_timeout() local [all …]
|
A D | octeon_iq.h | 296 u32 iq_no; member 324 #define INCR_INSTRQUEUE_PKT_COUNT(octeon_dev_ptr, iq_no, field, count) \ argument 325 (((octeon_dev_ptr)->instr_queue[iq_no]->stats.field) += count) 362 int octeon_delete_instr_queue(struct octeon_device *octeon_dev, u32 iq_no); 367 octeon_ring_doorbell_locked(struct octeon_device *oct, u32 iq_no); 377 int octeon_send_command(struct octeon_device *oct, u32 iq_no, 394 int q_index, union oct_txpciq iq_no, u32 num_descs,
|
A D | octeon_nic.h | 53 u64 iq_no; member 94 u32 iq_no:8; member 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()
|
A D | cn66xx_device.c | 264 void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in lio_cn6xxx_setup_iq_regs() argument 266 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in lio_cn6xxx_setup_iq_regs() 268 octeon_write_csr64(oct, CN6XXX_SLI_IQ_PKT_INSTR_HDR64(iq_no), 0); in lio_cn6xxx_setup_iq_regs() 271 octeon_write_csr64(oct, CN6XXX_SLI_IQ_BASE_ADDR64(iq_no), in lio_cn6xxx_setup_iq_regs() 273 octeon_write_csr(oct, CN6XXX_SLI_IQ_SIZE(iq_no), iq->max_count); in lio_cn6xxx_setup_iq_regs() 278 iq->doorbell_reg = oct->mmio[0].hw_addr + CN6XXX_SLI_IQ_DOORBELL(iq_no); in lio_cn6xxx_setup_iq_regs() 280 + CN6XXX_SLI_IQ_INSTR_COUNT(iq_no); in lio_cn6xxx_setup_iq_regs() 282 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in lio_cn6xxx_setup_iq_regs() 290 static void lio_cn66xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in lio_cn66xx_setup_iq_regs() argument 292 lio_cn6xxx_setup_iq_regs(oct, iq_no); in lio_cn66xx_setup_iq_regs() [all …]
|
A D | lio_vf_main.c | 625 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in send_rx_ctrl_cmd() 1186 int i, iq_no, oq_no; in liquidio_get_stats64() local 1194 iq_no = lio->linfo.txpciq[i].s.q_no; in liquidio_get_stats64() 1385 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt() 1420 int q_idx = 0, iq_no = 0; in liquidio_xmit() local 1434 iq_no = lio->linfo.txpciq[q_idx].s.q_no; in liquidio_xmit() 1461 ndata.q_no = iq_no; in liquidio_xmit() 1474 cmdsetup.s.iq_no = iq_no; in liquidio_xmit() 1608 iq_no); in liquidio_xmit() 1625 iq_no, stats->tx_dropped); in liquidio_xmit() [all …]
|
A D | cn23xx_vf_device.c | 212 static void cn23xx_setup_vf_iq_regs(struct octeon_device *oct, u32 iq_no) in cn23xx_setup_vf_iq_regs() argument 214 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in cn23xx_setup_vf_iq_regs() 218 octeon_write_csr64(oct, CN23XX_VF_SLI_IQ_BASE_ADDR64(iq_no), in cn23xx_setup_vf_iq_regs() 220 octeon_write_csr(oct, CN23XX_VF_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_vf_iq_regs() 226 (u8 *)oct->mmio[0].hw_addr + CN23XX_VF_SLI_IQ_DOORBELL(iq_no); in cn23xx_setup_vf_iq_regs() 228 (u8 *)oct->mmio[0].hw_addr + CN23XX_VF_SLI_IQ_INSTR_COUNT64(iq_no); in cn23xx_setup_vf_iq_regs() 230 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in cn23xx_setup_vf_iq_regs()
|
A D | lio_vf_rep.c | 81 sc->iq_no = 0; in lio_vf_rep_send_soft_command() 354 u32 iq_no; in lio_vf_rep_packet_sent_callback() local 359 iq_no = sc->iq_no; in lio_vf_rep_packet_sent_callback() 362 if (octnet_iq_is_full(oct, iq_no)) in lio_vf_rep_packet_sent_callback() 417 sc->iq_no = parent_lio->txq; in lio_vf_rep_pkt_xmit()
|
A D | lio_core.c | 170 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_feature() 746 int tx_done = 0, iq_no; in liquidio_napi_poll() local 751 iq_no = droq->q_no; in liquidio_napi_poll() 757 iq = oct->instr_queue[iq_no]; in liquidio_napi_poll() 771 lio_update_txq_status(oct, iq_no); in liquidio_napi_poll() 774 __func__, iq_no); in liquidio_napi_poll() 1230 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_change_mtu() 1409 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_fetch_vf_stats() 1484 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_fetch_stats() 1550 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_speed() [all …]
|
A D | octeon_nic.c | 125 sc->iq_no = (u32)nctrl->iq_no; in octnic_alloc_ctrl_pkt_sc()
|
A D | lio_main.c | 637 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_sync_octeon_time() 1177 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in send_rx_ctrl_cmd() 2057 int i, iq_no, oq_no; in liquidio_get_stats64() local 2065 iq_no = lio->linfo.txpciq[i].s.q_no; in liquidio_get_stats64() 2275 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt() 2319 int q_idx = 0, iq_no = 0; in liquidio_xmit() local 2329 iq_no = lio->linfo.txpciq[q_idx].s.q_no; in liquidio_xmit() 2358 ndata.q_no = iq_no; in liquidio_xmit() 2375 cmdsetup.s.iq_no = iq_no; in liquidio_xmit() 2539 iq_no, stats->tx_dropped); in liquidio_xmit() [all …]
|
A D | cn23xx_pf_device.c | 587 static void cn23xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in cn23xx_setup_iq_regs() argument 589 struct octeon_instr_queue *iq = oct->instr_queue[iq_no]; in cn23xx_setup_iq_regs() 592 iq_no += oct->sriov_info.pf_srn; in cn23xx_setup_iq_regs() 595 octeon_write_csr64(oct, CN23XX_SLI_IQ_BASE_ADDR64(iq_no), in cn23xx_setup_iq_regs() 597 octeon_write_csr(oct, CN23XX_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_iq_regs() 603 (u8 *)oct->mmio[0].hw_addr + CN23XX_SLI_IQ_DOORBELL(iq_no); in cn23xx_setup_iq_regs() 605 (u8 *)oct->mmio[0].hw_addr + CN23XX_SLI_IQ_INSTR_COUNT64(iq_no); in cn23xx_setup_iq_regs() 607 iq_no, iq->doorbell_reg, iq->inst_cnt_reg); in cn23xx_setup_iq_regs()
|
A D | cn66xx_device.h | 76 void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no);
|
A D | lio_ethtool.c | 481 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in lio_send_queue_count_update() 716 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_gpio_access() 742 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_id_active() 785 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_mdio45_access() 1024 sc->iq_no = 0; in lio_23xx_reconfigure_queue_count() 1395 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in lio_set_pauseparam() 2019 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_get_intrmod_cfg() 2078 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in octnet_set_intrmod_cfg()
|
A D | octeon_device.c | 867 u32 iq_no = 0; in octeon_setup_instr_queues() local 893 txpciq.s.q_no = iq_no; in octeon_setup_instr_queues()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/ |
A D | octep_cn9k_pf.c | 243 struct octep_iq *iq = oct->iq[iq_no]; in octep_setup_iq_regs_cn93_pf() 247 iq_no += CFG_GET_PORTS_PF_SRN(oct->conf); in octep_setup_iq_regs_cn93_pf() 248 reg_val = octep_read_csr64(oct, CN93_SDP_R_IN_CONTROL(iq_no)); in octep_setup_iq_regs_cn93_pf() 260 octep_write_csr64(oct, CN93_SDP_R_IN_CONTROL(iq_no), reg_val); in octep_setup_iq_regs_cn93_pf() 263 octep_write_csr64(oct, CN93_SDP_R_IN_INSTR_BADDR(iq_no), in octep_setup_iq_regs_cn93_pf() 265 octep_write_csr64(oct, CN93_SDP_R_IN_INSTR_RSIZE(iq_no), in octep_setup_iq_regs_cn93_pf() 272 CN93_SDP_R_IN_INSTR_DBELL(iq_no); in octep_setup_iq_regs_cn93_pf() 274 CN93_SDP_R_IN_CNTS(iq_no); in octep_setup_iq_regs_cn93_pf() 276 CN93_SDP_R_IN_INT_LEVELS(iq_no); in octep_setup_iq_regs_cn93_pf() 598 iq_no += CFG_GET_PORTS_PF_SRN(oct->conf); in octep_enable_iq_cn93_pf() [all …]
|