Home
last modified time | relevance | path

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

1234

/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_hugepages.c79 unsigned int numa_node; in hugepage_info_init() local
81 numa_node = eal_socket_numa_node(socket_id); in hugepage_info_init()
82 if (!GetNumaAvailableMemoryNodeEx(numa_node, &bytes)) { in hugepage_info_init()
84 numa_node); in hugepage_info_init()
H A Deal_memalloc.c40 unsigned int numa_node; in alloc_seg() local
63 numa_node = eal_socket_numa_node(socket_id); in alloc_seg()
127 if (page->Node != numa_node) { in alloc_seg()
130 numa_node, socket_id, page->Node); in alloc_seg()
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_vdev.h41 dev->device.numa_node); in rte_eth_vdev_allocate()
51 eth_dev->data->numa_node = dev->device.numa_node; in rte_eth_vdev_allocate()
H A Drte_ethdev_pci.h44 eth_dev->data->numa_node = pci_dev->device.numa_node; in rte_eth_copy_pci_info()
93 dev->device.numa_node); in rte_eth_dev_pci_allocate()
/f-stack/dpdk/drivers/net/ring/
H A Drte_eth_ring.c32 const unsigned int numa_node; member
302 numa_node); in do_eth_dev_ring_create()
305 sizeof(void *), 0, numa_node); in do_eth_dev_ring_create()
312 sizeof(void *), 0, numa_node); in do_eth_dev_ring_create()
367 data->numa_node = numa_node; in do_eth_dev_ring_create()
391 const unsigned int numa_node) in rte_eth_from_rings() argument
398 .numa_node = numa_node, in rte_eth_from_rings()
454 const unsigned int numa_node, in eth_dev_ring_create() argument
477 rte_ring_create(rng_name, 1024, numa_node, in eth_dev_ring_create()
485 numa_node, action, eth_dev) < 0) in eth_dev_ring_create()
[all …]
H A Drte_eth_ring.h37 const unsigned numa_node);
/f-stack/dpdk/drivers/bus/pci/windows/
H A Dpci.c199 DWORD numa_node; in get_device_resource_info() local
235 (BYTE *)&numa_node, sizeof(numa_node), NULL, 0); in get_device_resource_info()
241 dev->device.numa_node = numa_node; in get_device_resource_info()
/f-stack/dpdk/drivers/raw/ioat/
H A Dioat_rawdev.c69 dev->device->numa_node, RTE_MEMZONE_IOVA_CONTIG); in ioat_dev_configure()
161 dev->device.numa_node); in ioat_rawdev_create()
170 dev->device.numa_node, RTE_MEMZONE_IOVA_CONTIG); in ioat_rawdev_create()
271 IOAT_PMD_INFO("Init %s on NUMA node %d", name, dev->device.numa_node); in ioat_rawdev_probe()
287 name, dev->device.numa_node); in ioat_rawdev_remove()
H A Dioat_common.c211 dev->numa_node); in idxd_rawdev_create()
220 dev->numa_node, RTE_MEMZONE_IOVA_CONTIG); in idxd_rawdev_create()
/f-stack/dpdk/drivers/bus/vmbus/
H A Dvmbus_common.c102 guid, dev->device.numa_node); in vmbus_probe_one_driver()
114 if (dev->device.numa_node < 0) { in vmbus_probe_one_driver()
116 dev->device.numa_node = 0; in vmbus_probe_one_driver()
/f-stack/dpdk/drivers/net/af_packet/
H A Drte_eth_af_packet.c618 const unsigned int numa_node = dev->device.numa_node; in rte_pmd_init_internals() local
649 name, numa_node); in rte_pmd_init_internals()
652 0, numa_node); in rte_pmd_init_internals()
660 0, numa_node); in rte_pmd_init_internals()
664 0, numa_node); in rte_pmd_init_internals()
796 rx_queue->rd = rte_zmalloc_socket(name, rdsize, 0, numa_node); in rte_pmd_init_internals()
813 tx_queue->rd = rte_zmalloc_socket(name, rdsize, 0, numa_node); in rte_pmd_init_internals()
1048 if (dev->device.numa_node == SOCKET_ID_ANY) in rte_pmd_af_packet_probe()
1049 dev->device.numa_node = rte_socket_id(); in rte_pmd_af_packet_probe()
/f-stack/dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c803 eth_dev->data->numa_node = newnode; in new_device()
986 unsigned int numa_node = eth_dev->device->numa_node; in vhost_driver_setup() local
994 list = rte_zmalloc_socket(name, sizeof(*list), 0, numa_node); in vhost_driver_setup()
999 0, numa_node); in vhost_driver_setup()
1416 numa_node); in eth_dev_vhost_create()
1438 0, numa_node); in eth_dev_vhost_create()
1530 if (dev->device.numa_node == SOCKET_ID_ANY) in rte_pmd_vhost_probe()
1531 dev->device.numa_node = rte_socket_id(); in rte_pmd_vhost_probe()
1625 if (dev->device.numa_node == SOCKET_ID_ANY) in rte_pmd_vhost_probe()
1626 dev->device.numa_node = rte_socket_id(); in rte_pmd_vhost_probe()
[all …]
/f-stack/dpdk/lib/librte_table/
H A Drte_swx_table_em.c29 env_malloc(size_t size, size_t alignment, int numa_node) in env_malloc() argument
31 return rte_zmalloc_socket(NULL, size, alignment, numa_node); in env_malloc()
45 env_malloc(size_t size, size_t alignment __rte_unused, int numa_node) in env_malloc() argument
47 return numa_alloc_onnode(size, numa_node); in env_malloc()
374 int numa_node) in __table_create() argument
424 memory = env_malloc(total_size, RTE_CACHE_LINE_SIZE, numa_node); in __table_create()
790 int numa_node) in table_create() argument
797 status = __table_create(&t, NULL, params, args, numa_node); in table_create()
H A Drte_swx_table.h160 int numa_node);
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_flow.c17 bond_flow_alloc(int numa_node, const struct rte_flow_attr *attr, in bond_flow_alloc() argument
38 RTE_CACHE_LINE_SIZE, numa_node); in bond_flow_alloc()
94 flow = bond_flow_alloc(dev->data->numa_node, attr, patterns, actions); in bond_flow_create()
/f-stack/dpdk/drivers/bus/pci/
H A Dpci_common.c183 dev->device.numa_node); in rte_pci_probe_one_driver()
192 if (dev->device.numa_node < 0) { in rte_pci_probe_one_driver()
194 dev->device.numa_node = 0; in rte_pci_probe_one_driver()
241 dev->device.numa_node); in rte_pci_probe_one_driver()
281 loc->function, dev->device.numa_node); in rte_pci_detach_dev()
/f-stack/dpdk/drivers/net/szedata2/
H A Drte_eth_szedata2.h87 int numa_node; member
H A Drte_eth_szedata2.c71 int numa_node; member
1717 if (pi[j].numa_node == in get_port_info()
1741 pi[current].numa_node = port_numa; in get_port_info()
1747 pi[0].numa_node = pci_dev->device.numa_node; in get_port_info()
1763 szedata2_eth_dev_allocate(struct rte_pci_device *pci_dev, int numa_node, in szedata2_eth_dev_allocate() argument
1783 numa_node); in szedata2_eth_dev_allocate()
1796 eth_dev->data->numa_node = numa_node; in szedata2_eth_dev_allocate()
1856 port_info[i].numa_node, i); in szedata2_eth_pci_probe()
/f-stack/dpdk/drivers/crypto/qat/
H A Dqat_asym_pmd.c246 qat_dev_instance->pci_dev->device.numa_node, in qat_asym_dev_create()
273 qat_dev_instance->asym_rte_dev.numa_node = in qat_asym_dev_create()
274 qat_dev_instance->pci_dev->device.numa_node; in qat_asym_dev_create()
H A Dqat_sym_pmd.c323 qat_dev_instance->pci_dev->device.numa_node, in qat_sym_dev_create()
358 qat_dev_instance->sym_rte_dev.numa_node = in qat_sym_dev_create()
359 qat_dev_instance->pci_dev->device.numa_node; in qat_sym_dev_create()
/f-stack/dpdk/drivers/net/null/
H A Drte_eth_null.c232 packet_size, 0, dev->data->numa_node); in eth_rx_queue_setup()
265 packet_size, 0, dev->data->numa_node); in eth_tx_queue_setup()
515 if (dev->device.numa_node == SOCKET_ID_ANY) in eth_dev_null_create()
516 dev->device.numa_node = rte_socket_id(); in eth_dev_null_create()
519 dev->device.numa_node); in eth_dev_null_create()
/f-stack/freebsd/contrib/ena-com/
H A Dena_eth_com.h225 u8 numa_node) in ena_com_update_numa_node() argument
232 numa_cfg.numa_cfg = (numa_node & ENA_ETH_IO_NUMA_NODE_CFG_REG_NUMA_MASK) in ena_com_update_numa_node()
/f-stack/dpdk/drivers/net/ena/base/
H A Dena_eth_com.h193 u8 numa_node) in ena_com_update_numa_node() argument
200 numa_cfg.numa_cfg = (numa_node & ENA_ETH_IO_NUMA_NODE_CFG_REG_NUMA_MASK) in ena_com_update_numa_node()
/f-stack/dpdk/drivers/bus/vmbus/linux/
H A Dvmbus_bus.c292 dev->device.numa_node = tmp; in vmbus_scan_one()
295 dev->device.numa_node = SOCKET_ID_ANY; in vmbus_scan_one()
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbevf_main.c204 const unsigned int numa_node = rte_socket_id(); in cxgbevf_probe() local
236 RTE_CACHE_LINE_SIZE, numa_node); in cxgbevf_probe()

1234