MCPcopy Create free account
hub / github.com/F-Stack/f-stack / prompt

Function prompt

dpdk/app/test-pmd/cmdline.c:13368–13380  ·  view source on GitHub ↗

prompt function, called from main on MAIN lcore */

Source from the content-addressed store, hash-verified

13366
13367/* prompt function, called from main on MAIN lcore */
13368void
13369prompt(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
13382void
13383cmd_reconfig_device_queue(portid_t id, uint8_t dev, uint8_t queue)

Callers 1

mainFunction · 0.70

Calls 3

cmdline_stdin_newFunction · 0.85
cmdline_interactFunction · 0.85
cmdline_stdin_exitFunction · 0.85

Tested by 1

mainFunction · 0.56