From: Fangfang Wei <fangfangx.wei@intel.com>
To: dts@dpdk.org
Cc: Fangfang Wei <fangfangx.wei@intel.com>
Subject: [dts] [PATCH V1] tests/vf_port_start_stop: fix mac address error
Date: Tue, 29 Aug 2017 09:58:34 +0800 [thread overview]
Message-ID: <1503971914-98974-1-git-send-email-fangfangx.wei@intel.com> (raw)
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
next reply other threads:[~2017-08-29 1:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 1:58 Fangfang Wei [this message]
2017-08-29 17:37 ` Liu, Yong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1503971914-98974-1-git-send-email-fangfangx.wei@intel.com \
--to=fangfangx.wei@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).