test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue
@ 2015-09-18  2:24 changru
  2015-09-18 12:42 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: changru @ 2015-09-18  2:24 UTC (permalink / raw)
  To: dts

Python grammar error.

Signed-off-by: changru <changrux.fan@intel.com>
---
 tests/TestSuite_fdir.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
index 5e1196d..94c5e0a 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -597,7 +597,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
             self.dut.send_expect("flow_director_filter %s add flow ipv4-sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 1, 1), "testpmd>")
             self.dut.send_expect("flow_director_filter %s update flow ipv4-sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 2, 1), "testpmd>")
             self.send_and_verify(True, 'sendp([Ether(src=get_if_hwaddr("%s"), dst="00:1B:21:8E:B2:30")/IP(src="192.168.0.1", dst="192.168.0.2")/SCTP(sport=32, dport=32, tag=1)/SCTPChunkData(data="%s")], iface="%s")' % (self.dut_rx_interface, self.payload, self.dut_rx_interface))
-            self.dut.send_expect("flow_director_filter 0 del flow ipv4-sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 2, 1), "testpmd>")
+            self.dut.send_expect("flow_director_filter %s del flow ipv4-sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 2, 1), "testpmd>")
         self.fdir_get_flexbytes()
 
         self.dut.send_expect("quit", "# ", 30)
-- 
1.9.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue
  2015-09-18  2:24 [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue changru
@ 2015-09-18 12:42 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-09-18 12:42 UTC (permalink / raw)
  To: Fan, ChangruX, dts

Thanks. Applied.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changru
> Sent: Friday, September 18, 2015 10:24 AM
> To: dts@dpdk.org
> Subject: [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue
> 
> Python grammar error.
> 
> Signed-off-by: changru <changrux.fan@intel.com>
> ---
>  tests/TestSuite_fdir.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
> index 5e1196d..94c5e0a 100644
> --- a/tests/TestSuite_fdir.py
> +++ b/tests/TestSuite_fdir.py
> @@ -597,7 +597,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
>              self.dut.send_expect("flow_director_filter %s add flow ipv4-
> sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes
> (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 1, 1),
> "testpmd>")
>              self.dut.send_expect("flow_director_filter %s update flow
> ipv4-sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0
> flexbytes (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes,
> 2, 1), "testpmd>")
>              self.send_and_verify(True,
> 'sendp([Ether(src=get_if_hwaddr("%s"),
> dst="00:1B:21:8E:B2:30")/IP(src="192.168.0.1",
> dst="192.168.0.2")/SCTP(sport=32, dport=32,
> tag=1)/SCTPChunkData(data="%s")], iface="%s")' % (self.dut_rx_interface,
> self.payload, self.dut_rx_interface))
> -            self.dut.send_expect("flow_director_filter 0 del flow ipv4-
> sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes
> (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 2, 1),
> "testpmd>")
> +            self.dut.send_expect("flow_director_filter %s del flow ipv4-
> sctp src 192.168.0.1 32 dst 192.168.0.2 32 verify_tag 1 vlan 0 flexbytes
> (%s) fwd queue %d fd_id %d "%(self.dut_ports[0],self.flexbytes, 2, 1),
> "testpmd>")
>          self.fdir_get_flexbytes()
> 
>          self.dut.send_expect("quit", "# ", 30)
> --
> 1.9.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-18 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-18  2:24 [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue changru
2015-09-18 12:42 ` Liu, Yong

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).