Lines Matching refs:qconf
223 send_burst(struct lcore_queue_conf *qconf, uint16_t n, uint16_t port) in send_burst() argument
229 queueid = qconf->tx_queue_id[port]; in send_burst()
230 m_table = (struct rte_mbuf **)qconf->tx_mbufs[port].m_table; in send_burst()
243 l3fwd_simple_forward(struct rte_mbuf *m, struct lcore_queue_conf *qconf, in l3fwd_simple_forward() argument
254 rxq = &qconf->rx_queue_list[queueid]; in l3fwd_simple_forward()
267 len = qconf->tx_mbufs[port_out].len; in l3fwd_simple_forward()
283 len = qconf->tx_mbufs[port_out].len; in l3fwd_simple_forward()
288 qconf->tx_mbufs[port_out].m_table[len] = m; in l3fwd_simple_forward()
292 &qconf->tx_mbufs[port_out].m_table[len], in l3fwd_simple_forward()
321 len = qconf->tx_mbufs[port_out].len; in l3fwd_simple_forward()
326 qconf->tx_mbufs[port_out].m_table[len] = m; in l3fwd_simple_forward()
330 &qconf->tx_mbufs[port_out].m_table[len], in l3fwd_simple_forward()
345 qconf->tx_mbufs[port_out].m_table[len] = m; in l3fwd_simple_forward()
352 m = qconf->tx_mbufs[port_out].m_table[i]; in l3fwd_simple_forward()
377 qconf->tx_mbufs[port_out].len = (uint16_t)len; in l3fwd_simple_forward()
382 send_burst(qconf, (uint16_t)len, port_out); in l3fwd_simple_forward()
383 qconf->tx_mbufs[port_out].len = 0; in l3fwd_simple_forward()
395 struct lcore_queue_conf *qconf; in main_loop() local
401 qconf = &lcore_queue_conf[lcore_id]; in main_loop()
403 if (qconf->n_rx_queue == 0) { in main_loop()
410 for (i = 0; i < qconf->n_rx_queue; i++) { in main_loop()
412 portid = qconf->rx_queue_list[i].portid; in main_loop()
432 if (qconf->tx_mbufs[portid].len == 0) in main_loop()
435 qconf->tx_mbufs[portid].len, in main_loop()
437 qconf->tx_mbufs[portid].len = 0; in main_loop()
446 for (i = 0; i < qconf->n_rx_queue; i++) { in main_loop()
448 portid = qconf->rx_queue_list[i].portid; in main_loop()
462 l3fwd_simple_forward(pkts_burst[j], qconf, i, portid); in main_loop()
467 l3fwd_simple_forward(pkts_burst[j], qconf, i, portid); in main_loop()
863 struct lcore_queue_conf *qconf; in main() local
911 qconf = &lcore_queue_conf[rx_lcore_id]; in main()
926 qconf->n_rx_queue == (unsigned)rx_queue_per_lcore) { in main()
932 qconf = &lcore_queue_conf[rx_lcore_id]; in main()
939 rxq = &qconf->rx_queue_list[qconf->n_rx_queue]; in main()
945 qconf->n_rx_queue++; in main()
1034 qconf = &lcore_queue_conf[lcore_id]; in main()
1035 qconf->tx_queue_id[portid] = queueid; in main()