test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH] TestSuite_link_flowctrl.py: pause_frame_fwd is not supported for cavium_a064
@ 2019-08-09  4:29 nareddy
  2019-08-12  6:53 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: nareddy @ 2019-08-09  4:29 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, Praneeth Reddy

From: Praneeth Reddy <nareddy@marvell.com>

removed pause_frame_fwd parameter and also disabled verifying packets for cavium_a064

Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
---
 tests/TestSuite_link_flowctrl.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index 841951f..4229aa4 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -168,7 +168,7 @@ class TestLinkFlowctrl(TestCase):
         tgenInput = []
         tgenInput.append((tester_tx_port, tester_rx_port, "test.pcap"))
 
-        if (self.nic in ["cavium_a063"]):
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
              self.dut.send_expect("set flow_ctrl rx %s tx %s 300 50 10 1 autoneg %s %d " % (
                              flow_control,
                              flow_control,
@@ -277,7 +277,7 @@ class TestLinkFlowctrl(TestCase):
         PAUSE Frames must not be received by testpmd
         """
 
-        if (self.nic in ["cavium_a063"]):
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
             pause_frames = [self.build_pause_frame(0),
                             self.build_pause_frame(1)]
         else:
@@ -296,7 +296,7 @@ class TestLinkFlowctrl(TestCase):
         PAUSE Frames must not be received by testpmd
         """
 
-        if (self.nic in ["cavium_a063"]):
+        if (self.nic in ["cavium_a063", "cavium_a064"]):
             pause_frames = [self.build_pause_frame(0),
                             self.build_pause_frame(1)]
         else:
-- 
1.8.3.1


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

* Re: [dts] [PATCH] TestSuite_link_flowctrl.py: pause_frame_fwd is not supported for cavium_a064
  2019-08-09  4:29 [dts] [PATCH] TestSuite_link_flowctrl.py: pause_frame_fwd is not supported for cavium_a064 nareddy
@ 2019-08-12  6:53 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-12  6:53 UTC (permalink / raw)
  To: nareddy, dts; +Cc: fmasood, avijay

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> nareddy@marvell.com
> Sent: Friday, August 9, 2019 12:30 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy
> <nareddy@marvell.com>
> Subject: [dts] [PATCH] TestSuite_link_flowctrl.py: pause_frame_fwd is not
> supported for cavium_a064
> 
> From: Praneeth Reddy <nareddy@marvell.com>
> 
> removed pause_frame_fwd parameter and also disabled verifying packets
> for cavium_a064
> 
> Signed-off-by: Praneeth Reddy <nareddy@marvell.com>
> ---
>  tests/TestSuite_link_flowctrl.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
> index 841951f..4229aa4 100644
> --- a/tests/TestSuite_link_flowctrl.py
> +++ b/tests/TestSuite_link_flowctrl.py
> @@ -168,7 +168,7 @@ class TestLinkFlowctrl(TestCase):
>          tgenInput = []
>          tgenInput.append((tester_tx_port, tester_rx_port, "test.pcap"))
> 
> -        if (self.nic in ["cavium_a063"]):
> +        if (self.nic in ["cavium_a063", "cavium_a064"]):
>               self.dut.send_expect("set flow_ctrl rx %s tx %s 300 50 10 1
> autoneg %s %d " % (
>                               flow_control,
>                               flow_control, @@ -277,7 +277,7 @@ class
> TestLinkFlowctrl(TestCase):
>          PAUSE Frames must not be received by testpmd
>          """
> 
> -        if (self.nic in ["cavium_a063"]):
> +        if (self.nic in ["cavium_a063", "cavium_a064"]):
>              pause_frames = [self.build_pause_frame(0),
>                              self.build_pause_frame(1)]
>          else:
> @@ -296,7 +296,7 @@ class TestLinkFlowctrl(TestCase):
>          PAUSE Frames must not be received by testpmd
>          """
> 
> -        if (self.nic in ["cavium_a063"]):
> +        if (self.nic in ["cavium_a063", "cavium_a064"]):
>              pause_frames = [self.build_pause_frame(0),
>                              self.build_pause_frame(1)]
>          else:
> --
> 1.8.3.1


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09  4:29 [dts] [PATCH] TestSuite_link_flowctrl.py: pause_frame_fwd is not supported for cavium_a064 nareddy
2019-08-12  6:53 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	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


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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