test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
  2021-02-04 11:35 [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step sunqin
@ 2021-02-04  3:10 ` Sun, QinX
  2021-02-19  7:42   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Sun, QinX @ 2021-02-04  3:10 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

Tested-by: Sun, QinX <qinx.sun@intel.com>
 
Regards,
Sun Qin

> -----Original Message-----
> From: sunqin <qinx.sun@intel.com>
> Sent: Thursday, February 4, 2021 7:36 PM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step

[-- Attachment #2: TestCVLAdvancedRSSGTPU.log --]
[-- Type: application/octet-stream, Size: 24550 bytes --]

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

* [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
@ 2021-02-04 11:35 sunqin
  2021-02-04  3:10 ` Sun, QinX
  0 siblings, 1 reply; 3+ messages in thread
From: sunqin @ 2021-02-04 11:35 UTC (permalink / raw)
  To: dts; +Cc: sunqin

The action after deleting rule is not guaranteed, so remove related steps.

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_cvl_advanced_rss_gtpu.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tests/TestSuite_cvl_advanced_rss_gtpu.py b/tests/TestSuite_cvl_advanced_rss_gtpu.py
index b41a5d4a..8dd9fdbc 100755
--- a/tests/TestSuite_cvl_advanced_rss_gtpu.py
+++ b/tests/TestSuite_cvl_advanced_rss_gtpu.py
@@ -4863,18 +4863,6 @@ class TestCVLAdvancedRSSGTPU(TestCase):
         self.verify(hash_values[4] != hash_values[3], 'packet 5 should has different hash value with packet 4')
         self.verify(hash_values[5] == hash_values[3], 'packet 6 should has same hash value with packet 4')
 
-        self.rssprocess.destroy_rule(port_id=0, rule_id=rule0)
-        hash_values, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1[3:])
-        self.verify(hash_values[1] != hash_values[0], 'should get different hash values')
-        self.verify(hash_values[2] == hash_values[0], 'should get same hash values')
-
-        rule2 = self.rssprocess.create_rule(rules[0])
-        hash_values, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1)
-        self.verify(hash_values[1] == hash_values[0], 'packet 2 should has same hash value with packet 1')
-        self.verify(hash_values[2] != hash_values[0], 'packet 3 should has different hash value with packet 1')
-        self.verify(hash_values[4] == hash_values[3], 'packet 5 should has same hash value with packet 4')
-        self.verify(hash_values[5] != hash_values[3], 'packet 6 should has different hash value with packet 4')
-
     def test_ipv4_gtpu_eh_ipv4_and_ipv4_gtpu_eh_ipv4_udp_tcp(self):
         self.switch_testpmd(enable_rss=True)
         pkts1 = [
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
  2021-02-04  3:10 ` Sun, QinX
@ 2021-02-19  7:42   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-02-19  7:42 UTC (permalink / raw)
  To: Sun, QinX, dts

Applied

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Sun, QinX
> Sent: 2021年2月4日 11:11
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule
> step
> 
> Tested-by: Sun, QinX <qinx.sun@intel.com>
> 
> Regards,
> Sun Qin
> 
> > -----Original Message-----
> > From: sunqin <qinx.sun@intel.com>
> > Sent: Thursday, February 4, 2021 7:36 PM
> > To: dts@dpdk.org
> > Cc: Sun, QinX <qinx.sun@intel.com>
> > Subject: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule
> step

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

end of thread, other threads:[~2021-02-19  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 11:35 [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step sunqin
2021-02-04  3:10 ` Sun, QinX
2021-02-19  7:42   ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git