Home
last modified time | relevance | path

Searched refs:rte_socket_id (Results 1 – 25 of 218) sorted by relevance

123456789

/dpdk/app/test/
H A Dtest_reorder.c50 b = rte_reorder_create(NULL, rte_socket_id(), REORDER_BUFFER_SIZE); in test_reorder_create()
54 b = rte_reorder_create("PKT", rte_socket_id(), REORDER_BUFFER_SIZE_INVALID); in test_reorder_create()
58 b = rte_reorder_create("PKT_RO1", rte_socket_id(), REORDER_BUFFER_SIZE); in test_reorder_create()
125 b1 = rte_reorder_create(name, rte_socket_id(), 8); in test_reorder_free()
156 b = rte_reorder_create("test_insert", rte_socket_id(), size); in test_reorder_insert()
247 b = rte_reorder_create("test_drain", rte_socket_id(), size); in test_reorder_drain()
343 test_params->b = rte_reorder_create("PKT_RO1", rte_socket_id(), in test_setup()
357 rte_socket_id()); in test_setup()
H A Dtest_mp_secondary.c142 if ((rte_memzone_reserve("test_mz", size, rte_socket_id(), in run_object_creation_tests()
152 "test_ring", size, rte_socket_id(), flags) == NULL) && in run_object_creation_tests()
162 rte_socket_id(), flags) == NULL) && in run_object_creation_tests()
193 config.max_rules = rte_socket_id(); in run_object_creation_tests()
H A Dsample_packet_forward.c51 *ring = rte_ring_create("R0", RING_SIZE, rte_socket_id(), in test_ring_setup()
59 ring, NUM_QUEUES, rte_socket_id()); in test_ring_setup()
90 RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in test_get_mempool()
H A Dtest_stack.c116 s = rte_stack_create(__func__, STACK_SIZE, rte_socket_id(), flags); in test_stack_basic()
184 s[0] = rte_stack_create("test", STACK_SIZE, rte_socket_id(), flags); in test_stack_name_reuse()
191 s[1] = rte_stack_create("test", STACK_SIZE, rte_socket_id(), flags); in test_stack_name_reuse()
212 s = rte_stack_create(name, STACK_SIZE, rte_socket_id(), flags); in test_stack_name_length()
321 s = rte_stack_create("test", MAX_BULK * rte_lcore_count(), rte_socket_id(), flags); in test_stack_multithreaded()
H A Dtest_event_ring.c90 sr = rte_event_ring_create("spsc_ring", 32, rte_socket_id(), in test_basic_event_enqueue_dequeue()
154 std_ring = rte_event_ring_create("std", ring_sz, rte_socket_id(), in test_event_ring_with_exact_size()
161 ring_sz, rte_socket_id(), in test_event_ring_with_exact_size()
H A Dtest_distributor_perf.c229 ds = rte_distributor_create("Test_perf", rte_socket_id(), in test_distributor_perf()
241 db = rte_distributor_create("Test_burst", rte_socket_id(), in test_distributor_perf()
256 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in test_distributor_perf()
H A Dtest_distributor.c738 d = rte_distributor_create(name, rte_socket_id(), in test_error_distributor_create_name()
746 db = rte_distributor_create(name, rte_socket_id(), in test_error_distributor_create_name()
764 ds = rte_distributor_create("test_numworkers", rte_socket_id(), in test_error_distributor_create_numworkers()
772 db = rte_distributor_create("test_numworkers", rte_socket_id(), in test_error_distributor_create_numworkers()
849 db = rte_distributor_create("Test_dist_burst", rte_socket_id(), in test_distributor()
863 rte_socket_id(), in test_distributor()
879 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in test_distributor()
/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_common.c155 0, rte_socket_id()); in comp_perf_allocate_external_mbufs()
165 0, rte_socket_id()); in comp_perf_allocate_external_mbufs()
175 0, rte_socket_id()); in comp_perf_allocate_external_mbufs()
185 0, rte_socket_id()); in comp_perf_allocate_external_mbufs()
257 rte_socket_id()); in comp_perf_allocate_memory()
269 rte_socket_id()); in comp_perf_allocate_memory()
284 0, 0, rte_socket_id()); in comp_perf_allocate_memory()
300 rte_socket_id()); in comp_perf_allocate_memory()
309 rte_socket_id()); in comp_perf_allocate_memory()
318 0, rte_socket_id()); in comp_perf_allocate_memory()
[all …]
H A Dmain.c257 test_data->input_data_sz, 0, rte_socket_id()); in comp_perf_dump_input_data()
335 0, rte_socket_id()); in main()
339 rte_socket_id()); in main()
380 printf("\nApp uses socket: %u\n", rte_socket_id()); in main()
/dpdk/examples/multi_process/simple_mp/
H A Dmain.c91 send_ring = rte_ring_create(_PRI_2_SEC, ring_size, rte_socket_id(), flags); in main()
92 recv_ring = rte_ring_create(_SEC_2_PRI, ring_size, rte_socket_id(), flags); in main()
96 rte_socket_id(), flags); in main()
/dpdk/examples/server_node_efd/server/
H A Dinit.c80 MBUF_CACHE_SIZE, 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in init_mbuf_pools()
186 socket_id = rte_socket_id(); in init_shm_rings()
207 uint8_t socket_id = rte_socket_id(); in create_efd_table()
223 uint8_t socket_id = rte_socket_id(); in populate_efd_table()
325 rte_socket_id(), NO_FLAGS); in init()
/dpdk/app/test-pipeline/
H A Dinit.c111 app.pool_cache_size, 0, app.pool_buffer_size, rte_socket_id()); in app_init_mbuf_pools()
129 rte_socket_id(), in app_init_rings()
144 rte_socket_id(), in app_init_rings()
/dpdk/examples/multi_process/client_server_mp/mp_server/
H A Dinit.c78 MBUF_CACHE_SIZE, 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in init_mbuf_pools()
166 socket_id = rte_socket_id(); in init_shm_rings()
258 rte_socket_id(), NO_FLAGS); in init()
/dpdk/drivers/raw/dpaa2_cmdif/
H A Ddpaa2_cmdif.c261 DPAA2_CMDIF_INFO("Init %s on NUMA node %d", name, rte_socket_id()); in dpaa2_cmdif_probe()
263 ret = dpaa2_cmdif_create(name, vdev, rte_socket_id()); in dpaa2_cmdif_probe()
278 DPAA2_CMDIF_INFO("Closing %s on NUMA node %d", name, rte_socket_id()); in dpaa2_cmdif_remove()
/dpdk/examples/l2fwd-cat/
H A Dl2fwd-cat.c107 (int)rte_socket_id()) in lcore_main()
186 MBUF_CACHE_SIZE, 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in main()
/dpdk/drivers/crypto/scheduler/
H A Dscheduler_multicore.c311 rte_socket_id()); in scheduler_config_qp()
337 rte_socket_id()); in scheduler_create_private_ctx()
353 rte_socket_id(), in scheduler_create_private_ctx()
367 rte_socket_id(), in scheduler_create_private_ctx()
/dpdk/examples/skeleton/
H A Dbasicfwd.c127 (int)rte_socket_id()) in lcore_main()
196 MBUF_CACHE_SIZE, 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in main()
/dpdk/examples/ipsec-secgw/
H A Dsad.c93 RTE_CACHE_LINE_SIZE, rte_socket_id()); in ipsec_sad_lcore_cache_init()
98 RTE_CACHE_LINE_SIZE, rte_socket_id()); in ipsec_sad_lcore_cache_init()
/dpdk/examples/distributor/
H A Dmain.c224 const int socket_id = rte_socket_id(); in lcore_rx()
400 const int socket_id = rte_socket_id(); in lcore_tx()
748 RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); in main()
774 d = rte_distributor_create("PKT_DIST", rte_socket_id(), in main()
785 rte_socket_id(), RING_F_SC_DEQ | RING_F_SP_ENQ); in main()
790 rte_socket_id(), RING_F_SC_DEQ | RING_F_SP_ENQ); in main()
/dpdk/app/test-crypto-perf/
H A Dcperf_test_common.c160 rte_socket_id()); in cperf_alloc_common_memory()
164 rte_socket_id()); in cperf_alloc_common_memory()
234 rte_socket_id(), 0); in cperf_alloc_common_memory()
/dpdk/drivers/event/skeleton/
H A Dskeleton_eventdev.c460 rte_socket_id()); in skeleton_eventdev_probe()
461 return skeleton_eventdev_create(name, rte_socket_id()); in skeleton_eventdev_probe()
470 PMD_DRV_LOG(INFO, "Closing %s on NUMA node %d", name, rte_socket_id()); in skeleton_eventdev_remove()
/dpdk/examples/ipv4_multicast/
H A Dmain.c566 mcast_hash_params.socket_id = rte_socket_id(); in init_mcast_hash()
671 0, PKT_MBUF_DATA_SIZE, rte_socket_id()); in main()
677 0, HDR_MBUF_DATA_SIZE, rte_socket_id()); in main()
683 0, 0, rte_socket_id()); in main()
/dpdk/examples/packet_ordering/
H A Dmain.c706 rte_socket_id()); in main()
734 rx_to_workers = rte_ring_create("rx_to_workers", RING_SIZE, rte_socket_id(), in main()
739 workers_to_tx = rte_ring_create("workers_to_tx", RING_SIZE, rte_socket_id(), in main()
745 send_args.buffer = rte_reorder_create("PKT_RO", rte_socket_id(), in main()
/dpdk/drivers/net/ring/
H A Drte_eth_ring.c660 ret = eth_dev_ring_create(name, dev, rte_socket_id(), DEV_CREATE, in rte_pmd_ring_probe()
665 ret = eth_dev_ring_create(name, dev, rte_socket_id(), in rte_pmd_ring_probe()
674 ret = eth_dev_ring_create(name, dev, rte_socket_id(), in rte_pmd_ring_probe()
680 ret = eth_dev_ring_create(name, dev, rte_socket_id(), in rte_pmd_ring_probe()
/dpdk/app/pdump/
H A Dmain.c648 rte_socket_id(), "ring_mp_mc"); in create_mp_ring_vdev()
663 rte_socket_id(), 0); in create_mp_ring_vdev()
674 rte_socket_id(), 0); in create_mp_ring_vdev()
746 rte_socket_id(), 0); in create_mp_ring_vdev()
783 rte_socket_id(), 0); in create_mp_ring_vdev()

123456789