test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] test/kni/ping add a -m parameter when start
@ 2018-11-06  2:20 zhuwenhui
  2018-11-06 12:00 ` Lijuan Tu
  0 siblings, 1 reply; 2+ messages in thread
From: zhuwenhui @ 2018-11-06  2:20 UTC (permalink / raw)
  To: dts; +Cc: zhuwenhui

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@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)
 
-- 
2.17.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V2] test/kni/ping add a -m parameter when start
  2018-11-06  2:20 [dts] [PATCH V2] test/kni/ping add a -m parameter when start zhuwenhui
@ 2018-11-06 12:00 ` Lijuan Tu
  0 siblings, 0 replies; 2+ messages in thread
From: Lijuan Tu @ 2018-11-06 12:00 UTC (permalink / raw)
  To: zhuwenhui, dts

Applied, thanks


On 2018年11月06日 10:20, zhuwenhui wrote:
> 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@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)
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-06  3:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-06  2:20 [dts] [PATCH V2] test/kni/ping add a -m parameter when start zhuwenhui
2018-11-06 12:00 ` Lijuan Tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).