Home
last modified time | relevance | path

Searched refs:qos_conf (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/examples/qos_sched/
H A Dinit.c56 struct flow_conf qos_conf[MAX_DATA_STREAMS]; variable
386 uint32_t socket = rte_lcore_to_socket_id(qos_conf[i].rx_core); in app_init()
392 qos_conf[i].rx_ring = rte_ring_create(ring_name, ring_conf.ring_size, in app_init()
395 qos_conf[i].rx_ring = ring; in app_init()
403 qos_conf[i].tx_ring = ring; in app_init()
408 qos_conf[i].mbuf_pool = rte_pktmbuf_pool_create(pool_name, in app_init()
411 rte_eth_dev_socket_id(qos_conf[i].rx_port)); in app_init()
412 if (qos_conf[i].mbuf_pool == NULL) in app_init()
415 app_init_port(qos_conf[i].rx_port, qos_conf[i].mbuf_pool); in app_init()
416 app_init_port(qos_conf[i].tx_port, qos_conf[i].mbuf_pool); in app_init()
[all …]
H A Dstats.c21 if (qos_conf[i].tx_port == port_id) in qavg_q()
33 port = qos_conf[i].sched_port; in qavg_q()
67 if (qos_conf[i].tx_port == port_id) in qavg_tcpipe()
76 port = qos_conf[i].sched_port; in qavg_tcpipe()
122 if (qos_conf[i].tx_port == port_id) in qavg_pipe()
131 port = qos_conf[i].sched_port; in qavg_pipe()
169 if (qos_conf[i].tx_port == port_id) in qavg_tcsubport()
178 port = qos_conf[i].sched_port; in qavg_tcsubport()
247 port = qos_conf[i].sched_port; in qavg_subport()
299 port = qos_conf[i].sched_port; in subport_stat()
[all …]
H A Dargs.c223 pconf = &qos_conf[nb_pfc]; in app_parse_flow_conf()
438 if (qos_conf[i].rx_core >= nb_lcores) { in app_parse_args()
440 qos_conf[i].rx_core); in app_parse_args()
443 if (qos_conf[i].wt_core >= nb_lcores) { in app_parse_args()
445 qos_conf[i].wt_core); in app_parse_args()
448 uint32_t rx_sock = rte_lcore_to_socket_id(qos_conf[i].rx_core); in app_parse_args()
449 uint32_t wt_sock = rte_lcore_to_socket_id(qos_conf[i].wt_core); in app_parse_args()
454 app_numa_mask |= 1 << rte_lcore_to_socket_id(qos_conf[i].rx_core); in app_parse_args()
H A Dmain.c52 struct flow_conf *flow = &qos_conf[i]; in app_main_loop()
156 struct flow_conf *flow = &qos_conf[i]; in app_stat()
H A Dmain.h144 extern struct flow_conf qos_conf[];