[dpdk-dev] random pkt generator PMD

Yerden Zhumabekov e_zhumabekov at sts.kz
Wed Jun 15 14:54:53 CEST 2016



On 15.06.2016 18:25, Dumitrescu, Cristian wrote:

>>>> So add a loop-mode to pcap pmd?
>>> It would be nice to have an option like "...,rewind=1,...".
>> As Cristian points out in
>> http://dpdk.org/ml/archives/dev/2016-June/041589.html, the current pmd
>> behavior of stopping is the odd man out in the pmd crowd.
>>
>> Rather than whether to rewind or not, I'd make the number of loops
>> configurable, defaulting to forever and 1 being the equal to current
>> behavior.
>>
>> 	- Panu -
> +1

I'm afraid, all packets from pcap file would need to be preloaded to 
memory. Otherwise, each loop would infer pcap_open/pcap_close(), am I wrong?


More information about the dev mailing list