Home
last modified time | relevance | path

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

123456

/openbmc/linux/drivers/net/xen-netback/
H A 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()
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()
803 unsigned int queue_index; in xenvif_disconnect_data() local
807 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_disconnect_data()
844 unsigned int queue_index; in xenvif_free() local
[all …]
H A Dxenbus.c256 unsigned int queue_index; in backend_disconnect() local
270 for (queue_index = 0; queue_index < num_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()
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()
790 be->vif->num_queues = queue_index; in connect()
806 be->vif->num_queues = queue_index; in connect()
[all …]
/openbmc/qemu/backends/
H A Dcryptodev-vhost-user.c204 cc->queue_index = i; in cryptodev_vhost_user_init()
238 uint32_t queue_index, Error **errp) in cryptodev_vhost_user_crypto_create_session() argument
241 backend->conf.peers.ccs[queue_index]; in cryptodev_vhost_user_crypto_create_session()
246 vhost_crypto = cryptodev_vhost_user_get_vhost(cc, backend, queue_index); in cryptodev_vhost_user_crypto_create_session()
264 uint32_t queue_index, in cryptodev_vhost_user_create_session() argument
280 queue_index, &local_error); in cryptodev_vhost_user_create_session()
307 uint32_t queue_index, in cryptodev_vhost_user_close_session() argument
312 backend->conf.peers.ccs[queue_index]; in cryptodev_vhost_user_close_session()
316 vhost_crypto = cryptodev_vhost_user_get_vhost(cc, backend, queue_index); in cryptodev_vhost_user_close_session()
/openbmc/qemu/include/sysemu/
H A Dcryptodev.h183 uint32_t queue_index; member
202 uint32_t queue_index,
208 uint32_t queue_index,
219 unsigned int queue_index; member
366 uint32_t queue_index,
388 uint32_t queue_index,
/openbmc/linux/include/trace/events/
H A 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)
/openbmc/linux/drivers/net/ethernet/engleder/
H A 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()
H A Dtsnep.h58 int queue_index; member
83 int queue_index; member
118 int queue_index; member
H A 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()
H A Dtsnep_main.c1338 skb_record_rx_queue(skb, rx->queue_index); in tsnep_build_skb()
1804 name, queue->rx->queue_index); in tsnep_request_irq()
1807 name, queue->tx->queue_index); in tsnep_request_irq()
1810 name, queue->rx->queue_index); in tsnep_request_irq()
1868 rx->tx_queue_index = tx->queue_index; in tsnep_queue_open()
1870 rx->tx_queue_index = rx->queue_index; in tsnep_queue_open()
1879 rx->queue_index, queue->napi.napi_id); in tsnep_queue_open()
2440 adapter->queue[0].tx->queue_index = 0; in tsnep_queue_init()
2444 adapter->queue[0].rx->queue_index = 0; in tsnep_queue_init()
2471 adapter->queue[i].tx->queue_index = i; in tsnep_queue_init()
[all …]
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c506 static int gve_adminq_create_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_tx_queue() argument
508 struct gve_tx_ring *tx = &priv->tx[queue_index]; in gve_adminq_create_tx_queue()
514 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_tx_queue()
564 static int gve_adminq_create_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_create_rx_queue() argument
566 struct gve_rx_ring *rx = &priv->rx[queue_index]; in gve_adminq_create_rx_queue()
572 .queue_id = cpu_to_be32(queue_index), in gve_adminq_create_rx_queue()
585 cmd.create_rx_queue.index = cpu_to_be32(queue_index); in gve_adminq_create_rx_queue()
632 static int gve_adminq_destroy_tx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_tx_queue() argument
640 .queue_id = cpu_to_be32(queue_index), in gve_adminq_destroy_tx_queue()
664 static int gve_adminq_destroy_rx_queue(struct gve_priv *priv, u32 queue_index) in gve_adminq_destroy_rx_queue() argument
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A 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 …]
/openbmc/linux/samples/bpf/
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.h394 enum queue_index { enum
581 enum queue_index start,
582 enum queue_index end,
H A Drt2x00dump.h109 __u8 queue_index; member
/openbmc/linux/drivers/staging/rtl8192u/
H A 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()
H A 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()
/openbmc/linux/drivers/net/
H A Dtun.c137 u16 queue_index; member
162 int queue_index; member
388 rxhash, queue_index); in tun_flow_create()
392 e->queue_index = queue_index; in tun_flow_create()
434 if (e->queue_index == queue_index) in tun_flow_delete_by_queue()
479 u16 queue_index = tfile->queue_index; in tun_flow_update() local
488 if (READ_ONCE(e->queue_index) != queue_index) in tun_flow_update()
489 WRITE_ONCE(e->queue_index, queue_index); in tun_flow_update()
535 txq = e->queue_index; in tun_automq_select_queue()
804 if (tfile->xdp_rxq.queue_index != tfile->queue_index) in tun_attach()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A 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
/openbmc/qemu/hw/net/
H A Dmv88w8618_eth.c190 static void eth_send(mv88w8618_eth_state *s, int queue_index) in eth_send() argument
192 uint32_t desc_addr = s->tx_queue[queue_index]; in eth_send()
209 s->icr |= 1 << (MP_ETH_IRQ_TXLO_BIT - queue_index); in eth_send()
213 } while (desc_addr != s->tx_queue[queue_index]); in eth_send()
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_core.c467 tcb_desc->queue_index = BEACON_QUEUE; in _rtl92e_prepare_beacon()
1375 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_data_xmit() local
1383 if (queue_index == TXCMD_QUEUE) in _rtl92e_hard_data_xmit()
1391 if (queue_index != MGNT_QUEUE) { in _rtl92e_hard_data_xmit()
1407 u8 queue_index = tcb_desc->queue_index; in _rtl92e_hard_start_xmit() local
1409 if (queue_index != TXCMD_QUEUE) { in _rtl92e_hard_start_xmit()
1418 if (queue_index == TXCMD_QUEUE) { in _rtl92e_hard_start_xmit()
1508 if (tcb_desc->queue_index != BEACON_QUEUE) in _rtl92e_tx()
1827 int queue_index; in _rtl92e_tx_resume() local
1829 for (queue_index = BK_QUEUE; in _rtl92e_tx_resume()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A 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()
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()
1633 ring->queue_index = txr_idx; in fm10k_alloc_q_vector()
1663 ring->queue_index = rxr_idx; in fm10k_alloc_q_vector()
1698 interface->tx_ring[ring->queue_index] = NULL; in fm10k_free_q_vector()
[all …]
/openbmc/linux/include/net/
H A 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()
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c67 static inline int virtio_crypto_vq2q(int queue_index) in virtio_crypto_vq2q() argument
69 return queue_index; in virtio_crypto_vq2q()
120 int queue_index; in virtio_crypto_create_sym_session() local
191 queue_index = virtio_crypto_vq2q(queue_id); in virtio_crypto_create_sym_session()
193 queue_index, sreq->cb, sreq); in virtio_crypto_create_sym_session()
205 int queue_index; in virtio_crypto_create_asym_session() local
246 queue_index = virtio_crypto_vq2q(queue_id); in virtio_crypto_create_asym_session()
248 queue_index, sreq->cb, sreq); in virtio_crypto_create_asym_session()
824 int queue_index = virtio_crypto_vq2q(virtio_get_queue_index(request->vq)); in virtio_crypto_handle_request() local
880 op_info->queue_index = queue_index; in virtio_crypto_handle_request()
/openbmc/qemu/include/net/
H A Dnet.h108 unsigned int queue_index; member
160 NetClientState *qemu_get_subqueue(NICState *nic, int queue_index);
265 NetClientState *qemu_get_peer(NetClientState *nc, int queue_index);

123456