Lines Matching refs:socketid
100 uint8_t socketid; member
222 lcore_conf[lcore_id].socketid = in init_lcores()
236 int socketid; in init_mbufpool() local
244 socketid = rte_lcore_to_socket_id(lcore_id); in init_mbufpool()
245 if (socketid >= NB_SOCKETS) { in init_mbufpool()
248 socketid, lcore_id, NB_SOCKETS); in init_mbufpool()
250 if (mbufpool[socketid] == NULL) { in init_mbufpool()
251 snprintf(s, sizeof(s), "mbuf_pool_%d", socketid); in init_mbufpool()
252 mbufpool[socketid] = in init_mbufpool()
255 RTE_MBUF_DEFAULT_BUF_SIZE, socketid); in init_mbufpool()
256 if (mbufpool[socketid] == NULL) in init_mbufpool()
259 socketid); in init_mbufpool()
262 socketid); in init_mbufpool()
269 alloc_lcore(uint16_t socketid) in alloc_lcore() argument
275 lcore_conf[lcore_id].socketid != socketid || in alloc_lcore()
569 RTE_CACHE_LINE_SIZE, conf->socketid); in poll_burst()
681 int socketid = -1; in test_pmd_perf() local
714 if (socketid == -1) { in test_pmd_perf()
715 socketid = rte_eth_dev_socket_id(portid); in test_pmd_perf()
716 worker_id = alloc_lcore(socketid); in test_pmd_perf()
722 worker_id, socketid); in test_pmd_perf()
725 if (socketid != rte_eth_dev_socket_id(portid)) { in test_pmd_perf()
750 socketid, &tx_conf); in test_pmd_perf()
758 socketid, &rx_conf, in test_pmd_perf()
759 mbufpool[socketid]); in test_pmd_perf()
789 RTE_CACHE_LINE_SIZE, socketid); in test_pmd_perf()
794 init_traffic(mbufpool[socketid], in test_pmd_perf()
798 MAX_TRAFFIC_BURST * nb_ports, socketid); in test_pmd_perf()
816 if (socketid != rte_eth_dev_socket_id(portid)) in test_pmd_perf()