* [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
@ 2019-07-05 2:46 zhang,yan
2019-07-05 2:42 ` Zhang, YanX A
2019-07-10 5:30 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhang,yan @ 2019-07-05 2:46 UTC (permalink / raw)
To: dts; +Cc: zhang,yan
Start pf testpmd to disable vf NIC.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
tests/TestSuite_ddp_mpls.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py
index 599e5cd..547e1c9 100644
--- a/tests/TestSuite_ddp_mpls.py
+++ b/tests/TestSuite_ddp_mpls.py
@@ -95,10 +95,11 @@ class Testddp_mpls(TestCase):
self.vm0_dut_ports = self.vm0_dut.get_ports('any')
self.vm0_testpmd = PmdOutput(self.vm0_dut)
self.env_done = True
+ eal_param = '-b %(vf0)s' % {'vf0': self.sriov_vfs_port[0].pci}
self.dut_testpmd.start_testpmd(
"Default","--port-topology=chained --txq=%s --rxq=%s"
- % (PF_MAX_QUEUE, PF_MAX_QUEUE))
+ % (PF_MAX_QUEUE, PF_MAX_QUEUE), eal_param=eal_param)
self.vm0_testpmd.start_testpmd(
VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s"
% (VF_MAX_QUEUE, VF_MAX_QUEUE))
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
2019-07-05 2:46 [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC zhang,yan
@ 2019-07-05 2:42 ` Zhang, YanX A
2019-07-10 5:30 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zhang, YanX A @ 2019-07-05 2:42 UTC (permalink / raw)
To: dts; +Cc: Zhang, YanX A
Tested-by: Zhang, YanX A <yanx.a.zhang@intel.com>
-----Original Message-----
From: Zhang, YanX A
Sent: Friday, July 5, 2019 10:46 AM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
Start pf testpmd to disable vf NIC.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
tests/TestSuite_ddp_mpls.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py index 599e5cd..547e1c9 100644
--- a/tests/TestSuite_ddp_mpls.py
+++ b/tests/TestSuite_ddp_mpls.py
@@ -95,10 +95,11 @@ class Testddp_mpls(TestCase):
self.vm0_dut_ports = self.vm0_dut.get_ports('any')
self.vm0_testpmd = PmdOutput(self.vm0_dut)
self.env_done = True
+ eal_param = '-b %(vf0)s' % {'vf0': self.sriov_vfs_port[0].pci}
self.dut_testpmd.start_testpmd(
"Default","--port-topology=chained --txq=%s --rxq=%s"
- % (PF_MAX_QUEUE, PF_MAX_QUEUE))
+ % (PF_MAX_QUEUE, PF_MAX_QUEUE), eal_param=eal_param)
self.vm0_testpmd.start_testpmd(
VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s"
% (VF_MAX_QUEUE, VF_MAX_QUEUE))
--
2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
2019-07-05 2:46 [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC zhang,yan
2019-07-05 2:42 ` Zhang, YanX A
@ 2019-07-10 5:30 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-07-10 5:30 UTC (permalink / raw)
To: Zhang, YanX A, dts; +Cc: Zhang, YanX A
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
> Sent: Friday, July 5, 2019 10:46 AM
> To: dts@dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
>
> Start pf testpmd to disable vf NIC.
>
> Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
> ---
> tests/TestSuite_ddp_mpls.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_ddp_mpls.py b/tests/TestSuite_ddp_mpls.py
> index 599e5cd..547e1c9 100644
> --- a/tests/TestSuite_ddp_mpls.py
> +++ b/tests/TestSuite_ddp_mpls.py
> @@ -95,10 +95,11 @@ class Testddp_mpls(TestCase):
> self.vm0_dut_ports = self.vm0_dut.get_ports('any')
> self.vm0_testpmd = PmdOutput(self.vm0_dut)
> self.env_done = True
> + eal_param = '-b %(vf0)s' % {'vf0': self.sriov_vfs_port[0].pci}
>
> self.dut_testpmd.start_testpmd(
> "Default","--port-topology=chained --txq=%s --rxq=%s"
> - % (PF_MAX_QUEUE, PF_MAX_QUEUE))
> + % (PF_MAX_QUEUE, PF_MAX_QUEUE), eal_param=eal_param)
> self.vm0_testpmd.start_testpmd(
> VM_CORES_MASK,"--port-topology=chained --txq=%s --rxq=%s"
> % (VF_MAX_QUEUE, VF_MAX_QUEUE))
> --
> 2.17.2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-10 5:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05 2:46 [dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC zhang,yan
2019-07-05 2:42 ` Zhang, YanX A
2019-07-10 5:30 ` 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).