Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeon_ep/
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()
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()
Doctep_main.h225 u16 num_iqs; member
Doctep_ethtool.c208 for (q = 0; q < oct->num_iqs; q++) { in octep_get_ethtool_stats()
/drivers/net/ethernet/cavium/liquidio/
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()
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()
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()
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()
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()
Docteon_mailbox.c214 for (i = 0; i < oct->num_iqs; i++) { in get_vf_stats()
Drequest_manager.c183 oct->num_iqs--; in octeon_delete_instr_queue()
227 oct->num_iqs++; in octeon_setup_iq()
Docteon_device.h480 u32 num_iqs; member
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()
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()
Dlio_vf_main.c1187 for (i = 0; i < oct->num_iqs; i++) { in liquidio_get_stats64()