prompt function, called from main on MAIN lcore */
| 13366 | |
| 13367 | /* prompt function, called from main on MAIN lcore */ |
| 13368 | void |
| 13369 | prompt(void) |
| 13370 | { |
| 13371 | testpmd_cl = cmdline_stdin_new(main_ctx, "testpmd> "); |
| 13372 | if (testpmd_cl == NULL) { |
| 13373 | fprintf(stderr, |
| 13374 | "Failed to create stdin based cmdline context\n"); |
| 13375 | return; |
| 13376 | } |
| 13377 | |
| 13378 | cmdline_interact(testpmd_cl); |
| 13379 | cmdline_stdin_exit(testpmd_cl); |
| 13380 | } |
| 13381 | |
| 13382 | void |
| 13383 | cmd_reconfig_device_queue(portid_t id, uint8_t dev, uint8_t queue) |