简体   繁体   中英

dpdk flow type, pctype, rss and pktgen questions

As a new DPDK user, I am grateful if someone can help answer following basic questions.

  • I see from the document and source code, there are packet type (eg, 172 IPV4 GTPU IPV4 TCP PAY4), packet classification type (pctype), and flow type (eg, 0 to 22). What are these types and their relations?
  • DPDK has to map hardware type (pctype?) to the software flow type to run RSS. Why is this and how it is done?
  • DPDK has mempool and it can allocate interleaved memory based on channels and ranks. But I don't understand how it is done (eg, in the two figures in the link).
  • Last question is about the pktgen. Can it send eg, 10 packets and stop? Or can it send pcap file once after it's loaded? I found it just keeps sending packets over and over.

Thanks.

Can it send eg, 10 packets and stop? Yes

set 0 count 10

While 0 is the port number

We've used pktgen-dpdk to send 1000000 packets and the remote could receive such number of packets.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM