test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/vhost_virtio_user_interrupt_with_power_monitor: modify the packet to make every queue can receive packets
@ 2023-03-30  7:47 Wei Ling
  2023-04-11  8:57 ` lijuan.tu
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2023-03-30  7:47 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

1.Modify the packet to make every queue can receive packets when start
testpmd with multi-queues.
2.Because the default parameter is `--rss-ip`, so delete it.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 ...Suite_vhost_virtio_user_interrupt_with_power_monitor.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_vhost_virtio_user_interrupt_with_power_monitor.py b/tests/TestSuite_vhost_virtio_user_interrupt_with_power_monitor.py
index e56d8b61..549b6a7b 100644
--- a/tests/TestSuite_vhost_virtio_user_interrupt_with_power_monitor.py
+++ b/tests/TestSuite_vhost_virtio_user_interrupt_with_power_monitor.py
@@ -139,7 +139,7 @@ class TestVirtioUserInterruptDsa(TestCase):
         )
         if self.check_2M_env:
             eal_params += " --single-file-segments"
-        para = " -- -i --rxq=%d --txq=%d --rss-ip" % (queues, queues)
+        para = " -- -i --rxq=%d --txq=%d" % (queues, queues)
         command_line_client = self.app_testpmd_path + " " + eal_params + para
         self.virtio_user.send_expect(
             command_line_client, "waiting for client connection...", 120
@@ -197,14 +197,13 @@ class TestVirtioUserInterruptDsa(TestCase):
             fields_config = {
                 "ip": {
                     "src": {"action": "random"},
+                    "dst": {"action": "random"},
                 },
             }
             pkt = Packet()
-            pkt.assign_layers(["ether", "ipv4", "raw"])
+            pkt.assign_layers(["ether", "ipv4", "tcp", "raw"])
             pkt.config_layers(
                 [
-                    ("ether", {"dst": "52:54:00:00:00:01"}),
-                    ("ipv4", {"src": "1.1.1.1"}),
                     ("raw", {"payload": ["01"] * int("%d" % payload_size)}),
                 ]
             )
-- 
2.25.1


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

* [dts][PATCH V1] tests/vhost_virtio_user_interrupt_with_power_monitor: modify the packet to make every queue can receive packets
  2023-03-30  7:47 [dts][PATCH V1] tests/vhost_virtio_user_interrupt_with_power_monitor: modify the packet to make every queue can receive packets Wei Ling
@ 2023-04-11  8:57 ` lijuan.tu
  0 siblings, 0 replies; 2+ messages in thread
From: lijuan.tu @ 2023-04-11  8:57 UTC (permalink / raw)
  To: dts, Wei Ling; +Cc: Wei Ling

On Thu, 30 Mar 2023 15:47:25 +0800, Wei Ling <weix.ling@intel.com> wrote:
> 1.Modify the packet to make every queue can receive packets when start
> testpmd with multi-queues.
> 2.Because the default parameter is `--rss-ip`, so delete it.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>


Applied, thanks

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

end of thread, other threads:[~2023-04-11  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-30  7:47 [dts][PATCH V1] tests/vhost_virtio_user_interrupt_with_power_monitor: modify the packet to make every queue can receive packets Wei Ling
2023-04-11  8:57 ` lijuan.tu

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