Home
last modified time | relevance | path

Searched refs:tx_mbufs (Results 1 – 17 of 17) sorted by relevance

/f-stack/dpdk/examples/l3fwd/
H A Dl3fwd_common.h186 len = qconf->tx_mbufs[port].len; in send_packetsx4()
213 qconf->tx_mbufs[port].m_table[len + j] = m[j]; in send_packetsx4()
217 qconf->tx_mbufs[port].m_table[len + j] = m[j]; in send_packetsx4()
221 qconf->tx_mbufs[port].m_table[len + j] = m[j]; in send_packetsx4()
225 qconf->tx_mbufs[port].m_table[len + j] = m[j]; in send_packetsx4()
243 qconf->tx_mbufs[port].m_table[j] = m[n + j]; in send_packetsx4()
247 qconf->tx_mbufs[port].m_table[j] = m[n + j]; in send_packetsx4()
251 qconf->tx_mbufs[port].m_table[j] = m[n + j]; in send_packetsx4()
255 qconf->tx_mbufs[port].m_table[j] = m[n + j]; in send_packetsx4()
261 qconf->tx_mbufs[port].len = len; in send_packetsx4()
H A Dl3fwd.h75 struct mbuf_table tx_mbufs[RTE_MAX_ETHPORTS]; member
106 m_table = (struct rte_mbuf **)qconf->tx_mbufs[port].m_table; in send_burst()
125 len = qconf->tx_mbufs[port].len; in send_single_packet()
126 qconf->tx_mbufs[port].m_table[len] = m; in send_single_packet()
135 qconf->tx_mbufs[port].len = len; in send_single_packet()
H A Dl3fwd_lpm.c221 if (qconf->tx_mbufs[portid].len == 0) in lpm_main_loop()
224 qconf->tx_mbufs[portid].len, in lpm_main_loop()
226 qconf->tx_mbufs[portid].len = 0; in lpm_main_loop()
H A Dl3fwd_em.c665 if (qconf->tx_mbufs[portid].len == 0) in em_main_loop()
668 qconf->tx_mbufs[portid].len, in em_main_loop()
670 qconf->tx_mbufs[portid].len = 0; in em_main_loop()
/f-stack/dpdk/examples/ip_fragmentation/
H A Dmain.c143 struct mbuf_table tx_mbufs[RTE_MAX_ETHPORTS]; member
264 len = qconf->tx_mbufs[port_out].len; in l3fwd_simple_forward()
280 len = qconf->tx_mbufs[port_out].len; in l3fwd_simple_forward()
289 &qconf->tx_mbufs[port_out].m_table[len], in l3fwd_simple_forward()
318 len = qconf->tx_mbufs[port_out].len; in l3fwd_simple_forward()
327 &qconf->tx_mbufs[port_out].m_table[len], in l3fwd_simple_forward()
349 m = qconf->tx_mbufs[port_out].m_table[i]; in l3fwd_simple_forward()
380 qconf->tx_mbufs[port_out].len = 0; in l3fwd_simple_forward()
429 if (qconf->tx_mbufs[portid].len == 0) in main_loop()
432 qconf->tx_mbufs[portid].len, in main_loop()
[all …]
/f-stack/dpdk/examples/ipv4_multicast/
H A Dmain.c104 struct mbuf_table tx_mbufs[MAX_PORTS]; member
167 m_table = (struct rte_mbuf **)qconf->tx_mbufs[port].m_table; in send_burst()
168 n = qconf->tx_mbufs[port].len; in send_burst()
176 qconf->tx_mbufs[port].len = 0; in send_burst()
282 len = qconf->tx_mbufs[port].len; in mcast_send_pkt()
283 qconf->tx_mbufs[port].m_table[len] = pkt; in mcast_send_pkt()
284 qconf->tx_mbufs[port].len = ++len; in mcast_send_pkt()
372 if (qconf->tx_mbufs[portid].len != 0) in send_timeout_burst()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dlink_status_intr.rst219 struct mbuf_table tx_mbufs[LSI_MAX_PORTS];
353 len = qconf->tx_mbufs[port].len;
354 qconf->tx_mbufs[port].m_table[len] = m;
363 qconf->tx_mbufs[port].len = len;
386 if (qconf->tx_mbufs[portid].len == 0)
390 qconf->tx_mbufs[portid].len, (uint8_t) portid);
391 qconf->tx_mbufs[portid].len = 0;
H A Dl2_forward_real_virtual.rst280 struct mbuf_table tx_mbufs[L2FWD_MAX_PORTS];
408 len = qconf->tx_mbufs[port].len;
409 qconf->tx_mbufs[port].m_table[len] = m;
419 qconf->tx_mbufs[port].len = len; return 0;
438 if (qconf->tx_mbufs[portid].len == 0)
441 … l2fwd_send_burst(&lcore_queue_conf[lcore_id], qconf->tx_mbufs[portid].len, (uint8_t) portid);
443 qconf->tx_mbufs[portid].len = 0;
H A Dl2_forward_job_stats.rst249 truct mbuf_table tx_mbufs[RTE_MAX_ETHPORTS];
500 len = qconf->tx_mbufs[port].len;
501 qconf->tx_mbufs[port].m_table[len] = m;
511 qconf->tx_mbufs[port].len = len; return 0;
539 m_table = &qconf->tx_mbufs[portid];
H A Dipv4_multicast.rst236 len = qconf->tx_mbufs[port].len;
237 qconf->tx_mbufs[port].m_table[len] = pkt;
238 qconf->tx_mbufs[port].len = ++len;
H A Dl2_forward_event.rst278 struct mbuf_table tx_mbufs[L2FWD_MAX_PORTS];
/f-stack/lib/
H A Dff_memory.h91 struct mbuf_table tx_mbufs[RTE_MAX_ETHPORTS]; member
H A Dff_dpdk_if.c1637 m_table = (struct rte_mbuf **)qconf->tx_mbufs[port].m_table;
1653 if (qconf->tx_mbufs[port].bsd_m_table[i])
1661 if ( qconf->tx_mbufs[port].bsd_m_table[ret] )
1662 ff_mbuf_free(qconf->tx_mbufs[port].bsd_m_table[ret]);
1677 len = qconf->tx_mbufs[port].len;
1678 qconf->tx_mbufs[port].m_table[len] = m;
1687 qconf->tx_mbufs[port].len = len;
1704 qconf->tx_mbufs[ctx->port_id].len = len;
1859 if (qconf->tx_mbufs[port_id].len == 0)
1865 qconf->tx_mbufs[port_id].len,
[all …]
H A Dff_memory.c469 len = qconf->tx_mbufs[ctx->port_id].len; in ff_if_send_onepkt()
470 qconf->tx_mbufs[ctx->port_id].m_table[len] = head; in ff_if_send_onepkt()
471 qconf->tx_mbufs[ctx->port_id].bsd_m_table[len] = m; in ff_if_send_onepkt()
/f-stack/dpdk/examples/performance-thread/l3fwd-thread/
H A Dmain.c608 struct mbuf_table tx_mbufs[RTE_MAX_ETHPORTS]; member
651 len = qconf->tx_mbufs[port].len; in send_single_packet()
652 qconf->tx_mbufs[port].m_table[len] = m; in send_single_packet()
661 qconf->tx_mbufs[port].len = len; in send_single_packet()
679 len = qconf->tx_mbufs[port].len; in send_packetsx4()
736 qconf->tx_mbufs[port].m_table[j] = m[n + j]; in send_packetsx4()
754 qconf->tx_mbufs[port].len = len; in send_packetsx4()
2105 if (tx_conf->tx_mbufs[portid].len == 0) in lthread_tx()
2110 tx_conf->tx_mbufs[portid].len = 0; in lthread_tx()
2343 if (tx_conf->tx_mbufs[portid].len == 0) in pthread_tx()
[all …]
/f-stack/dpdk/examples/ip_reassembly/
H A Dmain.c157 struct mbuf_table *tx_mbufs[RTE_MAX_ETHPORTS]; member
253 txmb = qconf->tx_mbufs[port]; in send_burst()
287 txmb = qconf->tx_mbufs[port]; in send_single_packet()
842 qconf->tx_mbufs[port] = mtb; in setup_port_tbl()
/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.c219 struct buffer tx_mbufs[RTE_MAX_ETHPORTS]; member
540 m_table = (struct rte_mbuf **)qconf->tx_mbufs[port].m_table; in send_burst()
568 tbl = qconf->tx_mbufs + port; in send_fragment_packet()
611 len = qconf->tx_mbufs[port].len; in send_single_packet()
614 qconf->tx_mbufs[port].m_table[len] = m; in send_single_packet()
629 qconf->tx_mbufs[port].len = len; in send_single_packet()
1058 buf = &qconf->tx_mbufs[portid]; in drain_tx_buffers()