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

Function print_fdir_flex_mask

dpdk/app/test-pmd/config.c:6472–6487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6470}
6471
6472static inline void
6473print_fdir_flex_mask(struct rte_eth_fdir_flex_conf *flex_conf, uint32_t num)
6474{
6475 struct rte_eth_fdir_flex_mask *mask;
6476 uint32_t i, j;
6477 const char *p;
6478
6479 for (i = 0; i < flex_conf->nb_flexmasks; i++) {
6480 mask = &flex_conf->flex_mask[i];
6481 p = flowtype_to_str(mask->flow_type);
6482 printf("\n %s:\t", p ? p : "unknown");
6483 for (j = 0; j < num; j++)
6484 printf(" %02x", mask->mask[j]);
6485 }
6486 printf("\n");
6487}
6488
6489static inline void
6490print_fdir_flow_type(uint32_t flow_types_mask)

Callers 1

fdir_get_infosFunction · 0.85

Calls 2

flowtype_to_strFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected