Lines Matching defs:lcore

105  * per lcore and mtable per port per lcore. RTE_MAX is used to ensure that
830 sleep_until_rx_interrupt(int num, int lcore)
846 if (status[lcore].wakeup) {
848 "lcore %u sleeps until interrupt triggers\n",
859 "lcore %u is waked up from rx interrupt on"
863 status[lcore].wakeup = n != 0;
938 RTE_LOG(INFO, L3FWD_POWER, "lcore %u has nothing to do\n",
943 RTE_LOG(INFO, L3FWD_POWER, "entering main interrupt loop on lcore %u\n",
1105 RTE_LOG(INFO, L3FWD_POWER, "lcore %u has nothing to do\n",
1110 RTE_LOG(INFO, L3FWD_POWER, "entering main telemetry loop on lcore %u\n",
1226 RTE_LOG(INFO, L3FWD_POWER, "lcore %u has nothing to do\n", lcore_id);
1230 RTE_LOG(INFO, L3FWD_POWER, "entering main loop on lcore %u\n", lcore_id);
1400 uint32_t lcore;
1409 lcore = lcore_params[i].lcore_id;
1410 if (!rte_lcore_is_enabled(lcore)) {
1411 printf("error: lcore %u is not enabled in lcore "
1412 "mask\n", lcore);
1415 if ((socketid = rte_lcore_to_socket_id(lcore) != 0) &&
1417 printf("warning: lcore %u is on socket %d with numa "
1418 "off\n", lcore, socketid);
1420 if (app_mode == APP_MODE_TELEMETRY && lcore == rte_lcore_id()) {
1469 uint32_t lcore;
1472 lcore = lcore_params[i].lcore_id;
1473 nb_rx_queue = lcore_conf[lcore].n_rx_queue;
1475 printf("error: too many queues (%u) for lcore: %u\n",
1476 (unsigned int)nb_rx_queue + 1, lcore);
1479 lcore_conf[lcore].rx_queue_list[nb_rx_queue].port_id =
1481 lcore_conf[lcore].rx_queue_list[nb_rx_queue].queue_id =
1483 lcore_conf[lcore].n_rx_queue++;
1494 " [--config (port,queue,lcore)[,(port,queue,lcore]]"
1503 " --config (port,queue,lcore): rx queues configuration\n"
1687 printf("exceeded max number of lcore params: %hu\n",
2112 rte_exit(EXIT_FAILURE, "Socket %d of lcore %u is "
2284 "Failed to get cpu resume latency on lcore-%u, ret=%d.\n",
2290 * Set the cpu resume latency of the worker lcore based
2299 "Failed to set cpu resume latency on lcore-%u, ret=%d.\n",
2441 rte_panic("timer on lcore:%d which is not main core:%d\n",
2728 /* init one TX queue per couple (lcore,port) */
2770 /* init timer structures for each enabled lcore */
2779 printf("\nInitializing rx queues on lcore %u ... ", lcore_id );
2826 "Error setting pause_duration: err=%d, lcore=%d\n",
2833 "Error setting scaling freq min: err=%d, lcore=%d\n",
2840 "Error setting scaling freq max: err=%d, lcore %d\n",
2891 /* launch per-lcore init on every lcore */