test suite reviews and discussions
 help / color / 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^[$BG/^[(B7^[$B7n^[(B3^[$BF|^[(B 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox