test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/1] tests/dcf_lifecycle: support 4 ports
@ 2020-07-03  2:55 yufengmx
  2020-07-03  2:55 ` [dts] [PATCH V1 1/1] " yufengmx
  0 siblings, 1 reply; 3+ messages in thread
From: yufengmx @ 2020-07-03  2:55 UTC (permalink / raw)
  To: dts, jianweix.mei; +Cc: yufengmx

 support 4 ports. 

yufengmx (1):
  tests/dcf_lifecycle: support 4 ports

 tests/TestSuite_dcf_lifecycle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.21.0


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

* [dts] [PATCH V1 1/1] tests/dcf_lifecycle: support 4 ports
  2020-07-03  2:55 [dts] [PATCH V1 0/1] tests/dcf_lifecycle: support 4 ports yufengmx
@ 2020-07-03  2:55 ` yufengmx
  2020-07-20  6:55   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: yufengmx @ 2020-07-03  2:55 UTC (permalink / raw)
  To: dts, jianweix.mei; +Cc: yufengmx


support 4 ports.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index 90a56e6..3971941 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -249,7 +249,7 @@ class TestDcfLifeCycle(TestCase):
         pf1_vf1 = self.vf_ports_info[0].get('vfs_pci')[1]
         pf1_vf2 = self.vf_ports_info[0].get('vfs_pci')[2]
         pf2_vf0 = self.vf_ports_info[1].get('vfs_pci')[0] \
-            if len(self.vf_ports_info) == 2 else ''
+            if len(self.vf_ports_info) >= 2 else ''
         whitelist = {
             'pf1_vf0_dcf': f"-w {pf1_vf0},cap=dcf",
             'pf1_vf1_dcf': f"-w {pf1_vf1},cap=dcf",
-- 
2.21.0


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

* Re: [dts] [PATCH V1 1/1] tests/dcf_lifecycle: support 4 ports
  2020-07-03  2:55 ` [dts] [PATCH V1 1/1] " yufengmx
@ 2020-07-20  6:55   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-07-20  6:55 UTC (permalink / raw)
  To: Mo, YufengX, dts, Mei, JianweiX; +Cc: Mo, YufengX

Applied, thanks

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of yufengmx
> Sent: 2020年7月3日 10:56
> To: dts@dpdk.org; Mei, JianweiX <jianweix.mei@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 1/1] tests/dcf_lifecycle: support 4 ports
> 
> 
> support 4 ports.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  tests/TestSuite_dcf_lifecycle.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
> index 90a56e6..3971941 100644
> --- a/tests/TestSuite_dcf_lifecycle.py
> +++ b/tests/TestSuite_dcf_lifecycle.py
> @@ -249,7 +249,7 @@ class TestDcfLifeCycle(TestCase):
>          pf1_vf1 = self.vf_ports_info[0].get('vfs_pci')[1]
>          pf1_vf2 = self.vf_ports_info[0].get('vfs_pci')[2]
>          pf2_vf0 = self.vf_ports_info[1].get('vfs_pci')[0] \
> -            if len(self.vf_ports_info) == 2 else ''
> +            if len(self.vf_ports_info) >= 2 else ''
>          whitelist = {
>              'pf1_vf0_dcf': f"-w {pf1_vf0},cap=dcf",
>              'pf1_vf1_dcf': f"-w {pf1_vf1},cap=dcf",
> --
> 2.21.0


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

end of thread, other threads:[~2020-07-20  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03  2:55 [dts] [PATCH V1 0/1] tests/dcf_lifecycle: support 4 ports yufengmx
2020-07-03  2:55 ` [dts] [PATCH V1 1/1] " yufengmx
2020-07-20  6:55   ` 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).