[dts][PATCH V1] tests/pmdpcap: freebsd load driver

Lingli Chen linglix.chen at intel.com
Fri Jan 13 09:34:44 CET 2023


update the command according to FreeBSD13.1

Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
 tests/TestSuite_pmdpcap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py
index a0bf3993..a529b22e 100644
--- a/tests/TestSuite_pmdpcap.py
+++ b/tests/TestSuite_pmdpcap.py
@@ -33,7 +33,7 @@ class TestPmdPcap(TestCase):
         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 ./x86_64-native-bsdapp-gcc/kmod/contigmem.ko", "#", 20)
         self.path = self.dut.apps_name["test-pmd"]
 
     def create_pcap_file(self, filename, number_of_packets):
-- 
2.17.1



More information about the dts mailing list