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

Function test_ring_mem_cmp

dpdk/app/test/test_ring.c:455–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455static int
456test_ring_mem_cmp(void *src, void *dst, unsigned int size)
457{
458 int ret;
459
460 ret = memcmp(src, dst, size);
461 if (ret) {
462 rte_hexdump(stdout, "src", src, size);
463 rte_hexdump(stdout, "dst", dst, size);
464 printf("data after dequeue is not the same\n");
465 }
466
467 return ret;
468}
469
470static void
471test_ring_print_test_string(const char *istr, unsigned int api_type, int esize)

Callers 6

test_ring_basic_exFunction · 0.85

Calls 2

rte_hexdumpFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected