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

Function tmgr_port_find

dpdk/examples/ip_pipeline/tmgr.c:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41struct tmgr_port *
42tmgr_port_find(const char *name)
43{
44 struct tmgr_port *tmgr_port;
45
46 if (name == NULL)
47 return NULL;
48
49 TAILQ_FOREACH(tmgr_port, &tmgr_port_list, node)
50 if (strcmp(tmgr_port->name, name) == 0)
51 return tmgr_port;
52
53 return NULL;
54}
55
56int
57tmgr_subport_profile_add(struct rte_sched_subport_profile_params *params)

Callers 5

tmgr_port_createFunction · 0.85
tmgr_subport_configFunction · 0.85
tmgr_pipe_configFunction · 0.85
pipeline_port_in_createFunction · 0.85
pipeline_port_out_createFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected