From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1CCBBE72 for ; Fri, 18 Sep 2015 14:43:01 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 18 Sep 2015 05:43:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,552,1437462000"; d="scan'208";a="808057334" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by fmsmga002.fm.intel.com with ESMTP; 18 Sep 2015 05:43:00 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.224.2; Fri, 18 Sep 2015 20:42:58 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.110]) by shsmsx102.ccr.corp.intel.com ([169.254.2.179]) with mapi id 14.03.0248.002; Fri, 18 Sep 2015 20:42:57 +0800 From: "Liu, Yong" To: "Fan, ChangruX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue Thread-Index: AQHQ8bm+IAa/uZ9IDE67xCY2dqO/T55CO5eQ Date: Fri, 18 Sep 2015 12:42:57 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EF7325@SHSMSX103.ccr.corp.intel.com> References: <1442543055-43631-1-git-send-email-changrux.fan@intel.com> In-Reply-To: <1442543055-43631-1-git-send-email-changrux.fan@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] Fix the fdir_flexword_fwd_ipv4 failed issue X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2015 12:43:02 -0000 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 >=20 > Python grammar error. >=20 > Signed-off-by: changru > --- > tests/TestSuite_fdir.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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=3Dget_if_hwaddr("%s"), > dst=3D"00:1B:21:8E:B2:30")/IP(src=3D"192.168.0.1", > dst=3D"192.168.0.2")/SCTP(sport=3D32, dport=3D32, > tag=3D1)/SCTPChunkData(data=3D"%s")], iface=3D"%s")' % (self.dut_rx_inter= face, > 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() >=20 > self.dut.send_expect("quit", "# ", 30) > -- > 1.9.3