Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_main.c1962 if (edev->ndev->rx_cpu_rmap && (fp->type & QEDE_FASTPATH_RX)) { in qede_req_msix_irqs()
1963 rc = irq_cpu_rmap_add(edev->ndev->rx_cpu_rmap, in qede_req_msix_irqs()
1977 if (edev->ndev->rx_cpu_rmap) in qede_req_msix_irqs()
1978 free_irq_cpu_rmap(edev->ndev->rx_cpu_rmap); in qede_req_msix_irqs()
1980 edev->ndev->rx_cpu_rmap = NULL; in qede_req_msix_irqs()
2377 if (edev->ndev->rx_cpu_rmap) in qede_unload()
2378 free_irq_cpu_rmap(edev->ndev->rx_cpu_rmap); in qede_unload()
2380 edev->ndev->rx_cpu_rmap = NULL; in qede_unload()
H A 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()
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_main.c1430 free_irq_cpu_rmap(enic->netdev->rx_cpu_rmap); in enic_free_rx_cpu_rmap()
1431 enic->netdev->rx_cpu_rmap = NULL; in enic_free_rx_cpu_rmap()
1439 enic->netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(enic->rq_count); in enic_set_rx_cpu_rmap()
1440 if (unlikely(!enic->netdev->rx_cpu_rmap)) in enic_set_rx_cpu_rmap()
1443 res = irq_cpu_rmap_add(enic->netdev->rx_cpu_rmap, in enic_set_rx_cpu_rmap()
/linux/net/core/
H A Ddev.c5109 if (!skb_rx_queue_recorded(skb) || !dev->rx_cpu_rmap || in set_rps_cpu()
5112 rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); in set_rps_cpu()
7382 struct cpu_rmap *rmap = napi->dev->rx_cpu_rmap; in netif_napi_irq_notify()
7404 struct cpu_rmap *rmap = napi->dev->rx_cpu_rmap; in netif_napi_affinity_release()
7422 dev->rx_cpu_rmap = alloc_irq_cpu_rmap(num_irqs); in netif_enable_cpu_rmap()
7423 if (!dev->rx_cpu_rmap) in netif_enable_cpu_rmap()
7433 struct cpu_rmap *rmap = dev->rx_cpu_rmap; in netif_del_cpu_rmap()
7440 dev->rx_cpu_rmap = NULL; in netif_del_cpu_rmap()
7499 rc = cpu_rmap_add(napi->dev->rx_cpu_rmap, napi); in netif_napi_set_irq_locked()
7503 cpu_rmap_get(napi->dev->rx_cpu_rmap); in netif_napi_set_irq_locked()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c689 free_irq_cpu_rmap(netdev->rx_cpu_rmap); in hns3_free_rx_cpu_rmap()
690 netdev->rx_cpu_rmap = NULL; in hns3_free_rx_cpu_rmap()
701 if (!netdev->rx_cpu_rmap) { in hns3_set_rx_cpu_rmap()
702 netdev->rx_cpu_rmap = alloc_irq_cpu_rmap(priv->vector_num); in hns3_set_rx_cpu_rmap()
703 if (!netdev->rx_cpu_rmap) in hns3_set_rx_cpu_rmap()
709 ret = irq_cpu_rmap_add(netdev->rx_cpu_rmap, in hns3_set_rx_cpu_rmap()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c2131 priv->dev->rx_cpu_rmap = NULL; in mlx4_en_free_resources()
2192 priv->dev->rx_cpu_rmap = mlx4_get_cpu_rmap(priv->mdev->dev, priv->port); in mlx4_en_alloc_resources()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c11365 dev->rx_cpu_rmap = alloc_irq_cpu_rmap(bp->rx_nr_rings); in bnxt_set_real_num_queues()
11799 if (irq->bp->dev->rx_cpu_rmap && irq->ring_nr < irq->bp->rx_nr_rings) { in bnxt_irq_affinity_notify()
11802 err = cpu_rmap_update(irq->bp->dev->rx_cpu_rmap, irq->ring_nr, in bnxt_irq_affinity_notify()
11926 free_irq_cpu_rmap(bp->dev->rx_cpu_rmap); in bnxt_free_irq()
11927 bp->dev->rx_cpu_rmap = NULL; in bnxt_free_irq()
11945 rmap = bp->dev->rx_cpu_rmap; in bnxt_request_irq()
/linux/include/linux/
H A Dnetdevice.h2413 struct cpu_rmap *rx_cpu_rmap; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6136 priv->netdev->rx_cpu_rmap = mlx5_eq_table_get_rmap(priv->mdev); in mlx5e_init_nic_rx()