test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework/virt_dut: fix call errors.
@ 2018-01-12 14:42 Lijuan Tu
  2018-01-12 16:49 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2018-01-12 14:42 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 framework/virt_dut.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/framework/virt_dut.py b/framework/virt_dut.py
index 83f661d..62688dc 100644
--- a/framework/virt_dut.py
+++ b/framework/virt_dut.py
@@ -123,7 +123,7 @@ class VirtDut(DPDKdut):
         for key in self.ports_cfg.keys():
             index = int(key)
             if index >= port_num:
-                print utils.RED("Can not found [%d ]port info" % index)
+                print RED("Can not found [%d ]port info" % index)
                 continue
 
             if 'peer' in self.ports_cfg[key].keys():
@@ -226,7 +226,7 @@ class VirtDut(DPDKdut):
                 total_phycores = socks * cores
                 # cores should match cpu_topo
                 if total != len(cpuinfo):
-                    print utils.RED("Core number not matched!!!")
+                    print RED("Core number not matched!!!")
                 else:
                     for core in range(total):
                         thread = core / total_phycores
@@ -394,7 +394,7 @@ class VirtDut(DPDKdut):
                         vfs = remoteport.get_sriov_vfs_pci()
                         # if hostpci is vf of tester port
                         if hostpci == remotepci or hostpci in vfs:
-                            print utils.RED("Skip ping from same PF device")
+                            print RED("Skip ping from same PF device")
                             continue
 
                 ipv6 = self.get_ipv6_address(vmPort)
-- 
1.8.3.1

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

* Re: [dts] [PATCH] framework/virt_dut: fix call errors.
  2018-01-12 14:42 [dts] [PATCH] framework/virt_dut: fix call errors Lijuan Tu
@ 2018-01-12 16:49 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2018-01-12 16:49 UTC (permalink / raw)
  To: Lijuan Tu, dts

Thanks, Lijuan. Applied.

On 01/12/2018 10:42 PM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu<lijuanx.a.tu@intel.com>
> ---
>   framework/virt_dut.py | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)

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

end of thread, other threads:[~2018-01-12  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-12 14:42 [dts] [PATCH] framework/virt_dut: fix call errors Lijuan Tu
2018-01-12 16:49 ` Liu, Yong

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).