[dts] [PATCH V1] tests/TestSuite_ddp_mpls:Disable the vf NIC
Tu, Lijuan
lijuan.tu at intel.com
Wed Jul 10 07:30:08 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhang,yan
> Sent: Friday, July 5, 2019 10:46 AM
> To: dts at dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang at 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 at 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
More information about the dts
mailing list