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

Function test_pdump_init

dpdk/app/test/test_pdump.c:27–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25uint16_t flag_for_send_pkts = 1;
26
27int
28test_pdump_init(void)
29{
30 int ret = 0;
31
32 ret = rte_pdump_init();
33 if (ret < 0) {
34 printf("rte_pdump_init failed\n");
35 return -1;
36 }
37 ret = test_ring_setup(&ring_server, &portid);
38 if (ret < 0) {
39 printf("test_ring_setup failed\n");
40 return -1;
41 }
42 printf("pdump_init success\n");
43 return ret;
44}
45
46int
47run_pdump_client_tests(void)

Callers 1

run_pdump_server_testsFunction · 0.85

Calls 3

rte_pdump_initFunction · 0.85
test_ring_setupFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected