Home
last modified time | relevance | path

Searched refs:num_iqs (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.c164 for (i = 0; i < oct->num_iqs; i++) { in octep_clean_iqs()
243 oct->num_iqs++; in octep_setup_iq()
287 oct->num_iqs--; in octep_free_iq()
299 oct->num_iqs = 0; in octep_setup_iqs()
333 oct->num_iqs = 0; in octep_free_iqs()
H A Doctep_main.h225 u16 num_iqs; member
H A Doctep_main.c502 err = netif_set_real_num_rx_queues(netdev, oct->num_iqs); in octep_open()
641 if (q_no >= oct->num_iqs) { in octep_start_xmit()
643 q_no = q_no % oct->num_iqs; in octep_start_xmit()
H A Doctep_ethtool.c208 for (q = 0; q < oct->num_iqs; q++) { in octep_get_ethtool_stats()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_network.h220 u32 num_iqs, u32 num_oqs);
577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs()
604 return skb->queue_mapping % oct->num_iqs; in skb_iq()
H A Dlio_core.c52 for (i = 0; i < lio->oct_dev->num_iqs; i++) { in lio_delete_glists()
85 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_iqs) in lio_setup_glists() argument
91 kcalloc(num_iqs, sizeof(*lio->glist_lock), GFP_KERNEL); in lio_setup_glists()
96 kcalloc(num_iqs, sizeof(*lio->glist), GFP_KERNEL); in lio_setup_glists()
109 lio->glists_virt_base = kcalloc(num_iqs, sizeof(*lio->glists_virt_base), in lio_setup_glists()
111 lio->glists_dma_base = kcalloc(num_iqs, sizeof(*lio->glists_dma_base), in lio_setup_glists()
119 for (i = 0; i < num_iqs; i++) { in lio_setup_glists()
812 u32 num_iqs, u32 num_oqs) in liquidio_setup_io_queues() argument
884 for (q = 0; q < num_iqs; q++) { in liquidio_setup_io_queues()
H A Dcn23xx_vf_device.c320 for (q_no = 0; q_no < oct->num_iqs; q_no++) { in cn23xx_enable_vf_io_queues()
359 u32 num_queues = oct->num_iqs; in cn23xx_disable_vf_io_queues()
449 for (q_no = 0 ; q_no < oct->num_iqs ; q_no++) in cn23xx_octeon_pfvf_handshake()
H A Dlio_ethtool.c520 combined_count = oct->num_iqs; in lio_ethtool_get_channels()
528 combined_count = oct->num_iqs; in lio_ethtool_get_channels()
645 if (combined_count == oct->num_iqs) in lio_ethtool_set_channels()
1112 if (num_qs != oct->num_iqs) { in lio_reset_queues()
1300 if (lio_reset_queues(netdev, oct->num_iqs)) in lio_ethtool_set_ringparam()
1759 for (vj = 0; vj < oct_dev->num_iqs; vj++) { in lio_vf_get_ethtool_stats()
1972 ARRAY_SIZE(oct_iq_stats_strings) * oct_dev->num_iqs + in lio_get_sset_count()
1989 ARRAY_SIZE(oct_iq_stats_strings) * oct_dev->num_iqs + in lio_vf_get_sset_count()
2401 for (q_no = 0; q_no < oct->num_iqs; q_no++) { in oct_cfg_tx_intrcnt()
H A Docteon_device.c887 oct->num_iqs = 0; in octeon_setup_instr_queues()
912 oct->num_iqs++; in octeon_setup_instr_queues()
1244 for (i = 0; i < oct->num_iqs; i++) in octeon_core_drv_init()
H A Docteon_mailbox.c214 for (i = 0; i < oct->num_iqs; i++) { in get_vf_stats()
H A Docteon_device.h480 u32 num_iqs; member
H A Drequest_manager.c183 oct->num_iqs--; in octeon_delete_instr_queue()
227 oct->num_iqs++; in octeon_setup_iq()
H A Dcn23xx_pf_device.c795 ern = srn + oct->num_iqs; in cn23xx_enable_io_queues()
873 ern = srn + oct->num_iqs; in cn23xx_disable_io_queues()
H A Dlio_main.c471 lio->oct_dev->num_iqs].s.q_no; in check_txq_status()
2058 for (i = 0; i < oct->num_iqs; i++) { in liquidio_get_stats64()
H A Dlio_vf_main.c1187 for (i = 0; i < oct->num_iqs; i++) { in liquidio_get_stats64()