Home
last modified time | relevance | path

Searched refs:queue_index (Results 1 – 25 of 91) sorted by relevance

1234

/drivers/net/xen-netback/
Dinterface.c305 unsigned int queue_index; in xenvif_up() local
307 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_up()
308 queue = &vif->queues[queue_index]; in xenvif_up()
321 unsigned int queue_index; in xenvif_down() local
323 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_down()
324 queue = &vif->queues[queue_index]; in xenvif_down()
429 unsigned int queue_index; in xenvif_get_ethtool_stats() local
436 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_get_ethtool_stats()
437 void *vif_stats = &vif->queues[queue_index].stats; in xenvif_get_ethtool_stats()
803 unsigned int queue_index; in xenvif_disconnect_data() local
[all …]
Dxenbus.c256 unsigned int queue_index; in backend_disconnect() local
270 for (queue_index = 0; queue_index < num_queues; ++queue_index) in backend_disconnect()
271 xenvif_deinit_queue(&vif->queues[queue_index]); in backend_disconnect()
530 unsigned int queue_index; in xen_net_rate_changed() local
533 for (queue_index = 0; queue_index < vif->num_queues; queue_index++) { in xen_net_rate_changed()
534 struct xenvif_queue *queue = &vif->queues[queue_index]; in xen_net_rate_changed()
729 unsigned int queue_index; in connect() local
775 for (queue_index = 0; queue_index < requested_num_queues; ++queue_index) { in connect()
776 queue = &be->vif->queues[queue_index]; in connect()
778 queue->id = queue_index; in connect()
[all …]
/drivers/net/ethernet/google/gve/
Dgve_adminq.c464 static int gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_tx_queue() argument
466 struct gve_tx_ring *tx = &priv->tx[queue_index]; in gve_adminq_create_tx_queue()
472 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
510 static int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_rx_queue() argument
512 struct gve_rx_ring *rx = &priv->rx[queue_index]; in gve_adminq_create_rx_queue()
518 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_rx_queue()
531 cmd.create_rx_queue.index = cpu_to_be32(queue_index); in gve_adminq_create_rx_queue()
565 static int gve_adminq_destroy_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_tx_queue() argument
573 .queue_id = cpu_to_be32(queue_index), in gve_adminq_destroy_tx_queue()
597 static int gve_adminq_destroy_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_rx_queue() argument
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c430 u8 queue_index) in rtl92ee_rx_check_dma_ok() argument
458 u16 rtl92ee_rx_desc_buff_remained_cnt(struct ieee80211_hw *hw, u8 queue_index) in rtl92ee_rx_desc_buff_remained_cnt() argument
470 if (write_point != rtlpci->rx_ring[queue_index].next_rx_rp) { in rtl92ee_rx_desc_buff_remained_cnt()
490 rtlpci->rx_ring[queue_index].next_rx_rp = write_point; in rtl92ee_rx_desc_buff_remained_cnt()
495 static u16 get_desc_addr_fr_q_idx(u16 queue_index) in get_desc_addr_fr_q_idx() argument
499 switch (queue_index) { in get_desc_addr_fr_q_idx()
554 u8 *tx_bd_desc8, u8 *desc8, u8 queue_index, in rtl92ee_pre_fill_tx_bd_desc() argument
575 current_bd_desc = rtlpci->tx_ring[queue_index].cur_tx_wp; in rtl92ee_pre_fill_tx_bd_desc()
580 if (queue_index < BEACON_QUEUE) { in rtl92ee_pre_fill_tx_bd_desc()
595 desc_dma_addr = rtlpci->tx_ring[queue_index].dma + in rtl92ee_pre_fill_tx_bd_desc()
[all …]
Dtrx.h719 u8 queue_index);
721 u8 queue_index);
722 u16 rtl92ee_get_available_desc(struct ieee80211_hw *hw, u8 queue_index);
724 u8 *tx_bd_desc, u8 *desc, u8 queue_index,
/drivers/net/
Dtun.c137 u16 queue_index; member
162 int queue_index; member
382 u32 rxhash, u16 queue_index) in tun_flow_create() argument
389 rxhash, queue_index); in tun_flow_create()
393 e->queue_index = queue_index; in tun_flow_create()
404 e->rxhash, e->queue_index); in tun_flow_delete()
425 static void tun_flow_delete_by_queue(struct tun_struct *tun, u16 queue_index) in tun_flow_delete_by_queue() argument
435 if (e->queue_index == queue_index) in tun_flow_delete_by_queue()
480 u16 queue_index = tfile->queue_index; in tun_flow_update() local
489 if (READ_ONCE(e->queue_index) != queue_index) in tun_flow_update()
[all …]
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c44 tcb_desc->queue_index = TXCMD_QUEUE; in SendTxCommandPacket()
51 if (!priv->ieee80211->check_nic_enough_desc(dev, tcb_desc->queue_index) || in SendTxCommandPacket()
52 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index])) || in SendTxCommandPacket()
55 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in SendTxCommandPacket()
Dr819xU_firmware.c70 tcb_desc->queue_index = TXCMD_QUEUE; in fw_download_code()
89 index = tcb_desc->queue_index; in fw_download_code()
94 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in fw_download_code()
Dr8192U_core.c635 short check_nic_enough_desc(struct net_device *dev, int queue_index) in check_nic_enough_desc() argument
638 int used = atomic_read(&priv->tx_pending[queue_index]); in check_nic_enough_desc()
907 u8 queue_index = tcb_desc->queue_index; in rtl8192_hard_data_xmit() local
910 RTL8192U_ASSERT(queue_index != TXCMD_QUEUE); in rtl8192_hard_data_xmit()
933 u8 queue_index = tcb_desc->queue_index; in rtl8192_hard_start_xmit() local
938 if (queue_index == TXCMD_QUEUE) { in rtl8192_hard_start_xmit()
958 u8 queue_index; in rtl8192_tx_isr() local
965 queue_index = tcb_desc->queue_index; in rtl8192_tx_isr()
969 if (tcb_desc->queue_index != TXCMD_QUEUE) { in rtl8192_tx_isr()
985 atomic_dec(&priv->tx_pending[queue_index]); in rtl8192_tx_isr()
[all …]
/drivers/net/wireless/ralink/rt2x00/
Drt2x00queue.h394 enum queue_index { enum
581 enum queue_index start,
582 enum queue_index end,
Drt2x00dump.h109 __u8 queue_index; member
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c431 skb_record_rx_queue(skb, rx_ring->queue_index); in fm10k_type_trans()
911 netif_stop_subqueue(tx_ring->netdev, tx_ring->queue_index); in __fm10k_maybe_stop_tx()
921 netif_start_subqueue(tx_ring->netdev, tx_ring->queue_index); in __fm10k_maybe_stop_tx()
1287 tx_ring->queue_index, in fm10k_clean_tx_irq()
1293 tx_ring->queue_index); in fm10k_clean_tx_irq()
1298 tx_ring->queue_index); in fm10k_clean_tx_irq()
1318 tx_ring->queue_index) && in fm10k_clean_tx_irq()
1321 tx_ring->queue_index); in fm10k_clean_tx_irq()
1634 ring->queue_index = txr_idx; in fm10k_alloc_q_vector()
1664 ring->queue_index = rxr_idx; in fm10k_alloc_q_vector()
[all …]
Dfm10k_debugfs.c168 snprintf(name, sizeof(name), "tx_ring.%03d", ring->queue_index); in fm10k_dbg_q_vector_init()
179 snprintf(name, sizeof(name), "rx_ring.%03d", ring->queue_index); in fm10k_dbg_q_vector_init()
/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.h22 u8 ice_dcb_get_tc(struct ice_vsi *vsi, int queue_index);
77 int __always_unused queue_index) in ice_dcb_get_tc() argument
/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c537 tcb_desc->queue_index = BEACON_QUEUE; in _rtl92e_prepare_beacon()
1601 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_data_xmit() local
1609 if (queue_index == TXCMD_QUEUE) in _rtl92e_hard_data_xmit()
1617 if (queue_index != MGNT_QUEUE) { in _rtl92e_hard_data_xmit()
1633 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_start_xmit() local
1635 if (queue_index != TXCMD_QUEUE) { in _rtl92e_hard_start_xmit()
1644 if (queue_index == TXCMD_QUEUE) { in _rtl92e_hard_start_xmit()
1746 ring = &priv->tx_ring[tcb_desc->queue_index]; in _rtl92e_tx()
1747 if (tcb_desc->queue_index != BEACON_QUEUE) in _rtl92e_tx()
1753 if ((pdesc->OWN == 1) && (tcb_desc->queue_index != BEACON_QUEUE)) { in _rtl92e_tx()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c922 ring->queue_index = txr_idx; in ixgbe_alloc_q_vector()
948 ring->queue_index = xdp_idx; in ixgbe_alloc_q_vector()
992 ring->queue_index = rxr_idx; in ixgbe_alloc_q_vector()
1024 WRITE_ONCE(adapter->xdp_ring[ring->queue_index], NULL); in ixgbe_free_q_vector()
1026 WRITE_ONCE(adapter->tx_ring[ring->queue_index], NULL); in ixgbe_free_q_vector()
1030 WRITE_ONCE(adapter->rx_ring[ring->queue_index], NULL); in ixgbe_free_q_vector()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c694 txb->queue_index = UP2AC(skb->priority); in ieee80211_xmit()
696 txb->queue_index = WME_AC_BK; in ieee80211_xmit()
705 tcb_desc->queue_index = UP2AC(skb->priority); in ieee80211_xmit()
708 tcb_desc->queue_index = WME_AC_BK; in ieee80211_xmit()
/drivers/net/ethernet/microsoft/mana/
Dgdma.h482 u32 queue_index; member
600 u32 queue_index; member
607 u32 queue_index; member
/drivers/staging/rtl8192e/
Drtllib_softmac.c215 tcb_desc->queue_index = BEACON_QUEUE; in softmac_mgmt_xmit()
217 tcb_desc->queue_index = MGNT_QUEUE; in softmac_mgmt_xmit()
220 tcb_desc->queue_index = HIGH_QUEUE; in softmac_mgmt_xmit()
256 tcb_desc->queue_index) || in softmac_mgmt_xmit()
257 skb_queue_len(&ieee->skb_waitQ[tcb_desc->queue_index]) || in softmac_mgmt_xmit()
266 __func__, tcb_desc->queue_index); in softmac_mgmt_xmit()
267 skb_queue_tail(&ieee->skb_waitQ[tcb_desc->queue_index], in softmac_mgmt_xmit()
292 tcb_desc->queue_index = MGNT_QUEUE; in softmac_ps_mgmt_xmit()
294 tcb_desc->queue_index = HIGH_QUEUE; in softmac_ps_mgmt_xmit()
297 tcb_desc->queue_index = HIGH_QUEUE; in softmac_ps_mgmt_xmit()
[all …]
Drtllib_tx.c776 txb->queue_index = UP2AC(skb->priority); in rtllib_xmit_inter()
778 txb->queue_index = WME_AC_BE; in rtllib_xmit_inter()
786 tcb_desc->queue_index = UP2AC(skb->priority); in rtllib_xmit_inter()
789 tcb_desc->queue_index = WME_AC_BE; in rtllib_xmit_inter()
/drivers/misc/habanalabs/common/
Dcommand_submission.c990 if (chunk->queue_index >= asic->max_queues) { in validate_queue_index()
992 chunk->queue_index); in validate_queue_index()
996 hw_queue_prop = &asic->hw_queues_props[chunk->queue_index]; in validate_queue_index()
1000 chunk->queue_index); in validate_queue_index()
1007 chunk->queue_index); in validate_queue_index()
1019 chunk->queue_index); in validate_queue_index()
1029 chunk->queue_index); in validate_queue_index()
1342 chunk->queue_index); in cs_ioctl_default()
1362 job->hw_queue_id = chunk->queue_index; in cs_ioctl_default()
1971 if (chunk->queue_index >= hdev->asic_prop.max_queues) { in cs_ioctl_signal_wait()
[all …]
/drivers/net/ethernet/intel/igc/
Digc_dump.c170 tx_ring->queue_index); in igc_rings_dump()
250 rx_ring->queue_index); in igc_rings_dump()
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c52 u16 stride, int node, int queue_index) in mlx4_en_create_tx_ring() argument
135 ring->queue_index = queue_index; in mlx4_en_create_tx_ring()
137 if (queue_index < priv->num_tx_rings_p_up) in mlx4_en_create_tx_ring()
138 cpumask_set_cpu(cpumask_local_spread(queue_index, in mlx4_en_create_tx_ring()
212 ring->queue_index); in mlx4_en_activate_tx_ring()
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c48 netif_stop_subqueue(pdata->netdev, channel->queue_index); in xlgmac_maybe_stop_tx_queue()
480 channel->queue_index); in xlgmac_request_irqs()
608 txq = netdev_get_tx_queue(netdev, channel->queue_index); in xlgmac_stop()
717 txq = netdev_get_tx_queue(netdev, channel->queue_index); in xlgmac_xmit()
1060 txq = netdev_get_tx_queue(netdev, channel->queue_index); in xlgmac_tx_poll()
1258 skb_record_rx_queue(skb, channel->queue_index); in xlgmac_rx_poll()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1045 tx_ring->queue_index) && in i40e_clean_tx_irq()
1048 tx_ring->queue_index); in i40e_clean_tx_irq()
1596 rx_ring->queue_index, rx_ring->q_vector->napi.napi_id); in i40e_setup_rx_descriptors()
1933 skb_record_rx_queue(skb, rx_ring->queue_index); in i40e_process_skb_fields()
2310 xdp_ring = rx_ring->vsi->xdp_rings[rx_ring->queue_index]; in i40e_run_xdp()
2406 rx_ring->vsi->xdp_rings[rx_ring->queue_index]; in i40e_finalize_xdp_rx()
2879 flex_ptype = (tx_ring->queue_index << I40E_TXD_FLTR_QW0_QINDEX_SHIFT) & in i40e_atr()
3369 netif_stop_subqueue(tx_ring->netdev, tx_ring->queue_index); in __i40e_maybe_stop_tx()
3378 netif_start_subqueue(tx_ring->netdev, tx_ring->queue_index); in __i40e_maybe_stop_tx()
3892 unsigned int queue_index = smp_processor_id(); in i40e_xdp_xmit() local
[all …]

1234