[V1] tests/vhost_virtio_user_interrupt_with_power_monitor: modify the packet to make every queue can receive packets
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
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(-)
Comments
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
@@ -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)}),
]
)