From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A78EA0561; Tue, 21 Apr 2020 05:31:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1F2111D5FD; Tue, 21 Apr 2020 05:31:38 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 833661D5B4 for ; Tue, 21 Apr 2020 05:31:36 +0200 (CEST) IronPort-SDR: PRjdGABNzRHbeMVS7c7Ho+ee6DSHImdGhFjIrdPodHPv2I5RCSR6Wp9LCYuUqbQAO/+SF9av2R Id0R/NlO4llg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2020 20:31:35 -0700 IronPort-SDR: KXkQKWcrAVaN4EX1lIWHxFemEMbG3boin2tyBWm/4FYDeStnjViuVREi+sCvuxOrhmahHPOkHX 4Q16iXNNK79w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,408,1580803200"; d="scan'208";a="273385731" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 20 Apr 2020 20:31:35 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Apr 2020 20:31:35 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Tue, 21 Apr 2020 11:31:32 +0800 From: "Tu, Lijuan" To: "Huang, ZhiminX" , "dts@dpdk.org" CC: "Huang, ZhiminX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver. Thread-Index: AQHWFuCi83umz+ctYkaHNFuO1HtVZ6iC7O5g Date: Tue, 21 Apr 2020 03:31:31 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0DB1D@SHSMSX101.ccr.corp.intel.com> References: <1587364772-4161-1-git-send-email-zhiminx.huang@intel.com> In-Reply-To: <1587364772-4161-1-git-send-email-zhiminx.huang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 > Subject: [dts] [PATCH V1] tests/TestSuite_pmdpcap:freebsd load driver. >=20 > From: Zhimin Huang >=20 > *. restore freebsd interfaces need reload driver. >=20 > Signed-off-by: Zhimin Huang > --- > tests/TestSuite_pmdpcap.py | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py inde= x > 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 =3D self.dut.get_os_type() > + if os_type =3D=3D "freebsd": > + self.dut.send_expect("kldload contigmem", "#",20) > + self.dut.send_expect("kldload nic_uio", "#",20) >=20 > def get_pcap_compile_config(self): > config_head =3D "common_" > -- > 2.7.4