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

Function build_convert_rules

dpdk/app/test/test_acl.c:895–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

893
894
895static int
896build_convert_rules(struct rte_acl_ctx *acx,
897 void (*config)(struct rte_acl_config *),
898 size_t max_size)
899{
900 struct rte_acl_config cfg;
901
902 memset(&cfg, 0, sizeof(cfg));
903 config(&cfg);
904 cfg.max_size = max_size;
905 return rte_acl_build(acx, &cfg);
906}
907
908static int
909test_convert_rules(const char *desc,

Callers 2

test_convert_rulesFunction · 0.85
test_u32_rangeFunction · 0.85

Calls 3

memsetFunction · 0.85
rte_acl_buildFunction · 0.85
configFunction · 0.50

Tested by

no test coverage detected