From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 8E65856A3 for ; Tue, 6 Nov 2018 03:17:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2018 18:17:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,469,1534834800"; d="scan'208";a="105705841" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 05 Nov 2018 18:17:16 -0800 From: zhuwenhui To: dts@dpdk.org Cc: zhuwenhui Date: Tue, 6 Nov 2018 10:20:17 +0800 Message-Id: <1541470817-26233-1-git-send-email-wenhuix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V2] test/kni/ping add a -m parameter when start 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, 06 Nov 2018 02:17:19 -0000 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 --- 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) -- 2.17.2