* [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac
@ 2020-04-20 12:41 Xiao Qimai
2020-04-21 1:35 ` Han, YingyaX
2020-04-21 3:32 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Xiao Qimai @ 2020-04-20 12:41 UTC (permalink / raw)
To: dts; +Cc: Xiao Qimai
*. remove pci of virtio side and change fwd mode to mac
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_pvp_virtio_user_2M_hugepages.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
index ac7187c..71df7d5 100644
--- a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
+++ b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
@@ -140,9 +140,10 @@ class TestPVPVirtioWith2Mhuge(TestCase):
"""
testcmd = self.dut.target + "/app/testpmd "
vdev = 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1' if not packed else 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1,packed_vq=1'
- eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', ports=[self.pci_info], vdevs=[vdev])
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', vdevs=[vdev])
command_line_user = testcmd + eal_params + ' --single-file-segments -- -i'
self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
+ self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
self.virtio_user.send_expect("start", "testpmd> ", 120)
def close_all_apps(self):
--
1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac
2020-04-20 12:41 [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac Xiao Qimai
@ 2020-04-21 1:35 ` Han, YingyaX
2020-04-21 3:32 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Han, YingyaX @ 2020-04-21 1:35 UTC (permalink / raw)
To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX
[-- Attachment #1: Type: text/plain, Size: 1804 bytes --]
Tested-by: Han,YingyaX <yingyax.han@intel.com>
BRs,
Yingya
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Xiao Qimai
Sent: Monday, April 20, 2020 8:41 PM
To: dts@dpdk.org
Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac
*. remove pci of virtio side and change fwd mode to mac
Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
---
tests/TestSuite_pvp_virtio_user_2M_hugepages.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
index ac7187c..71df7d5 100644
--- a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
+++ b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
@@ -140,9 +140,10 @@ class TestPVPVirtioWith2Mhuge(TestCase):
"""
testcmd = self.dut.target + "/app/testpmd "
vdev = 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1' if not packed else 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1,packed_vq=1'
- eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', ports=[self.pci_info], vdevs=[vdev])
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', vdevs=[vdev])
command_line_user = testcmd + eal_params + ' --single-file-segments -- -i'
self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
+ self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
self.virtio_user.send_expect("start", "testpmd> ", 120)
def close_all_apps(self):
--
1.8.3.1
[-- Attachment #2: TestPVPVirtioWith2Mhuge.log --]
[-- Type: application/octet-stream, Size: 92813 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac
2020-04-20 12:41 [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac Xiao Qimai
2020-04-21 1:35 ` Han, YingyaX
@ 2020-04-21 3:32 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-04-21 3:32 UTC (permalink / raw)
To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai
> Sent: Monday, April 20, 2020 8:41 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received
> pkts with its self mac addr as src mac
>
> *. remove pci of virtio side and change fwd mode to mac
>
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
> tests/TestSuite_pvp_virtio_user_2M_hugepages.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
> b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
> index ac7187c..71df7d5 100644
> --- a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
> +++ b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
> @@ -140,9 +140,10 @@ class TestPVPVirtioWith2Mhuge(TestCase):
> """
> testcmd = self.dut.target + "/app/testpmd "
> vdev = 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-
> net,queues=1' if not packed else
> 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-
> net,queues=1,packed_vq=1'
> - eal_params =
> self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True,
> prefix='virtio-user', ports=[self.pci_info], vdevs=[vdev])
> + eal_params =
> self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True,
> prefix='virtio-user', vdevs=[vdev])
> command_line_user = testcmd + eal_params + ' --single-file-segments --
> -i'
> self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> + self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
> self.virtio_user.send_expect("start", "testpmd> ", 120)
>
> def close_all_apps(self):
> --
> 1.8.3.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-21 3:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 12:41 [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac Xiao Qimai
2020-04-21 1:35 ` Han, YingyaX
2020-04-21 3:32 ` 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).