Home
last modified time | relevance | path

Searched refs:numa_node (Results 1 – 25 of 122) sorted by relevance

12345

/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Daso.c45 static int mlx5_aso_alloc_cq(struct mlx5_core_dev *mdev, int numa_node, in mlx5_aso_alloc_cq() argument
53 param.buf_numa_node = numa_node; in mlx5_aso_alloc_cq()
54 param.db_numa_node = numa_node; in mlx5_aso_alloc_cq()
136 err = mlx5_aso_alloc_cq(mdev, numa_node, cqc_data, cq); in mlx5_aso_create_cq()
158 static int mlx5_aso_alloc_sq(struct mlx5_core_dev *mdev, int numa_node, in mlx5_aso_alloc_sq() argument
168 param.db_numa_node = numa_node; in mlx5_aso_alloc_sq()
169 param.buf_numa_node = numa_node; in mlx5_aso_alloc_sq()
284 err = mlx5_aso_alloc_sq(mdev, numa_node, sqc_data, sq); in mlx5_aso_create_sq()
310 int numa_node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5_aso_create() local
318 err = mlx5_aso_create_cq(mdev, numa_node, &aso->cq); in mlx5_aso_create()
[all …]
/drivers/dax/
A Dkmem.c76 int numa_node; in dev_dax_kmem_probe() local
85 numa_node = dev_dax->target_node; in dev_dax_kmem_probe()
86 if (numa_node < 0) { in dev_dax_kmem_probe()
88 numa_node); in dev_dax_kmem_probe()
92 mt_calc_adistance(numa_node, &adist); in dev_dax_kmem_probe()
121 init_node_memory_type(numa_node, mtype); in dev_dax_kmem_probe()
132 rc = memory_group_register_static(numa_node, PFN_UP(total_len)); in dev_dax_kmem_probe()
204 clear_node_memory_type(numa_node, mtype); in dev_dax_kmem_probe()
/drivers/virt/nitro_enclaves/
A Dne_misc_dev.c124 int numa_node; member
186 int numa_node = -1; in ne_setup_cpu_pool() local
228 if (numa_node < 0) { in ne_setup_cpu_pool()
229 numa_node = cpu_to_node(cpu); in ne_setup_cpu_pool()
230 if (numa_node < 0) { in ne_setup_cpu_pool()
239 if (numa_node != cpu_to_node(cpu)) { in ne_setup_cpu_pool()
353 ne_cpu_pool.numa_node = numa_node; in ne_setup_cpu_pool()
373 ne_cpu_pool.numa_node = -1; in ne_setup_cpu_pool()
416 ne_cpu_pool.numa_node = -1; in ne_teardown_cpu_pool()
830 ne_enclave->numa_node); in ne_sanity_check_user_mem_region_page()
[all …]
A Dne_misc_dev.h77 int numa_node; member
/drivers/net/ethernet/fungible/funeth/
A Dfuneth_rx.c622 int numa_node; in fun_rxq_create_sw() local
624 numa_node = fun_irq_node(irq); in fun_rxq_create_sw()
625 q = kzalloc_node(sizeof(*q), GFP_KERNEL, numa_node); in fun_rxq_create_sw()
633 q->numa_node = numa_node; in fun_rxq_create_sw()
639 sizeof(*q->bufs), false, numa_node, in fun_rxq_create_sw()
645 false, numa_node, &q->cq_dma_addr, NULL, in fun_rxq_create_sw()
650 err = fun_rxq_init_cache(&q->cache, nrqe, numa_node); in fun_rxq_create_sw()
654 err = fun_rxq_alloc_bufs(q, numa_node); in fun_rxq_create_sw()
751 q->numa_node, q->headroom); in fun_rxq_create_dev()
A Dfuneth_tx.c630 int numa_node; in fun_txq_create_sw() local
633 numa_node = fun_irq_node(irq); /* skb Tx queue */ in fun_txq_create_sw()
635 numa_node = cpu_to_node(qidx); /* XDP Tx queue */ in fun_txq_create_sw()
637 q = kzalloc_node(sizeof(*q), GFP_KERNEL, numa_node); in fun_txq_create_sw()
643 sizeof(*q->info), true, numa_node, in fun_txq_create_sw()
652 q->numa_node = numa_node; in fun_txq_create_sw()
719 q->ethid, q->numa_node); in fun_txq_create_dev()
A Dfuneth_txrx.h126 int numa_node; member
196 int numa_node; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dsend.c682 int numa_node, in hws_send_ring_alloc_sq() argument
696 param.db_numa_node = numa_node; in hws_send_ring_alloc_sq()
697 param.buf_numa_node = numa_node; in hws_send_ring_alloc_sq()
836 int numa_node, in hws_send_ring_open_sq() argument
883 int numa_node, in hws_send_ring_alloc_cq() argument
894 param.buf_numa_node = numa_node; in hws_send_ring_alloc_cq()
895 param.db_numa_node = numa_node; in hws_send_ring_alloc_cq()
956 int numa_node, in hws_send_ring_open_cq() argument
970 err = hws_send_ring_alloc_cq(mdev, numa_node, queue, cqc_data, cq); in hws_send_ring_open_cq()
1004 int numa_node = dev_to_node(mlx5_core_dma_dev(ctx->mdev)); in mlx5hws_send_ring_open() local
[all …]
/drivers/nvdimm/
A Dof_pmem.c63 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()
64 ndr_desc.target_node = ndr_desc.numa_node; in of_pmem_region_probe()
A Dvirtio_pmem.c103 ndr_desc.numa_node = memory_add_physaddr_to_nid(res.start); in virtio_pmem_probe()
106 ndr_desc.target_node = ndr_desc.numa_node; in virtio_pmem_probe()
A De820.c27 ndr_desc.numa_node = numa_map_to_online_node(nid); in e820_register_one()
/drivers/net/ethernet/fungible/funcore/
A Dfun_queue.c21 int numa_node, dma_addr_t *dma_addr, void **sw_va, in fun_alloc_ring_mem() argument
28 if (numa_node == NUMA_NO_NODE) in fun_alloc_ring_mem()
29 numa_node = dev_node; in fun_alloc_ring_mem()
36 set_dev_node(dma_dev, numa_node); in fun_alloc_ring_mem()
44 numa_node); in fun_alloc_ring_mem()
/drivers/hv/
A Dchannel_mgmt.c749 int numa_node; in init_vp_index() local
770 numa_node = next_numa_node_id++; in init_vp_index()
771 if (numa_node == nr_node_ids) { in init_vp_index()
775 if (cpumask_empty(cpumask_of_node(numa_node))) in init_vp_index()
779 allocated_mask = &hv_context.hv_numa_map[numa_node]; in init_vp_index()
782 cpumask_xor(available_mask, allocated_mask, cpumask_of_node(numa_node)); in init_vp_index()
/drivers/net/ethernet/amazon/ena/
A Dena_eth_com.h173 u8 numa_node) in ena_com_update_numa_node() argument
180 numa_cfg.numa_cfg = (numa_node & ENA_ETH_IO_NUMA_NODE_CFG_REG_NUMA_MASK) in ena_com_update_numa_node()
A Dena_netdev.c178 ring->numa_node = 0; in ena_init_io_rings_common()
282 tx_ring->numa_node = node; in ena_setup_tx_resources()
414 rx_ring->numa_node = node; in ena_setup_rx_resources()
1405 int numa_node; in ena_update_ring_numa_node() local
1415 numa_node = cpu_to_node(cpu); in ena_update_ring_numa_node()
1417 if (likely(tx_ring->numa_node == numa_node)) in ena_update_ring_numa_node()
1424 tx_ring->numa_node = numa_node; in ena_update_ring_numa_node()
1426 rx_ring->numa_node = numa_node; in ena_update_ring_numa_node()
1428 numa_node); in ena_update_ring_numa_node()
1911 ctx.numa_node = tx_ring->numa_node; in ena_create_io_tx_queue()
[all …]
/drivers/gpu/drm/amd/amdkfd/
A Dkfd_crat.c2023 int numa_node = NUMA_NO_NODE; in kfd_find_numa_node_in_srat() local
2069 numa_node = pxm_to_node(gpu->proximity_domain); in kfd_find_numa_node_in_srat()
2087 if (found && (numa_node < 0 || in kfd_find_numa_node_in_srat()
2088 numa_node > pxm_to_node(max_pxm))) in kfd_find_numa_node_in_srat()
2089 numa_node = 0; in kfd_find_numa_node_in_srat()
2091 if (numa_node != NUMA_NO_NODE) in kfd_find_numa_node_in_srat()
2092 set_dev_node(&kdev->adev->pdev->dev, numa_node); in kfd_find_numa_node_in_srat()
2165 if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE && in kfd_fill_gpu_direct_io_link_to_cpu()
2170 if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE) in kfd_fill_gpu_direct_io_link_to_cpu()
2173 sub_type_hdr->proximity_domain_to = kdev->adev->pdev->dev.numa_node; in kfd_fill_gpu_direct_io_link_to_cpu()
/drivers/net/ethernet/mellanox/mlx4/
A Dicm.c146 dev->numa_node); in mlx4_alloc_icm()
164 dev->numa_node); in mlx4_alloc_icm()
193 dev->numa_node); in mlx4_alloc_icm()
/drivers/scsi/elx/efct/
A Defct_driver.h61 u32 numa_node; member
/drivers/platform/x86/intel/speed_select_if/
A Disst_if_common.c279 int numa_node; member
327 if (node == isst_cpu_info[cpu].numa_node) { in _isst_if_get_pci_dev()
389 isst_cpu_info[cpu].numa_node = cpu_to_node(cpu); in isst_if_cpu_online()
/drivers/block/mtip32xx/
A Dmtip32xx.c2725 dd->numa_node); in mtip_hw_init()
3343 unsigned int hctx_idx, unsigned int numa_node) in mtip_init_cmd() argument
3425 dd->tags.numa_node = dd->numa_node; in mtip_block_initialize()
3507 dd, dd->numa_node, in mtip_block_initialize()
3734 dd->numa_node = my_node; in mtip_pci_probe()
3748 node_mask = cpumask_of_node(dd->numa_node); in mtip_pci_probe()
3757 dd->numa_node, in mtip_pci_probe()
3759 nr_cpus_node(dd->numa_node), in mtip_pci_probe()
3764 dd->isr_binding = get_least_used_cpu_on_node(dd->numa_node); in mtip_pci_probe()
3770 dd->work[1].cpu_binding = get_least_used_cpu_on_node(dd->numa_node); in mtip_pci_probe()
[all …]
/drivers/net/ethernet/cavium/liquidio/
A Docteon_droq.c226 int numa_node = dev_to_node(&oct->pci_dev->dev); in octeon_init_droq() local
281 numa_node); in octeon_init_droq()
929 int numa_node = dev_to_node(&oct->pci_dev->dev); in octeon_create_droq() local
938 droq = vmalloc_node(sizeof(*droq), numa_node); in octeon_create_droq()
A Drequest_manager.c56 int numa_node = dev_to_node(&oct->pci_dev->dev); in octeon_init_instr_queue() local
90 numa_node); in octeon_init_instr_queue()
199 int numa_node = dev_to_node(&oct->pci_dev->dev); in octeon_setup_iq() local
209 vzalloc_node(sizeof(struct octeon_instr_queue), numa_node); in octeon_setup_iq()
/drivers/net/ethernet/mellanox/mlx5/core/
A Deq.c280 &eq->frag_buf, dev->priv.numa_node); in create_map_eq()
436 dev->priv.numa_node); in mlx5_eq_table_init()
753 dev->priv.numa_node); in mlx5_eq_create_generic()
827 return cpumask_local_spread(index, dev->priv.numa_node); in mlx5_cpumask_default_spread()
1009 eq = kzalloc_node(sizeof(*eq), GFP_KERNEL, dev->priv.numa_node); in create_comp_eq()
/drivers/infiniband/sw/siw/
A Dsiw_main.c163 int i, num_cpus, cpu, min_use, node = sdev->numa_node, tx_cpu = -1; in siw_get_tx_cpu()
355 sdev->numa_node = dev_to_node(&netdev->dev); in siw_device_create()
/drivers/net/ethernet/wangxun/libwx/
A Dwx_lib.c1958 q_vector->numa_node = cpu_to_node(v_idx); in wx_alloc_q_vector()
2661 int numa_node = NUMA_NO_NODE; in wx_setup_rx_resources() local
2667 numa_node = rx_ring->q_vector->numa_node; in wx_setup_rx_resources()
2669 rx_ring->rx_buffer_info = kvmalloc_node(size, GFP_KERNEL, numa_node); in wx_setup_rx_resources()
2679 set_dev_node(dev, numa_node); in wx_setup_rx_resources()
2752 int numa_node = NUMA_NO_NODE; in wx_setup_tx_resources() local
2758 numa_node = tx_ring->q_vector->numa_node; in wx_setup_tx_resources()
2760 tx_ring->tx_buffer_info = kvmalloc_node(size, GFP_KERNEL, numa_node); in wx_setup_tx_resources()
2770 set_dev_node(dev, numa_node); in wx_setup_tx_resources()

Completed in 66 milliseconds

12345