Home
last modified time | relevance | path

Searched refs:r_idx (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpearl_pcie.c716 u16 r_idx; in qtnf_pcie_pearl_rx_poll() local
724 r_idx = priv->rx_bd_r_index; in qtnf_pcie_pearl_rx_poll()
725 rxbd = &ps->rx_bd_vbase[r_idx]; in qtnf_pcie_pearl_rx_poll()
728 skb = priv->rx_skb[r_idx]; in qtnf_pcie_pearl_rx_poll()
733 pr_warn("skip invalid rxbd[%d]\n", r_idx); in qtnf_pcie_pearl_rx_poll()
738 pr_warn("skip missing rx_skb[%d]\n", r_idx); in qtnf_pcie_pearl_rx_poll()
774 priv->rx_skb[r_idx] = NULL; in qtnf_pcie_pearl_rx_poll()
775 if (++r_idx >= priv->rx_bd_num) in qtnf_pcie_pearl_rx_poll()
776 r_idx = 0; in qtnf_pcie_pearl_rx_poll()
778 priv->rx_bd_r_index = r_idx; in qtnf_pcie_pearl_rx_poll()
Dtopaz_pcie.c621 u16 r_idx; in qtnf_topaz_rx_poll() local
629 r_idx = priv->rx_bd_r_index; in qtnf_topaz_rx_poll()
630 rxbd = &ts->rx_bd_vbase[r_idx]; in qtnf_topaz_rx_poll()
633 skb = priv->rx_skb[r_idx]; in qtnf_topaz_rx_poll()
639 pr_warn("skip invalid rxbd[%d]\n", r_idx); in qtnf_topaz_rx_poll()
644 pr_warn("skip missing rx_skb[%d]\n", r_idx); in qtnf_topaz_rx_poll()
685 priv->rx_skb[r_idx] = NULL; in qtnf_topaz_rx_poll()
686 if (++r_idx >= priv->rx_bd_num) in qtnf_topaz_rx_poll()
687 r_idx = 0; in qtnf_topaz_rx_poll()
689 priv->rx_bd_r_index = r_idx; in qtnf_topaz_rx_poll()
/linux-6.1.9/tools/perf/bench/
Dmem-functions.c118 static void __bench_mem_function(struct bench_mem_info *info, int r_idx, size_t size, double size_t… in __bench_mem_function() argument
120 const struct function *r = &info->functions[r_idx]; in __bench_mem_function()
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c514 unsigned int r_idx = skb->queue_mapping; in fm10k_xmit_frame() local
572 if (r_idx >= num_tx_queues) in fm10k_xmit_frame()
573 r_idx %= num_tx_queues; in fm10k_xmit_frame()
575 err = fm10k_xmit_frame_ring(skb, interface->tx_ring[r_idx]); in fm10k_xmit_frame()
/linux-6.1.9/drivers/net/ethernet/atheros/alx/
Dmain.c145 unsigned int r_idx = skb->queue_mapping; in alx_tx_queue_mapping() local
147 if (r_idx >= alx->num_txq) in alx_tx_queue_mapping()
148 r_idx = r_idx % alx->num_txq; in alx_tx_queue_mapping()
150 return alx->qnapi[r_idx]->txq; in alx_tx_queue_mapping()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c2904 unsigned int r_idx = smp_processor_id(); in igb_xdp_tx_queue_mapping() local
2906 if (r_idx >= adapter->num_tx_queues) in igb_xdp_tx_queue_mapping()
2907 r_idx = r_idx % adapter->num_tx_queues; in igb_xdp_tx_queue_mapping()
2909 return adapter->tx_ring[r_idx]; in igb_xdp_tx_queue_mapping()
6468 unsigned int r_idx = skb->queue_mapping; in igb_tx_queue_mapping() local
6470 if (r_idx >= adapter->num_tx_queues) in igb_tx_queue_mapping()
6471 r_idx = r_idx % adapter->num_tx_queues; in igb_tx_queue_mapping()
6473 return adapter->tx_ring[r_idx]; in igb_tx_queue_mapping()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c1615 unsigned int r_idx = skb->queue_mapping; in igc_tx_queue_mapping() local
1617 if (r_idx >= adapter->num_tx_queues) in igc_tx_queue_mapping()
1618 r_idx = r_idx % adapter->num_tx_queues; in igc_tx_queue_mapping()
1620 return adapter->tx_ring[r_idx]; in igc_tx_queue_mapping()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_main.c442 iavf_map_vector_to_rxq(struct iavf_adapter *adapter, int v_idx, int r_idx) in iavf_map_vector_to_rxq() argument
445 struct iavf_ring *rx_ring = &adapter->rx_rings[r_idx]; in iavf_map_vector_to_rxq()
455 q_vector->ring_mask |= BIT(r_idx); in iavf_map_vector_to_rxq()
/linux-6.1.9/drivers/scsi/elx/libefc_sli/
Dsli4.c1290 qe += q->u.r_idx * q->size; in sli_mq_read()
1293 if (q->index == q->u.r_idx) { in sli_mq_read()
1299 q->u.r_idx = (q->u.r_idx + 1) & (q->length - 1); in sli_mq_read()
Dsli4.h3543 u32 r_idx; /* "read" index (MQ only) */ member