test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/vf_port_start_stop: fix mac address error
@ 2017-08-29  1:58 Fangfang Wei
  2017-08-29 17:37 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: Fangfang Wei @ 2017-08-29  1:58 UTC (permalink / raw)
  To: dts; +Cc: Fangfang Wei

vm port mac address will be changed after bind to igb_uio and run testpmd.
So getting port mac address should uses the function get_port_mac() which
is in PmdOutput class.

Signed-off-by: Fangfang Wei <fangfangx.wei@intel.com>
---
 tests/TestSuite_vf_port_start_stop.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vf_port_start_stop.py b/tests/TestSuite_vf_port_start_stop.py
index ddcfbc7..9e2e47c 100644
--- a/tests/TestSuite_vf_port_start_stop.py
+++ b/tests/TestSuite_vf_port_start_stop.py
@@ -219,7 +219,7 @@ class TestVfPortStartStop(TestCase):
 
         time.sleep(2)
 
-        dst_mac = self.vm_dut_0.get_mac_address(self.vm0_dut_ports[0])
+        dst_mac = self.vm0_testpmd.get_port_mac(self.vm0_dut_ports[0])
         self.send_and_verify(dst_mac, self.vm0_testpmd) 
 
     def tear_down(self):
-- 
2.7.4

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

* Re: [dts] [PATCH V1] tests/vf_port_start_stop: fix mac address error
  2017-08-29  1:58 [dts] [PATCH V1] tests/vf_port_start_stop: fix mac address error Fangfang Wei
@ 2017-08-29 17:37 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-08-29 17:37 UTC (permalink / raw)
  To: Fangfang Wei, dts

Thanks fangfang. Applied.

On 08/29/2017 09:58 AM, Fangfang Wei wrote:
> vm port mac address will be changed after bind to igb_uio and run testpmd.
> So getting port mac address should uses the function get_port_mac() which
> is in PmdOutput class.
>
> Signed-off-by: Fangfang Wei<fangfangx.wei@intel.com>

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

end of thread, other threads:[~2017-08-29  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29  1:58 [dts] [PATCH V1] tests/vf_port_start_stop: fix mac address error Fangfang Wei
2017-08-29 17:37 ` 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).