[prev in list] [next in list] [prev in thread] [next in thread]
List: dpdk-users
Subject: [dpdk-users] dpdk rte_eth_tx_burst can't send chain mbuf
From: wuxikai986 <wuxikai986 () 163 ! com>
Date: 2018-11-12 14:39:41
Message-ID: 56a12507.12bd9.167085d2514.Coremail.wuxikai986 () 163 ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic