[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-21 Thread Wiles, Keith
On 1/21/16, 1:00 PM, "Matthew Hall" wrote: >On Thu, Jan 21, 2016 at 03:05:38PM +, Wiles, Keith wrote: >> Forgot to answer this one. Pktgen does not allow the user to define the >> content of the packet per say only the fill pattern and what ever you >> configure the packet type to be. If

[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-21 Thread Matthew Hall
On Thu, Jan 21, 2016 at 07:44:21PM +, Wiles, Keith wrote: > What type of data do you want to add to the packets? Now it builds > IPv4/UDP/TCP packets, do you need to replace UDP or TCP or just add more > protocol layers? I perform content inspection of various types: IPv4 - supported IPv6

[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-21 Thread Wiles, Keith
On 1/21/16, 12:15 AM, "dev on behalf of Matthew Hall" wrote: >Hello, > >I was trying to just use the default PKT file, test/set_seq.pkt, like so: > >sudo "./app/app/${RTE_TARGET}/pktgen" \ >-l 2,3 \ >--master-lcore 2 \ >-n 2 \ >-m 1024 \ >-w 0a:00.1 \ >--no-shconf \ >--file-prefix pktgen \ >-- \

[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-21 Thread Wiles, Keith
On 1/21/16, 12:15 AM, "dev on behalf of Matthew Hall" wrote: >Hello, > >I was trying to just use the default PKT file, test/set_seq.pkt, like so: > >sudo "./app/app/${RTE_TARGET}/pktgen" \ >-l 2,3 \ >--master-lcore 2 \ BTW, the lowest core will be the master by default in the -c or -l option,

[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-21 Thread Matthew Hall
On Thu, Jan 21, 2016 at 03:01:33PM +, Wiles, Keith wrote: > The problem is you used the same core (2) for the -m option. Core 2 is being > used for the keyboard, timer and screen output. This means you must have the > -m option starting with core 3 as in -m 3.0 and your problem should go

[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-21 Thread Matthew Hall
On Thu, Jan 21, 2016 at 03:05:38PM +, Wiles, Keith wrote: > Forgot to answer this one. Pktgen does not allow the user to define the > content of the packet per say only the fill pattern and what ever you > configure the packet type to be. If you would like to submit a patch for > adding

[dpdk-dev] [PKTGEN] dumb question: how to start packet TX and set the payload

2016-01-20 Thread Matthew Hall
Hello, I was trying to just use the default PKT file, test/set_seq.pkt, like so: sudo "./app/app/${RTE_TARGET}/pktgen" \ -l 2,3 \ --master-lcore 2 \ -n 2 \ -m 1024 \ -w 0a:00.1 \ --no-shconf \ --file-prefix pktgen \ -- \ -P \ -m 2.0 \ -f test/set_seq.pkt After pktgen loaded, the port 0 is