Lines Matching refs:id
39 unsigned int id[2]; in get_two_hyperthreads() local
41 RTE_LCORE_FOREACH(id[0]) { in get_two_hyperthreads()
42 RTE_LCORE_FOREACH(id[1]) { in get_two_hyperthreads()
43 if (id[0] == id[1]) in get_two_hyperthreads()
45 core[0] = rte_lcore_to_cpu_id(id[0]); in get_two_hyperthreads()
46 core[1] = rte_lcore_to_cpu_id(id[1]); in get_two_hyperthreads()
47 socket[0] = rte_lcore_to_socket_id(id[0]); in get_two_hyperthreads()
48 socket[1] = rte_lcore_to_socket_id(id[1]); in get_two_hyperthreads()
50 lcp->c1 = id[0]; in get_two_hyperthreads()
51 lcp->c2 = id[1]; in get_two_hyperthreads()
65 unsigned int id[2]; in get_two_cores() local
67 RTE_LCORE_FOREACH(id[0]) { in get_two_cores()
68 RTE_LCORE_FOREACH(id[1]) { in get_two_cores()
69 if (id[0] == id[1]) in get_two_cores()
71 core[0] = rte_lcore_to_cpu_id(id[0]); in get_two_cores()
72 core[1] = rte_lcore_to_cpu_id(id[1]); in get_two_cores()
73 socket[0] = rte_lcore_to_socket_id(id[0]); in get_two_cores()
74 socket[1] = rte_lcore_to_socket_id(id[1]); in get_two_cores()
76 lcp->c1 = id[0]; in get_two_cores()
77 lcp->c2 = id[1]; in get_two_cores()
90 unsigned int id[2]; in get_two_sockets() local
92 RTE_LCORE_FOREACH(id[0]) { in get_two_sockets()
93 RTE_LCORE_FOREACH(id[1]) { in get_two_sockets()
94 if (id[0] == id[1]) in get_two_sockets()
96 socket[0] = rte_lcore_to_socket_id(id[0]); in get_two_sockets()
97 socket[1] = rte_lcore_to_socket_id(id[1]); in get_two_sockets()
99 lcp->c1 = id[0]; in get_two_sockets()
100 lcp->c2 = id[1]; in get_two_sockets()