[dpdk-users] PktGen Ethertype

James Bensley jwbensley at gmail.com
Wed May 10 11:09:29 CEST 2017

On 9 May 2017 at 14:56, Wiles, Keith <keith.wiles at intel.com> wrote:

Hi Keith!

> The range command can allow you to adjust the type field and then send those in a burst. The problem is pktgen was designed to send packets at a high rate if needed and that means setting up the packets before hand. The number of packets being able to be setup before hand is 8192. The random command can adjust the ether type randomly for each packet with a performance hit. Maybe one of these would help.

So it sounds like the range command is what I want then, if I can
systematically adjust the EtherType field (e.g. I can explicitly say
start at 0x0 and run to 0xFFFF) just with the caveat that I have to
send a burst of packet for each loop iteration?

If that is the case I don't mind, it will still get the job done of
testing every Ethertype through a DUT. Any chance I can lower the
burst size on the CLI to 64 packets for example to speed things up?

> Also I am more then willing to take patches :-)

Sure, I didn't want to spend hours testing to find out that I can't do
what I wanted to do which is why I asked here.

Sounds like it can be done so I'll have a poke around with the code
and see what I can do.

Thanks for your help it is greatly appreciated,

More information about the users mailing list