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

Function check_worker_model_params

dpdk/examples/l3fwd-graph/main.c:192–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190};
191
192static int
193check_worker_model_params(void)
194{
195 if (model_conf == RTE_GRAPH_MODEL_MCORE_DISPATCH &&
196 nb_lcore_params > 1) {
197 printf("Exceeded max number of lcore params for remote model: %hu\n",
198 nb_lcore_params);
199 return -1;
200 }
201
202 return 0;
203}
204
205static int
206check_lcore_params(void)

Callers 1

mainFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected