test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num
@ 2020-07-28  3:00 Chen Linglix
  2020-07-28  3:29 ` Chen, LingliX
  2020-08-12  6:21 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Linglix @ 2020-07-28  3:00 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1061 bytes --]

The maximum number of queues for foxville is 4,for powerville is 8

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_shutdown_api.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 0eead85..edd1dcf 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -797,8 +797,10 @@ class TestShutdownApi(TestCase):
         When tx_descriptor_status is used, status can be “FULL”, “DONE” or “UNAVAILABLE.”
         """
         queue_num=16
-        if self.nic in ["springville"]:
+        if self.nic in ["springville","foxville"]:
             queue_num=4
+        if self.nic in ["powerville"]:
+            queue_num=8
         self.pmdout.start_testpmd("Default",
                                  "--portmask=%s --port-topology=loop --txq=%s --rxq=%s --txd=4096 --rxd=4096"
                                  % (utils.create_mask(self.ports),queue_num,queue_num), socket=self.ports_socket)
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num
  2020-07-28  3:00 [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num Chen Linglix
@ 2020-07-28  3:29 ` Chen, LingliX
  2020-08-12  6:21 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, LingliX @ 2020-07-28  3:29 UTC (permalink / raw)
  To: dts

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

Tested-by:  Chen, LingliX <linglix.chen@intel.com>

Regards,
Chen, LingliX

-----Original Message-----
From: Chen, LingliX 
Sent: Tuesday, July 28, 2020 11:01 AM
To: dts@dpdk.org
Cc: Chen, LingliX <linglix.chen@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num

The maximum number of queues for foxville is 4,for powerville is 8

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_shutdown_api.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 0eead85..edd1dcf 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -797,8 +797,10 @@ class TestShutdownApi(TestCase):
         When tx_descriptor_status is used, status can be “FULL”, “DONE” or “UNAVAILABLE.”
         """
         queue_num=16
-        if self.nic in ["springville"]:
+        if self.nic in ["springville","foxville"]:
             queue_num=4
+        if self.nic in ["powerville"]:
+            queue_num=8
         self.pmdout.start_testpmd("Default",
                                  "--portmask=%s --port-topology=loop --txq=%s --rxq=%s --txd=4096 --rxd=4096"
                                  % (utils.create_mask(self.ports),queue_num,queue_num), socket=self.ports_socket)
--
1.8.3.1


[-- Attachment #2: TestShutdownApi-foxville.log --]
[-- Type: application/octet-stream, Size: 5578 bytes --]

28/07/2020 11:08:57                            dts: 
TEST SUITE : TestShutdownApi
28/07/2020 11:08:57                            dts: NIC :        foxville
28/07/2020 11:08:57             dut.10.240.183.171: 
28/07/2020 11:08:57                         tester: 
28/07/2020 11:08:57                         tester: ifconfig eno4 mtu 5000
28/07/2020 11:08:57                         tester: 
28/07/2020 11:08:57                TestShutdownApi: Test Case test_check_rxtx_desc_status Begin
28/07/2020 11:08:57             dut.10.240.183.171: 
28/07/2020 11:08:57                         tester: 
28/07/2020 11:08:57             dut.10.240.183.171: x86_64-native-linuxapp-gcc/app/testpmd  -l 1,2 -n 4 -w 0000:81:00.0 -w 0000:86:00.0  --file-prefix=dpdk_18387_20200728110840   -- -i --portmask=0x1 --port-topology=loop --txq=4 --rxq=4 --txd=4096 --rxd=4096
28/07/2020 11:08:59             dut.10.240.183.171: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_18387_20200728110840/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_igc (8086:15f2) device: 0000:81:00.0 (socket 1)
EAL: Probe PCI driver: net_igc (8086:15f2) device: 0000:86:00.0 (socket 1)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 00:A0:C9:00:00:00
Configuring Port 1 (socket 1)
Port 1: 00:A0:C9:00:00:00
Checking link statuses...
Done
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 rxq 1 desc 2032 status
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 rxq 1 desc 2032 status
Desc status = AVAILABLE
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 txq 1 desc 210 status
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 txq 1 desc 210 status
Desc status = DONE
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 rxq 0 desc 324 status
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 rxq 0 desc 324 status
Desc status = AVAILABLE
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 txq 1 desc 0 status
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 txq 1 desc 0 status
Desc status = DONE
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 rxq 3 desc 208 status
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 rxq 3 desc 208 status
Desc status = AVAILABLE
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 txq 1 desc 379 status
28/07/2020 11:09:09             dut.10.240.183.171: show port 0 txq 1 desc 379 status
Desc status = DONE
28/07/2020 11:09:09                TestShutdownApi: Test Case test_check_rxtx_desc_status Result PASSED:
28/07/2020 11:09:09             dut.10.240.183.171: kill_all: called by dut and prefix list has value.
28/07/2020 11:09:11             dut.10.240.183.171: Killed
[PEXPECT]# 
28/07/2020 11:09:12             dut.10.240.183.171: x86_64-native-linuxapp-gcc/app/testpmd  -l 1,2 -n 4 -w 0000:81:00.0 -w 0000:86:00.0  --file-prefix=dpdk_18387_20200728110840   -- -i --portmask=0x1 --port-topology=loop
28/07/2020 11:09:13             dut.10.240.183.171: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_18387_20200728110840/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_igc (8086:15f2) device: 0000:81:00.0 (socket 1)
EAL: Probe PCI driver: net_igc (8086:15f2) device: 0000:86:00.0 (socket 1)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
previous number of forwarding ports 2 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: 00:A0:C9:00:00:00
Configuring Port 1 (socket 1)
Port 1: 00:A0:C9:00:00:00
Checking link statuses...
Done
28/07/2020 11:09:23             dut.10.240.183.171: set link-up port 0
28/07/2020 11:09:24             dut.10.240.183.171: set link-up port 0
28/07/2020 11:09:24             dut.10.240.183.171: port start all
28/07/2020 11:09:24             dut.10.240.183.171: port start all
Port 0 is now not stopped
Port 1 is now not stopped
Please stop the ports first
Done
28/07/2020 11:09:24             dut.10.240.183.171: quit
28/07/2020 11:09:25             dut.10.240.183.171: quit

Stopping port 0...
Stopping ports...
Done

Stopping port 1...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Done

Shutting down port 1...
Closing ports...
Done

Bye...
28/07/2020 11:09:25                            dts: 
TEST SUITE ENDED: TestShutdownApi

[-- Attachment #3: TestShutdownApi-powerville.log --]
[-- Type: application/octet-stream, Size: 6521 bytes --]

28/07/2020 11:11:08                            dts: 
TEST SUITE : TestShutdownApi
28/07/2020 11:11:08                            dts: NIC :        powerville
28/07/2020 11:11:08             dut.10.240.183.171: 
28/07/2020 11:11:08                         tester: 
28/07/2020 11:11:08                         tester: ifconfig ens2f0 mtu 5000
28/07/2020 11:11:08                         tester: 
28/07/2020 11:11:08                TestShutdownApi: Test Case test_check_rxtx_desc_status Begin
28/07/2020 11:11:08             dut.10.240.183.171: 
28/07/2020 11:11:08                         tester: 
28/07/2020 11:11:08             dut.10.240.183.171: x86_64-native-linuxapp-gcc/app/testpmd  -l 1,2 -n 4 -w 0000:83:00.0 -w 0000:83:00.1 -w 0000:83:00.2 -w 0000:83:00.3  --file-prefix=dpdk_18751_20200728111044   -- -i --portmask=0x1 --port-topology=loop --txq=8 --rxq=8 --txd=4096 --rxd=4096
28/07/2020 11:11:11             dut.10.240.183.171: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_18751_20200728111044/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.0 (socket 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.1 (socket 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.2 (socket 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.3 (socket 1)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
previous number of forwarding ports 4 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: B4:96:91:49:98:CC
Configuring Port 1 (socket 1)
Port 1: B4:96:91:49:98:CD
Configuring Port 2 (socket 1)
Port 2: B4:96:91:49:98:CE
Configuring Port 3 (socket 1)
Port 3: B4:96:91:49:98:CF
Checking link statuses...
Done
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 rxq 6 desc 3671 status
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 rxq 6 desc 3671 status
Desc status = AVAILABLE
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 txq 5 desc 504 status
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 txq 5 desc 504 status
Desc status = DONE
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 rxq 1 desc 406 status
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 rxq 1 desc 406 status
Desc status = AVAILABLE
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 txq 6 desc 507 status
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 txq 6 desc 507 status
Desc status = DONE
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 rxq 4 desc 3270 status
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 rxq 4 desc 3270 status
Desc status = AVAILABLE
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 txq 7 desc 158 status
28/07/2020 11:11:21             dut.10.240.183.171: show port 0 txq 7 desc 158 status
Desc status = DONE
28/07/2020 11:11:21                TestShutdownApi: Test Case test_check_rxtx_desc_status Result PASSED:
28/07/2020 11:11:21             dut.10.240.183.171: kill_all: called by dut and prefix list has value.
28/07/2020 11:11:23             dut.10.240.183.171: Killed
[PEXPECT]# 
28/07/2020 11:11:24             dut.10.240.183.171: x86_64-native-linuxapp-gcc/app/testpmd  -l 1,2 -n 4 -w 0000:83:00.0 -w 0000:83:00.1 -w 0000:83:00.2 -w 0000:83:00.3  --file-prefix=dpdk_18751_20200728111044   -- -i --portmask=0x1 --port-topology=loop
28/07/2020 11:11:26             dut.10.240.183.171: EAL: Detected 88 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_18751_20200728111044/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.0 (socket 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.1 (socket 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.2 (socket 1)
EAL: Probe PCI driver: net_e1000_igb (8086:1521) device: 0000:83:00.3 (socket 1)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
previous number of forwarding ports 4 - changed to number of configured ports 1
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
Port 0: B4:96:91:49:98:CC
Configuring Port 1 (socket 1)
Port 1: B4:96:91:49:98:CD
Configuring Port 2 (socket 1)
Port 2: B4:96:91:49:98:CE
Configuring Port 3 (socket 1)
Port 3: B4:96:91:49:98:CF
Checking link statuses...
Done
28/07/2020 11:11:36             dut.10.240.183.171: set link-up port 0
28/07/2020 11:11:36             dut.10.240.183.171: set link-up port 0

Port 0: link state change event
28/07/2020 11:11:36             dut.10.240.183.171: port start all
28/07/2020 11:11:36             dut.10.240.183.171: port start all
Port 0 is now not stopped
Port 1 is now not stopped
Port 2 is now not stopped
Port 3 is now not stopped
Please stop the ports first
Done
28/07/2020 11:11:36             dut.10.240.183.171: quit
28/07/2020 11:11:39             dut.10.240.183.171: quit

Stopping port 0...
Stopping ports...
Done

Stopping port 1...
Stopping ports...
Done

Stopping port 2...
Stopping ports...
Done

Stopping port 3...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Done

Shutting down port 1...
Closing ports...
Done

Shutting down port 2...
Closing ports...
Done

Shutting down port 3...
Closing ports...
Done

Bye...
28/07/2020 11:11:39                            dts: 
TEST SUITE ENDED: TestShutdownApi

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

* Re: [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num
  2020-07-28  3:00 [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num Chen Linglix
  2020-07-28  3:29 ` Chen, LingliX
@ 2020-08-12  6:21 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-08-12  6:21 UTC (permalink / raw)
  To: Chen, LingliX, dts; +Cc: Chen, LingliX

> tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powe
> rville_queue_num
> 
> The maximum number of queues for foxville is 4,for powerville is 8
> 
> Signed-off-by: Chen Linglix <linglix.chen@intel.com>

Applied

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

end of thread, other threads:[~2020-08-12  6:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28  3:00 [dts] [PATCH V1] tests/TestSuite_shutdown_api/check_rxtx_desc_status_add_foxville_and_powerville_queue_num Chen Linglix
2020-07-28  3:29 ` Chen, LingliX
2020-08-12  6:21 ` Tu, Lijuan

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