[dpdk-users] [pktgen] A sequence command doen't work

Wiles, Keith keith.wiles at intel.com
Tue Aug 1 15:59:43 CEST 2017


> On Aug 1, 2017, at 2:04 AM, Tetsuro Nakamura <xyz1.8tn at gmail.com> wrote:
> 
> Hi Keith,
> 
> I had to comment out the lines below to compile pktgen3.3.5,
> but now the sequence commands work on pktgen3.3.5.
> 
> /*
> #ifndef RTE_DEVTYPE_BLACKLISTED_PCI
> #define RTE_DEVTYPE_BLACKLISTED_PCI RTE_DEVTYPE_BLACKLISTED
> #endif
> 
> #ifndef RTE_DEVTYPE_WHITELISTED_PCI
> #define RTE_DEVTYPE_WHITELISTED_PCI RTE_DEVTYPE_WHITELISTED
> #endif
> /  
> 

Please upgrade to the latest version 3.3.8 to have this fix.

> Thank you very much for your help.
> 
> 2017-07-23 2:12 GMT+09:00 Wiles, Keith <keith.wiles at intel.com>:
> 
> > On Jul 20, 2017, at 8:28 PM, Tetsuro Nakamura <xyz1.8tn at gmail.com> wrote:
> >
> > Hi all,
> >
> >
> > I moved from using pktgen3.0.13 to pktgen3.3.4
> >
> > But sequence commands dont work as well on pktgen3.3.4.
> 
> 
> I found the problem and push a new version pktgen-3.3.5 please give that one a try.
> 
> >
> >
> > ```````
> >
> > Pktgen:/>  set 0 seq_cnt 2
> >
> > # It works
> >
> >
> > Pktgen:/> sequence 0 0 0c:c4:7a:cf:66:11 0c:c4:7a:cf:66:01 192.168.1.1
> > 192.168.0.1/24 1234 5678 ipv4 udp 1 64
> > Sequence invalid command:
> >  Invalid line: <sequence 0 0 0c:c4:7a:cf:66:11 0c:c4:7a:cf:66:01
> > 192.168.1.1 192.168.0.1/24 1234 5678 ipv4 udp 1 64 >
> >
> > # doen't work though the command works on pktgen3.0.13
> >
> >
> > Pktgen:/> sequence 0 0 0c:c4:7a:cf:66:11 0c:c4:7a:cf:66:01 192.168.1.1
> > 192.168.0.1 1234 5678 ipv4 udp 1 64
> > Sequence invalid command:
> >  Invalid line: <sequence 0 0 0c:c4:7a:cf:66:11 0c:c4:7a:cf:66:01
> > 192.168.1.1 192.168.0.1 1234 5678 ipv4 udp 1 64 >
> >
> > # without networkmask specification doen't work as well
> >
> > ```````
> >
> > page seq works but shows the same sequences.
> > ```
> >
> > Port:  0, Sequence Count:  2 of 16
> >                                        GTPu
> >  Seq:            Dst MAC           Src MAC          Dst IP
> > Src IP    Port S/D Protocol:VLAN  Size  TEID
> > *   0:  00:00:00:00:00:00 0c:c4:7a:cf:66:c4     192.168.1.1
> > 192.168.0.1/24   1234/5678 IPv4/TCP:0001   64     0
> > *   1:  00:00:00:00:00:00 0c:c4:7a:cf:66:c4     192.168.1.1
> > 192.168.0.1/24   1234/5678 IPv4/TCP:0001   64     0
> >
> > ```
> >
> > Is this a known problem?
> > Are there any way to work around?
> >
> > Thanks in advance.
> > Tetsuro Nakamura
> 
> Regards,
> Keith
> 
> 

Regards,
Keith



More information about the users mailing list