| /f-stack/dpdk/lib/librte_eal/windows/ |
| H A D | eal_hugepages.c | 79 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 D | eal_memalloc.c | 40 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 D | rte_ethdev_vdev.h | 41 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 D | rte_ethdev_pci.h | 44 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 D | rte_eth_ring.c | 32 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 D | rte_eth_ring.h | 37 const unsigned numa_node);
|
| /f-stack/dpdk/drivers/bus/pci/windows/ |
| H A D | pci.c | 199 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 D | ioat_rawdev.c | 69 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 D | ioat_common.c | 211 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 D | vmbus_common.c | 102 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 D | rte_eth_af_packet.c | 618 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 D | rte_eth_vhost.c | 803 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 D | rte_swx_table_em.c | 29 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 D | rte_swx_table.h | 160 int numa_node);
|
| /f-stack/dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_flow.c | 17 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 D | pci_common.c | 183 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 D | rte_eth_szedata2.h | 87 int numa_node; member
|
| H A D | rte_eth_szedata2.c | 71 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 D | qat_asym_pmd.c | 246 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 D | qat_sym_pmd.c | 323 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 D | rte_eth_null.c | 232 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 D | ena_eth_com.h | 225 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 D | ena_eth_com.h | 193 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 D | vmbus_bus.c | 292 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 D | cxgbevf_main.c | 204 const unsigned int numa_node = rte_socket_id(); in cxgbevf_probe() local 236 RTE_CACHE_LINE_SIZE, numa_node); in cxgbevf_probe()
|