From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D22781B398 for ; Tue, 7 Nov 2017 07:18:59 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2017 22:18:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,356,1505804400"; d="scan'208";a="1240673800" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 06 Nov 2017 22:18:56 -0800 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Tue, 7 Nov 2017 14:20:08 +0800 Message-Id: <1510035608-38921-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] fix kni example setup when use vfio-pci 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: , X-List-Received-Date: Tue, 07 Nov 2017 06:19:00 -0000 default bind driver is igb_uio, but use vfio-pci test kni, need re-bind vfio-pci when start kni Signed-off-by: xu,huilong --- tests/TestSuite_kni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py index 93203f5..5f81def 100644 --- a/tests/TestSuite_kni.py +++ b/tests/TestSuite_kni.py @@ -295,7 +295,7 @@ class TestKni(TestCase): self.dut.send_expect("rmmod igb_uio", "# ", 5) self.dut.send_expect( 'insmod ./%s/kmod/igb_uio.ko' % (self.target), "# ", 20) - self.dut.bind_interfaces_linux() + self.dut.bind_interfaces_linux(self.drivername) out = self.dut.send_expect( 'insmod ./%s/kmod/rte_kni.ko %s' % (self.target, module_param), "# ", 10) -- 1.9.3