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

Function mbuf_check_pass

dpdk/app/test/test_mbuf.c:1171–1180  ·  view source on GitHub ↗

Verify if mbuf can pass the check */

Source from the content-addressed store, hash-verified

1169#else
1170/* Verify if mbuf can pass the check */
1171static bool
1172mbuf_check_pass(struct rte_mbuf *buf)
1173{
1174 const char *reason;
1175
1176 if (rte_mbuf_check(buf, 1, &reason) == 0)
1177 return true;
1178
1179 return false;
1180}
1181
1182static int
1183test_failing_mbuf_sanity_check(struct rte_mempool *pktmbuf_pool)

Callers 1

Calls 1

rte_mbuf_checkFunction · 0.85

Tested by

no test coverage detected