Home
last modified time | relevance | path

Searched refs:rx_cpu_rmap (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dnic.c96 efx->net_dev->rx_cpu_rmap = in ef4_nic_init_interrupt()
98 if (!efx->net_dev->rx_cpu_rmap) { in ef4_nic_init_interrupt()
122 rc = irq_cpu_rmap_add(efx->net_dev->rx_cpu_rmap, in ef4_nic_init_interrupt()
134 free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); in ef4_nic_init_interrupt()
135 efx->net_dev->rx_cpu_rmap = NULL; in ef4_nic_init_interrupt()
151 free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); in ef4_nic_fini_interrupt()
152 efx->net_dev->rx_cpu_rmap = NULL; in ef4_nic_fini_interrupt()
/Linux-v5.10/drivers/net/ethernet/sfc/
Dnic.c98 efx->net_dev->rx_cpu_rmap = in efx_nic_init_interrupt()
100 if (!efx->net_dev->rx_cpu_rmap) { in efx_nic_init_interrupt()
124 rc = irq_cpu_rmap_add(efx->net_dev->rx_cpu_rmap, in efx_nic_init_interrupt()
137 free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); in efx_nic_init_interrupt()
138 efx->net_dev->rx_cpu_rmap = NULL; in efx_nic_init_interrupt()
154 free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); in efx_nic_fini_interrupt()
155 efx->net_dev->rx_cpu_rmap = NULL; in efx_nic_fini_interrupt()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_arfs.c584 if (!netdev || !netdev->rx_cpu_rmap || in ice_free_cpu_rx_rmap()
588 free_irq_cpu_rmap(netdev->rx_cpu_rmap); in ice_free_cpu_rx_rmap()
589 netdev->rx_cpu_rmap = NULL; in ice_free_cpu_rx_rmap()
614 netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(vsi->num_q_vectors); in ice_set_cpu_rx_rmap()
615 if (unlikely(!netdev->rx_cpu_rmap)) in ice_set_cpu_rx_rmap()
620 if (irq_cpu_rmap_add(netdev->rx_cpu_rmap, in ice_set_cpu_rx_rmap()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c336 edev->ndev->rx_cpu_rmap = alloc_irq_cpu_rmap(QEDE_RSS_COUNT(edev)); in qede_alloc_arfs()
337 if (!edev->ndev->rx_cpu_rmap) { in qede_alloc_arfs()
354 if (edev->ndev->rx_cpu_rmap) in qede_free_arfs()
355 free_irq_cpu_rmap(edev->ndev->rx_cpu_rmap); in qede_free_arfs()
357 edev->ndev->rx_cpu_rmap = NULL; in qede_free_arfs()
Dqede_main.c1882 if (edev->ndev->rx_cpu_rmap && (fp->type & QEDE_FASTPATH_RX)) { in qede_req_msix_irqs()
1883 rc = irq_cpu_rmap_add(edev->ndev->rx_cpu_rmap, in qede_req_msix_irqs()
/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c582 adapter->netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(adapter->num_io_queues); in ena_init_rx_cpu_rmap()
583 if (!adapter->netdev->rx_cpu_rmap) in ena_init_rx_cpu_rmap()
588 rc = irq_cpu_rmap_add(adapter->netdev->rx_cpu_rmap, in ena_init_rx_cpu_rmap()
591 free_irq_cpu_rmap(adapter->netdev->rx_cpu_rmap); in ena_init_rx_cpu_rmap()
592 adapter->netdev->rx_cpu_rmap = NULL; in ena_init_rx_cpu_rmap()
2121 free_irq_cpu_rmap(adapter->netdev->rx_cpu_rmap); in ena_free_io_irq()
2122 adapter->netdev->rx_cpu_rmap = NULL; in ena_free_io_irq()
4372 if ((adapter->msix_vecs >= 1) && (netdev->rx_cpu_rmap)) { in __ena_shutoff()
4373 free_irq_cpu_rmap(netdev->rx_cpu_rmap); in __ena_shutoff()
4374 netdev->rx_cpu_rmap = NULL; in __ena_shutoff()
/Linux-v5.10/drivers/net/ethernet/cisco/enic/
Denic_main.c1564 free_irq_cpu_rmap(enic->netdev->rx_cpu_rmap); in enic_free_rx_cpu_rmap()
1565 enic->netdev->rx_cpu_rmap = NULL; in enic_free_rx_cpu_rmap()
1573 enic->netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(enic->rq_count); in enic_set_rx_cpu_rmap()
1574 if (unlikely(!enic->netdev->rx_cpu_rmap)) in enic_set_rx_cpu_rmap()
1577 res = irq_cpu_rmap_add(enic->netdev->rx_cpu_rmap, in enic_set_rx_cpu_rmap()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c347 free_irq_cpu_rmap(netdev->rx_cpu_rmap); in hns3_free_rx_cpu_rmap()
348 netdev->rx_cpu_rmap = NULL; in hns3_free_rx_cpu_rmap()
359 if (!netdev->rx_cpu_rmap) { in hns3_set_rx_cpu_rmap()
360 netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(priv->vector_num); in hns3_set_rx_cpu_rmap()
361 if (!netdev->rx_cpu_rmap) in hns3_set_rx_cpu_rmap()
367 ret = irq_cpu_rmap_add(netdev->rx_cpu_rmap, in hns3_set_rx_cpu_rmap()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2113 priv->dev->rx_cpu_rmap = NULL; in mlx4_en_free_resources()
2174 priv->dev->rx_cpu_rmap = mlx4_get_cpu_rmap(priv->mdev->dev, priv->port); in mlx4_en_alloc_resources()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c8354 dev->rx_cpu_rmap = alloc_irq_cpu_rmap(bp->rx_nr_rings); in bnxt_set_real_num_queues()
8680 free_irq_cpu_rmap(bp->dev->rx_cpu_rmap); in bnxt_free_irq()
8681 bp->dev->rx_cpu_rmap = NULL; in bnxt_free_irq()
8718 rmap = bp->dev->rx_cpu_rmap; in bnxt_request_irq()
/Linux-v5.10/include/linux/
Dnetdevice.h2047 struct cpu_rmap *rx_cpu_rmap; member
/Linux-v5.10/net/core/
Ddev.c4275 if (!skb_rx_queue_recorded(skb) || !dev->rx_cpu_rmap || in set_rps_cpu()
4278 rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); in set_rps_cpu()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c5143 priv->netdev->rx_cpu_rmap = mlx5_eq_table_get_rmap(priv->mdev); in mlx5e_init_nic_rx()