From: zhuwenhui <wenhuix.zhu@intel.com>
To: dts@dpdk.org
Cc: zhuwenhui <wenhuix.zhu@intel.com>
Subject: [dts] [PATCH V2] test/kni/ping add a -m parameter when start
Date: Tue, 6 Nov 2018 10:20:17 +0800 [thread overview]
Message-ID: <1541470817-26233-1-git-send-email-wenhuix.zhu@intel.com> (raw)
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
next reply other threads:[~2018-11-06 2:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-06 2:20 zhuwenhui [this message]
2018-11-06 12:00 ` Lijuan Tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1541470817-26233-1-git-send-email-wenhuix.zhu@intel.com \
--to=wenhuix.zhu@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).