Home
last modified time | relevance | path

Searched refs:tmgr_port (Results 1 – 7 of 7) sorted by relevance

/f-stack/dpdk/examples/ip_pipeline/
H A Dtmgr.c108 struct tmgr_port *
111 struct tmgr_port *tmgr_port; in tmgr_port_find() local
118 return tmgr_port; in tmgr_port_find()
157 struct tmgr_port *
162 struct tmgr_port *tmgr_port; in tmgr_port_create() local
231 tmgr_port = calloc(1, sizeof(struct tmgr_port)); in tmgr_port_create()
238 strlcpy(tmgr_port->name, name, sizeof(tmgr_port->name)); in tmgr_port_create()
239 tmgr_port->s = s; in tmgr_port_create()
246 return tmgr_port; in tmgr_port_create()
254 struct tmgr_port *port; in tmgr_subport_config()
[all …]
H A Dtmgr.h28 struct tmgr_port { struct
29 TAILQ_ENTRY(tmgr_port) node;
36 TAILQ_HEAD(tmgr_port_list, tmgr_port); argument
41 struct tmgr_port *
59 struct tmgr_port *
H A Dpipeline.c235 struct tmgr_port *tmgr_port; in pipeline_port_in_create() local
237 tmgr_port = tmgr_port_find(params->dev_name); in pipeline_port_in_create()
238 if (tmgr_port == NULL) in pipeline_port_in_create()
241 pp.sched.sched = tmgr_port->s; in pipeline_port_in_create()
501 struct tmgr_port *tmgr_port; in pipeline_port_out_create() local
503 tmgr_port = tmgr_port_find(params->dev_name); in pipeline_port_out_create()
504 if (tmgr_port == NULL) in pipeline_port_out_create()
507 pp.sched.sched = tmgr_port->s; in pipeline_port_out_create()
H A Dcli.c521 struct tmgr_port *tmgr_port; in cmd_tmgr() local
590 tmgr_port = tmgr_port_create(name, &p); in cmd_tmgr()
591 if (tmgr_port == NULL) { in cmd_tmgr()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_pipeline.c310 struct softnic_tmgr_port *tmgr_port; in softnic_pipeline_port_in_create() local
312 tmgr_port = softnic_tmgr_port_find(softnic, params->dev_name); in softnic_pipeline_port_in_create()
313 if (tmgr_port == NULL) in softnic_pipeline_port_in_create()
316 pp.sched.sched = tmgr_port->s; in softnic_pipeline_port_in_create()
550 struct softnic_tmgr_port *tmgr_port; in softnic_pipeline_port_out_create() local
552 tmgr_port = softnic_tmgr_port_find(softnic, params->dev_name); in softnic_pipeline_port_out_create()
553 if (tmgr_port == NULL) in softnic_pipeline_port_out_create()
556 pp.sched.sched = tmgr_port->s; in softnic_pipeline_port_out_create()
H A Drte_eth_softnic_tm.c30 struct softnic_tmgr_port *tmgr_port; in softnic_tmgr_free() local
33 if (tmgr_port == NULL) in softnic_tmgr_free()
37 rte_sched_port_free(tmgr_port->s); in softnic_tmgr_free()
38 free(tmgr_port); in softnic_tmgr_free()
53 return tmgr_port; in softnic_tmgr_port_find()
123 if (tmgr_port == NULL) { in softnic_tmgr_port_create()
129 strlcpy(tmgr_port->name, name, sizeof(tmgr_port->name)); in softnic_tmgr_port_create()
130 tmgr_port->s = sched; in softnic_tmgr_port_create()
135 return tmgr_port; in softnic_tmgr_port_create()
144 if (tmgr_port == NULL) in SCHED()
[all …]
H A Drte_eth_softnic_cli.c1437 struct softnic_tmgr_port *tmgr_port; in cmd_tmgr() local
1446 tmgr_port = softnic_tmgr_port_create(softnic, name); in cmd_tmgr()
1447 if (tmgr_port == NULL) { in cmd_tmgr()