[dts] [PATCH V2] test/kni/ping add a -m parameter when start

zhuwenhui wenhuix.zhu at intel.com
Tue Nov 6 03:20:17 CET 2018

Due to changes in dpdk, now by default kni interface carrier status is "off". If link monitoring is enabled with the -m command line flag,check the link status of each physical NIC port and will Update the carrier status of the corresponding KNI interface to match the status of the physical NIC port's state.  

Signed-off-by: zhuwenhui <wenhuix.zhu at intel.com>
 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 5f81def..23d6d04 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -308,7 +308,7 @@ class TestKni(TestCase):
         config_param = self.build_config_param()
         out_kni = self.dut.send_expect(
-            './examples/kni/build/app/kni -c %s -n %d -- -P -p %s %s &' %
+            './examples/kni/build/app/kni -c %s -n %d -- -P -p %s %s -m &' %
             (core_mask, self.dut.get_memory_channels(), port_mask, config_param),
             "Link Up", 20)

More information about the dts mailing list