Searched refs:NB_SOCKETS (Results 1 – 15 of 15) sorted by relevance
| /dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 56 #define NB_SOCKETS 8 macro 130 static struct rte_mempool *pktmbuf_pool[RTE_MAX_ETHPORTS][NB_SOCKETS]; 540 if (socketid >= NB_SOCKETS) { in init_mem() 543 socketid, lcore_id, NB_SOCKETS); in init_mem() 927 ethdev_conf[nb_conf].mp_count = NB_SOCKETS; in main()
|
| /dpdk/app/test/ |
| H A D | test_flow_classify.c | 37 #define NB_SOCKETS 4 macro 43 static struct rte_mempool *mbufpool[NB_SOCKETS]; 597 if (socketid >= NB_SOCKETS) { in init_mbufpool() 600 socketid, lcore_id, NB_SOCKETS); in init_mbufpool()
|
| H A D | test_pmd_perf.c | 18 #define NB_SOCKETS (2) macro 58 static struct rte_mempool *mbufpool[NB_SOCKETS]; 245 if (socketid >= NB_SOCKETS) { in init_mbufpool() 248 socketid, lcore_id, NB_SOCKETS); in init_mbufpool()
|
| /dpdk/examples/l3fwd-acl/ |
| H A D | main.c | 73 #define NB_SOCKETS 8 macro 144 static struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; 477 char mapped[NB_SOCKETS]; 478 struct rte_acl_ctx *acx_ipv4[NB_SOCKETS]; 479 struct rte_acl_ctx *acx_ipv6[NB_SOCKETS]; 1312 if (socketid >= NB_SOCKETS) { in app_acl_init() 1315 socketid, lcore_id, NB_SOCKETS); in app_acl_init() 1327 for (i = 0; i < NB_SOCKETS; i++) { in app_acl_init() 1877 if (socketid >= NB_SOCKETS) { in init_mem() 1880 socketid, lcore_id, NB_SOCKETS); in init_mem()
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_event.h | 67 struct rte_mempool * (*pkt_pool)[NB_SOCKETS];
|
| H A D | main.c | 140 static struct rte_mempool *pktmbuf_pool[RTE_MAX_ETHPORTS][NB_SOCKETS]; 142 static uint8_t lkp_per_socket[NB_SOCKETS]; 974 if (socketid >= NB_SOCKETS) { in init_mem() 977 socketid, lcore_id, NB_SOCKETS); in init_mem()
|
| H A D | l3fwd.h | 38 #define NB_SOCKETS 8 macro
|
| H A D | l3fwd_fib.c | 40 static struct rte_fib *ipv4_l3fwd_fib_lookup_struct[NB_SOCKETS]; 41 static struct rte_fib6 *ipv6_l3fwd_fib_lookup_struct[NB_SOCKETS];
|
| H A D | l3fwd_lpm.c | 41 static struct rte_lpm *ipv4_l3fwd_lpm_lookup_struct[NB_SOCKETS]; 42 static struct rte_lpm6 *ipv6_l3fwd_lpm_lookup_struct[NB_SOCKETS];
|
| H A D | l3fwd_em.c | 135 struct rte_hash *ipv4_l3fwd_em_lookup_struct[NB_SOCKETS]; 136 struct rte_hash *ipv6_l3fwd_em_lookup_struct[NB_SOCKETS];
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec-secgw.h | 10 #define NB_SOCKETS 4 macro
|
| H A D | ipsec.h | 264 extern struct socket_ctx socket_ctx[NB_SOCKETS];
|
| H A D | ipsec-secgw.c | 268 struct socket_ctx socket_ctx[NB_SOCKETS]; 3464 for (i = 0; i < NB_SOCKETS && i < rte_socket_count(); i++) { in main() 3502 for (i = 0; i < NB_SOCKETS && i < rte_socket_count(); i++) { in main()
|
| /dpdk/examples/l3fwd-power/ |
| H A D | main.c | 116 #define NB_SOCKETS 8 macro 269 static struct rte_mempool * pktmbuf_pool[NB_SOCKETS]; 328 static lookup_struct_t *ipv4_l3fwd_lookup_struct[NB_SOCKETS]; 329 static lookup_struct_t *ipv6_l3fwd_lookup_struct[NB_SOCKETS]; 358 static lookup_struct_t *ipv4_l3fwd_lookup_struct[NB_SOCKETS]; 2135 if (socketid >= NB_SOCKETS) { in init_mem() 2138 lcore_id, NB_SOCKETS); in init_mem()
|
| /dpdk/examples/ip_reassembly/ |
| H A D | main.c | 82 #define NB_SOCKETS 8 macro
|