Searched refs:num_iqs (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_tx.c | 164 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 D | octep_main.h | 225 u16 num_iqs; member
|
H A D | octep_main.c | 502 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 D | octep_ethtool.c | 208 for (q = 0; q < oct->num_iqs; q++) { in octep_get_ethtool_stats()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_network.h | 220 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 D | lio_core.c | 52 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 D | cn23xx_vf_device.c | 320 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 D | lio_ethtool.c | 520 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 D | octeon_device.c | 887 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 D | octeon_mailbox.c | 214 for (i = 0; i < oct->num_iqs; i++) { in get_vf_stats()
|
H A D | octeon_device.h | 480 u32 num_iqs; member
|
H A D | request_manager.c | 183 oct->num_iqs--; in octeon_delete_instr_queue() 227 oct->num_iqs++; in octeon_setup_iq()
|
H A D | cn23xx_pf_device.c | 795 ern = srn + oct->num_iqs; in cn23xx_enable_io_queues() 873 ern = srn + oct->num_iqs; in cn23xx_disable_io_queues()
|
H A D | lio_main.c | 471 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 D | lio_vf_main.c | 1187 for (i = 0; i < oct->num_iqs; i++) { in liquidio_get_stats64()
|