* [dpdk-users] [pktgen] A sequence command doen't work
@ 2017-07-21 1:28 Tetsuro Nakamura
2017-07-22 17:12 ` Wiles, Keith
0 siblings, 1 reply; 4+ messages in thread
From: Tetsuro Nakamura @ 2017-07-21 1:28 UTC (permalink / raw)
To: users
Hi all,
I moved from using pktgen3.0.13 to pktgen3.3.4
But sequence commands dont work as well on pktgen3.3.4.
```````
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] [pktgen] A sequence command doen't work
2017-07-21 1:28 [dpdk-users] [pktgen] A sequence command doen't work Tetsuro Nakamura
@ 2017-07-22 17:12 ` Wiles, Keith
2017-08-01 7:04 ` Tetsuro Nakamura
0 siblings, 1 reply; 4+ messages in thread
From: Wiles, Keith @ 2017-07-22 17:12 UTC (permalink / raw)
To: Tetsuro Nakamura; +Cc: users
> On Jul 20, 2017, at 8:28 PM, Tetsuro Nakamura <xyz1.8tn@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] [pktgen] A sequence command doen't work
2017-07-22 17:12 ` Wiles, Keith
@ 2017-08-01 7:04 ` Tetsuro Nakamura
2017-08-01 13:59 ` Wiles, Keith
0 siblings, 1 reply; 4+ messages in thread
From: Tetsuro Nakamura @ 2017-08-01 7:04 UTC (permalink / raw)
To: Wiles, Keith; +Cc: users
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
/
Thank you very much for your help.
2017-07-23 2:12 GMT+09:00 Wiles, Keith <keith.wiles@intel.com>:
>
> > On Jul 20, 2017, at 8:28 PM, Tetsuro Nakamura <xyz1.8tn@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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-users] [pktgen] A sequence command doen't work
2017-08-01 7:04 ` Tetsuro Nakamura
@ 2017-08-01 13:59 ` Wiles, Keith
0 siblings, 0 replies; 4+ messages in thread
From: Wiles, Keith @ 2017-08-01 13:59 UTC (permalink / raw)
To: Tetsuro Nakamura; +Cc: users
> On Aug 1, 2017, at 2:04 AM, Tetsuro Nakamura <xyz1.8tn@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@intel.com>:
>
> > On Jul 20, 2017, at 8:28 PM, Tetsuro Nakamura <xyz1.8tn@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-01 13:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 1:28 [dpdk-users] [pktgen] A sequence command doen't work Tetsuro Nakamura
2017-07-22 17:12 ` Wiles, Keith
2017-08-01 7:04 ` Tetsuro Nakamura
2017-08-01 13:59 ` Wiles, Keith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).