Home
last modified time | relevance | path

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

12345

/linux-6.12.1/drivers/net/xen-netback/
Dinterface.c308 unsigned int queue_index; in xenvif_up() local
310 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_up()
311 queue = &vif->queues[queue_index]; in xenvif_up()
324 unsigned int queue_index; in xenvif_down() local
326 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_down()
327 queue = &vif->queues[queue_index]; in xenvif_down()
432 unsigned int queue_index; in xenvif_get_ethtool_stats() local
439 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_get_ethtool_stats()
440 void *vif_stats = &vif->queues[queue_index].stats; in xenvif_get_ethtool_stats()
806 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 …]
/linux-6.12.1/include/trace/events/
Dnet.h102 int queue_index),
104 TP_ARGS(dev, queue_index),
109 __field( int, queue_index )
115 __entry->queue_index = queue_index;
119 __get_str(name), __get_str(driver), __entry->queue_index)
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_adminq.c669 static int gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_tx_queue() argument
671 struct gve_tx_ring *tx = &priv->tx[queue_index]; in gve_adminq_create_tx_queue()
677 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
723 u32 queue_index) in gve_adminq_get_create_rx_queue_cmd() argument
725 struct gve_rx_ring *rx = &priv->rx[queue_index]; in gve_adminq_get_create_rx_queue_cmd()
730 .queue_id = cpu_to_be32(queue_index), in gve_adminq_get_create_rx_queue_cmd()
744 cmd->create_rx_queue.index = cpu_to_be32(queue_index); in gve_adminq_get_create_rx_queue_cmd()
771 static int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_rx_queue() argument
775 gve_adminq_get_create_rx_queue_cmd(priv, &cmd, queue_index); in gve_adminq_create_rx_queue()
780 int gve_adminq_create_single_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_single_rx_queue() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/engleder/
Dtsnep_xdp.c32 if (queue->rx->queue_index != queue_id || in tsnep_xdp_enable_pool()
33 queue->tx->queue_index != queue_id) { in tsnep_xdp_enable_pool()
Dtsnep.h58 int queue_index; member
83 int queue_index; member
118 int queue_index; member
Dtsnep_rxnfc.c15 rx_assign |= (rule->queue_index << TSNEP_RX_ASSIGN_QUEUE_SHIFT) & in tsnep_enable_rule()
112 fsp->ring_cookie = rule->queue_index; in tsnep_rxnfc_get_rule()
176 rule->queue_index = fsp->ring_cookie; in tsnep_rxnfc_init_rule()
Dtsnep_main.c350 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_enable()
362 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_disable()
575 netif_stop_subqueue(tx->adapter->netdev, tx->queue_index); in tsnep_xmit_frame_ring()
612 netif_stop_subqueue(tx->adapter->netdev, tx->queue_index); in tsnep_xmit_frame_ring()
820 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_poll()
910 nq = netdev_get_tx_queue(tx->adapter->netdev, tx->queue_index); in tsnep_tx_pending()
1399 skb_record_rx_queue(skb, rx->queue_index); in tsnep_build_skb()
1856 name, queue->rx->queue_index); in tsnep_request_irq()
1859 name, queue->tx->queue_index); in tsnep_request_irq()
1862 name, queue->rx->queue_index); in tsnep_request_irq()
[all …]
/linux-6.12.1/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()
555 u8 queue_index, in rtl92ee_pre_fill_tx_bd_desc() argument
577 current_bd_desc = rtlpci->tx_ring[queue_index].cur_tx_wp; in rtl92ee_pre_fill_tx_bd_desc()
582 if (queue_index < BEACON_QUEUE) { in rtl92ee_pre_fill_tx_bd_desc()
597 desc_dma_addr = rtlpci->tx_ring[queue_index].dma + in rtl92ee_pre_fill_tx_bd_desc()
[all …]
/linux-6.12.1/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c1138 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_data_xmit() local
1145 if (queue_index == TXCMD_QUEUE) in _rtl92e_hard_data_xmit()
1153 if (queue_index != MGNT_QUEUE) { in _rtl92e_hard_data_xmit()
1169 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_start_xmit() local
1171 if (queue_index != TXCMD_QUEUE) { in _rtl92e_hard_start_xmit()
1180 if (queue_index == TXCMD_QUEUE) { in _rtl92e_hard_start_xmit()
1269 ring = &priv->tx_ring[tcb_desc->queue_index]; in _rtl92e_tx()
1270 if (tcb_desc->queue_index != BEACON_QUEUE) in _rtl92e_tx()
1276 if ((pdesc->OWN == 1) && (tcb_desc->queue_index != BEACON_QUEUE)) { in _rtl92e_tx()
1279 tcb_desc->queue_index, ring->idx, idx, skb->len, in _rtl92e_tx()
[all …]
/linux-6.12.1/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
/linux-6.12.1/samples/bpf/
Dhbm_edt_kern.c61 unsigned int queue_index = 0; in _hbm_out_cg() local
71 qsp = bpf_map_lookup_elem(&queue_stats, &queue_index); in _hbm_out_cg()
Dhbm_out_kern.c62 unsigned int queue_index = 0; in _hbm_out_cg() local
75 qsp = bpf_map_lookup_elem(&queue_stats, &queue_index); in _hbm_out_cg()
/linux-6.12.1/drivers/net/
Dtun.c139 u16 queue_index; member
164 int queue_index; member
383 u32 rxhash, u16 queue_index) in tun_flow_create() argument
390 rxhash, queue_index); in tun_flow_create()
394 e->queue_index = queue_index; in tun_flow_create()
405 e->rxhash, e->queue_index); in tun_flow_delete()
426 static void tun_flow_delete_by_queue(struct tun_struct *tun, u16 queue_index) in tun_flow_delete_by_queue() argument
436 if (e->queue_index == queue_index) in tun_flow_delete_by_queue()
481 u16 queue_index = tfile->queue_index; in tun_flow_update() local
490 if (READ_ONCE(e->queue_index) != queue_index) in tun_flow_update()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_dcb_lib.h22 u8 ice_dcb_get_tc(struct ice_vsi *vsi, int queue_index);
87 int __always_unused queue_index) in ice_dcb_get_tc() argument
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c430 skb_record_rx_queue(skb, rx_ring->queue_index); in fm10k_type_trans()
910 netif_stop_subqueue(tx_ring->netdev, tx_ring->queue_index); in __fm10k_maybe_stop_tx()
920 netif_start_subqueue(tx_ring->netdev, tx_ring->queue_index); in __fm10k_maybe_stop_tx()
1286 tx_ring->queue_index, in fm10k_clean_tx_irq()
1292 tx_ring->queue_index); in fm10k_clean_tx_irq()
1297 tx_ring->queue_index); in fm10k_clean_tx_irq()
1317 tx_ring->queue_index) && in fm10k_clean_tx_irq()
1320 tx_ring->queue_index); in fm10k_clean_tx_irq()
1632 ring->queue_index = txr_idx; in fm10k_alloc_q_vector()
1662 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()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dtrx.c28 static enum rtl_desc_qsel _rtl92du_hwq_to_descq(u16 queue_index) in _rtl92du_hwq_to_descq() argument
30 switch (queue_index) { in _rtl92du_hwq_to_descq()
66 u8 queue_index, in rtl92du_tx_fill_desc() argument
177 set_tx_desc_queue_sel(txdesc, _rtl92du_hwq_to_descq(queue_index)); in rtl92du_tx_fill_desc()
/linux-6.12.1/include/net/
Dxdp.h62 u32 queue_index; member
335 struct net_device *dev, u32 queue_index,
339 struct net_device *dev, u32 queue_index, in xdp_rxq_info_reg() argument
342 return __xdp_rxq_info_reg(xdp_rxq, dev, queue_index, napi_id, 0); in xdp_rxq_info_reg()
/linux-6.12.1/drivers/staging/rtl8192e/
Drtllib_softmac.c197 tcb_desc->queue_index = BEACON_QUEUE; in softmac_mgmt_xmit()
199 tcb_desc->queue_index = MGNT_QUEUE; in softmac_mgmt_xmit()
202 tcb_desc->queue_index = HIGH_QUEUE; in softmac_mgmt_xmit()
238 tcb_desc->queue_index) || in softmac_mgmt_xmit()
239 skb_queue_len(&ieee->skb_waitq[tcb_desc->queue_index]) || in softmac_mgmt_xmit()
248 __func__, tcb_desc->queue_index); in softmac_mgmt_xmit()
249 skb_queue_tail(&ieee->skb_waitq[tcb_desc->queue_index], in softmac_mgmt_xmit()
273 tcb_desc->queue_index = MGNT_QUEUE; in softmac_ps_mgmt_xmit()
275 tcb_desc->queue_index = HIGH_QUEUE; in softmac_ps_mgmt_xmit()
278 tcb_desc->queue_index = HIGH_QUEUE; in softmac_ps_mgmt_xmit()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_xdp_bpf2bpf.c20 __u32 queue_index; member
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c924 ring->queue_index = txr_idx; in ixgbe_alloc_q_vector()
950 ring->queue_index = xdp_idx; in ixgbe_alloc_q_vector()
995 ring->queue_index = rxr_idx; in ixgbe_alloc_q_vector()
1027 WRITE_ONCE(adapter->xdp_ring[ring->queue_index], NULL); in ixgbe_free_q_vector()
1029 WRITE_ONCE(adapter->tx_ring[ring->queue_index], NULL); in ixgbe_free_q_vector()
1033 WRITE_ONCE(adapter->rx_ring[ring->queue_index], NULL); in ixgbe_free_q_vector()
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h250 u16 queue_index; /* Queue number of ring */ member
400 return netdev_get_tx_queue(ring->netdev, ring->queue_index); in txring_txq()
/linux-6.12.1/include/linux/
Dif_tap.h70 u16 queue_index; member

12345