| /f-stack/dpdk/app/test/ |
| H A D | test_pmd_perf.c | 102 uint8_t socketid; member 238 int socketid; in init_mbufpool() local 254 mbufpool[socketid] = in init_mbufpool() 261 socketid); in init_mbufpool() 264 socketid); in init_mbufpool() 271 alloc_lcore(uint16_t socketid) in alloc_lcore() argument 277 lcore_conf[lcore_id].socketid != socketid || in alloc_lcore() 669 int socketid = -1; in test_pmd_perf() local 700 if (socketid == -1) { in test_pmd_perf() 744 socketid, &rx_conf, in test_pmd_perf() [all …]
|
| H A D | test_flow_classify.c | 576 int socketid; in init_mbufpool() local 585 socketid = rte_lcore_to_socket_id(lcore_id); in init_mbufpool() 586 if (socketid >= NB_SOCKETS) { in init_mbufpool() 589 socketid, lcore_id, NB_SOCKETS); in init_mbufpool() 593 if (mbufpool[socketid] == NULL) { in init_mbufpool() 594 snprintf(s, sizeof(s), "mbuf_pool_%d", socketid); in init_mbufpool() 595 mbufpool[socketid] = in init_mbufpool() 598 socketid); in init_mbufpool() 599 if (mbufpool[socketid]) { in init_mbufpool() 601 socketid); in init_mbufpool() [all …]
|
| /f-stack/dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 154 int socketid; in check_lcore_params() local 177 lcore, socketid); in check_lcore_params() 549 int socketid; in init_mem() local 559 socketid = 0; in init_mem() 561 if (socketid >= NB_SOCKETS) { in init_mem() 569 socketid); in init_mem() 579 socketid); in init_mem() 582 socketid); in init_mem() 878 socketid = 0; in main() 886 socketid, txconf); in main() [all …]
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | main.c | 186 int socketid; in check_lcore_params() local 202 lcore, socketid); in check_lcore_params() 749 int socketid; in init_mem() local 760 socketid = 0; in init_mem() 770 portid, socketid); in init_mem() 778 socketid); in init_mem() 781 socketid); in init_mem() 1016 socketid = in l3fwd_poll_resource_setup() 1019 socketid = 0; in l3fwd_poll_resource_setup() 1057 socketid = in l3fwd_poll_resource_setup() [all …]
|
| H A D | l3fwd_lpm.c | 460 setup_lpm(const int socketid) in setup_lpm() argument 474 ipv4_l3fwd_lpm_lookup_struct[socketid] = in setup_lpm() 475 rte_lpm_create(s, socketid, &config_ipv4); in setup_lpm() 476 if (ipv4_l3fwd_lpm_lookup_struct[socketid] == NULL) in setup_lpm() 479 socketid); in setup_lpm() 498 i, socketid); in setup_lpm() 514 ipv6_l3fwd_lpm_lookup_struct[socketid] = rte_lpm6_create(s, socketid, in setup_lpm() 519 socketid); in setup_lpm() 537 i, socketid); in setup_lpm() 624 return ipv4_l3fwd_lpm_lookup_struct[socketid]; in lpm_get_ipv4_l3fwd_lookup_struct() [all …]
|
| H A D | l3fwd.h | 185 setup_lpm(const int socketid); 188 setup_hash(const int socketid); 231 em_get_ipv4_l3fwd_lookup_struct(const int socketid); 234 em_get_ipv6_l3fwd_lookup_struct(const int socketid); 237 lpm_get_ipv4_l3fwd_lookup_struct(const int socketid); 240 lpm_get_ipv6_l3fwd_lookup_struct(const int socketid);
|
| H A D | l3fwd_em.c | 880 setup_hash(const int socketid) in setup_hash() argument 903 ipv4_l3fwd_hash_params.socket_id = socketid; in setup_hash() 904 ipv4_l3fwd_em_lookup_struct[socketid] = in setup_hash() 909 socketid); in setup_hash() 914 ipv6_l3fwd_hash_params.socket_id = socketid; in setup_hash() 915 ipv6_l3fwd_em_lookup_struct[socketid] = in setup_hash() 920 socketid); in setup_hash() 929 ipv4_l3fwd_em_lookup_struct[socketid], in setup_hash() 934 ipv6_l3fwd_em_lookup_struct[socketid], in setup_hash() 945 ipv4_l3fwd_em_lookup_struct[socketid]); in setup_hash() [all …]
|
| /f-stack/dpdk/examples/l3fwd-power/ |
| H A D | main.c | 1502 int socketid; in check_lcore_params() local 2069 i, socketid); in setup_lpm() 2084 int socketid; in init_mem() local 2095 socketid = 0; in init_mem() 2108 socketid); in init_mem() 2112 socketid); in init_mem() 2115 socketid); in init_mem() 2631 socketid = \ in main() 2634 socketid = 0; in main() 2682 socketid = \ in main() [all …]
|
| /f-stack/dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 1213 socketid); in setup_acl() 1255 int socketid; in app_acl_init() local 1426 int socketid; in main_loop() local 1520 int socketid; in check_lcore_params() local 1898 int socketid; in init_mem() local 1909 socketid = 0; in init_mem() 1922 socketid); in init_mem() 1926 socketid); in init_mem() 1929 socketid); in init_mem() 2152 socketid = 0; in main() [all …]
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | main.c | 2489 int socketid; in check_lcore_params() local 2505 lcore, socketid); in check_lcore_params() 3299 setup_lpm(int socketid) in setup_lpm() argument 3334 i, socketid); in setup_lpm() 3349 ipv6_l3fwd_lookup_struct[socketid] = rte_lpm6_create(s, socketid, in setup_lpm() 3371 i, socketid); in setup_lpm() 3386 int socketid; in init_mem() local 3397 socketid = 0; in init_mem() 3636 socketid = 0; in main() 3679 socketid = 0; in main() [all …]
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 325 unsigned socketid = 0; in init_mem_pool() local 335 if (socketid >= NB_SOCKETS) { in init_mem_pool() 337 socketid, i, NB_SOCKETS); in init_mem_pool() 340 if (pktmbuf_pool[socketid] != NULL) { in init_mem_pool() 346 pktmbuf_pool[socketid] = in init_mem_pool() 355 if (pktmbuf_pool[socketid] == NULL) { in init_mem_pool() 367 ff_init_ref_pool(nb_mbuf, socketid); in init_mem_pool() 403 unsigned socketid = lcore_conf.socket_id; in init_dispatch_ring() local 466 socketid, 0); in init_msg_ring() 571 unsigned socketid = 0; in init_port_start() local [all …]
|
| H A D | ff_memory.c | 213 void ff_init_ref_pool(int nb_mbuf, int socketid) in ff_init_ref_pool() argument 217 if (ff_ref_pool[socketid] != NULL) { in ff_init_ref_pool() 220 snprintf(s, sizeof(s), "ff_ref_pool_%d", socketid); in ff_init_ref_pool() 222 … ff_ref_pool[socketid] = rte_pktmbuf_pool_create(s, nb_mbuf, MEMPOOL_CACHE_SIZE, 0, 0, socketid); in ff_init_ref_pool() 224 ff_ref_pool[socketid] = rte_mempool_lookup(s); in ff_init_ref_pool()
|
| H A D | ff_memory.h | 104 void ff_init_ref_pool(int nb_mbuf, int socketid);
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | l3_forward.rst | 221 setup_hash(int socketid) 228 … populate_ipv4_many_flow_into_table(ipv4_l3fwd_lookup_struct[socketid], hash_entry_number); 236 populate_ipv4_few_flow_into_table(ipv4_l3fwd_lookup_struct[socketid]); 239 populate_ipv6_few_flow_into_table(ipv6_l3fwd_lookup_struct[socketid]); 255 setup_lpm(int socketid) 263 snprintf(s, sizeof(s), "IPV4_L3FWD_LPM_%d", socketid); 265 … ipv4_l3fwd_lookup_struct[socketid] = rte_lpm_create(s, socketid, IPV4_L3FWD_LPM_MAX_RULES, 0); 267 if (ipv4_l3fwd_lookup_struct[socketid] == NULL) 269 " on socket %d\n", socketid); 279 ret = rte_lpm_add(ipv4_l3fwd_lookup_struct[socketid], ipv4_l3fwd_route_array[i].ip, [all …]
|
| H A D | l3_forward_graph.rst | 150 socketid, txconf); 174 ret = rte_eth_rx_queue_setup(portid, queueid, nb_rxd, socketid, 175 &rxq_conf, pktmbuf_pool[0][socketid]); 177 ret = rte_eth_rx_queue_setup(portid, queueid, nb_rxd, socketid, 178 &rxq_conf, pktmbuf_pool[portid][socketid]);
|
| H A D | l3_forward_power_man.rst | 146 uint8_t nb_rx_queue, queue, socketid;
|
| /f-stack/dpdk/examples/ipsec-secgw/ |
| H A D | sp4.c | 472 acl4_init(const char *name, int32_t socketid, const struct acl4_rules *rules, in acl4_init() argument 485 snprintf(s, sizeof(s), "%s_%d", name, socketid); in acl4_init() 491 acl_param.socket_id = socketid; in acl4_init()
|
| H A D | sp6.c | 603 acl6_init(const char *name, int32_t socketid, const struct acl6_rules *rules, in acl6_init() argument 616 snprintf(s, sizeof(s), "%s_%d", name, socketid); in acl6_init() 622 acl_param.socket_id = socketid; in acl6_init()
|
| /f-stack/dpdk/examples/qos_sched/ |
| H A D | init.c | 300 app_init_sched_port(uint32_t portid, uint32_t socketid) in app_init_sched_port() argument 314 port_params.socket = socketid; in app_init_sched_port()
|