* [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver.
@ 2020-04-20 6:39 Huang Zhimin
2020-04-21 1:37 ` Han, YingyaX
2020-04-21 3:31 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Huang Zhimin @ 2020-04-20 6:39 UTC (permalink / raw)
To: dts; +Cc: Zhimin Huang
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver.
2020-04-20 6:39 [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver Huang Zhimin
@ 2020-04-21 1:37 ` Han, YingyaX
2020-04-21 3:31 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Han, YingyaX @ 2020-04-21 1:37 UTC (permalink / raw)
To: Huang, ZhiminX, dts; +Cc: Huang, ZhiminX
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Tested-by: Han,YingyaX <yingyax.han@intel.com>
BRs,
Yingya
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Huang Zhimin
Sent: Monday, April 20, 2020 2:40 PM
To: dts@dpdk.org
Cc: Huang, ZhiminX <zhiminx.huang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver.
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
[-- Attachment #2: TestPmdPcap.log --]
[-- Type: application/octet-stream, Size: 70841 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver.
2020-04-20 6:39 [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver Huang Zhimin
2020-04-21 1:37 ` Han, YingyaX
@ 2020-04-21 3:31 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-04-21 3:31 UTC (permalink / raw)
To: Huang, ZhiminX, dts; +Cc: Huang, ZhiminX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Huang Zhimin
> Sent: Monday, April 20, 2020 2:40 PM
> To: dts@dpdk.org
> Cc: Huang, ZhiminX <zhiminx.huang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver.
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-21 3:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 6:39 [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver Huang Zhimin
2020-04-21 1:37 ` Han, YingyaX
2020-04-21 3:31 ` Tu, Lijuan
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).