[dpdk-users] dpdk rte_eth_tx_burst can't send chain mbuf
wuxikai986
wuxikai986 at 163.com
Mon Nov 12 15:39:41 CET 2018
dpdk:17.02
intel 82599 es dual port
i want send pkt by rte_eth_tx_burst , so, i build two rte_mbuf, such as:
rte_mbuf *buf1,*buf2;
buf1 = rte_pktmbuf_alloc(...)
buf2=rte_pktmbuf_alloc(...)
buf1->next = buf2;
buf2->next = NULL;
buf1->nb_segs = 2;
buf1->data_len = 64;
buf2->data_len = 64;
buf1->pkt_len = 128;
buf2_pkt_len = 64;
rte_eth_tx_burst(portid,queueid,(rte_mbuf**)&buf1,1);
can't send this pkt where is wrong ? thank you
More information about the users
mailing list