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

Function parse_quota_update_name

dpdk/app/test-pmd/cmdline_flow.c:11770–11781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11768}
11769
11770static int
11771parse_quota_update_name(struct context *ctx, const struct token *token,
11772 const char *str, unsigned int len, void *buf,
11773 unsigned int size)
11774{
11775 struct rte_flow_update_quota *update = ctx->object;
11776
11777 return parse_name_to_index(ctx, token, str, len, buf, size,
11778 quota_update_names,
11779 RTE_DIM(quota_update_names),
11780 (uint32_t *)&update->op);
11781}
11782
11783static int
11784parse_qu_mode_name(struct context *ctx, const struct token *token,

Callers

nothing calls this directly

Calls 1

parse_name_to_indexFunction · 0.85

Tested by

no test coverage detected