From: Huang Zhimin <zhiminx.huang@intel.com>
To: dts@dpdk.org
Cc: Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver.
Date: Mon, 20 Apr 2020 14:39:32 +0800 [thread overview]
Message-ID: <1587364772-4161-1-git-send-email-zhiminx.huang@intel.com> (raw)
From: Zhimin Huang <zhiminx.huang@intel.com>
*. restore freebsd interfaces need reload driver.
Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
---
tests/TestSuite_pmdpcap.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py
index 4f6c426..fc5acf7 100644
--- a/tests/TestSuite_pmdpcap.py
+++ b/tests/TestSuite_pmdpcap.py
@@ -63,6 +63,10 @@ class TestPmdPcap(TestCase):
# because if there is any interface bonded to igb_uio,
# it will result in packet transmitting failed
self.dut.restore_interfaces()
+ os_type = self.dut.get_os_type()
+ if os_type == "freebsd":
+ self.dut.send_expect("kldload contigmem", "#",20)
+ self.dut.send_expect("kldload nic_uio", "#",20)
def get_pcap_compile_config(self):
config_head = "common_"
--
2.7.4
next reply other threads:[~2020-04-20 6:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-20 6:39 Huang Zhimin [this message]
2020-04-21 1:37 ` Han, YingyaX
2020-04-21 3:31 ` Tu, Lijuan
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=1587364772-4161-1-git-send-email-zhiminx.huang@intel.com \
--to=zhiminx.huang@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).