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

Function print_key_info

dpdk/app/test/test_efd.c:49–60  ·  view source on GitHub ↗

* Print out result of unit test efd operation. */

Source from the content-addressed store, hash-verified

47 * Print out result of unit test efd operation.
48 */
49static void print_key_info(const char *msg, const struct flow_key *key,
50 efd_value_t val)
51{
52 const uint8_t *p = (const uint8_t *) key;
53 unsigned int i;
54
55 rte_log(RTE_LOG_DEBUG, efd_logtype_test, "%s key:0x", msg);
56 for (i = 0; i < sizeof(struct flow_key); i++)
57 rte_log(RTE_LOG_DEBUG, efd_logtype_test, "%02X", p[i]);
58
59 rte_log(RTE_LOG_DEBUG, efd_logtype_test, " @ val %d\n", val);
60}
61
62/* Keys used by unit test functions */
63static struct flow_key keys[5] = {

Callers 3

test_add_deleteFunction · 0.70
test_add_update_deleteFunction · 0.70
test_five_keysFunction · 0.70

Calls 1

rte_logFunction · 0.85

Tested by

no test coverage detected