From: "Zhu, WenhuiX" <wenhuix.zhu@intel.com>
To: "Yao, BingX Y" <bingx.y.yao@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Yao, BingX Y" <bingx.y.yao@intel.com>
Subject: Re: [dts] [PATCH V2] tests/pmdrss_hash:forbidden packet
Date: Mon, 25 Mar 2019 05:13:26 +0000 [thread overview]
Message-ID: <E08767FB2CE10642B6780736EAC070F604927797@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1553480941-81103-1-git-send-email-bingx.y.yao@intel.com>
Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing
Sent: Monday, March 25, 2019 10:29 AM
To: dts@dpdk.org
Cc: Yao, BingX Y <bingx.y.yao@intel.com>
Subject: [dts] [PATCH V2] tests/pmdrss_hash:forbidden packet
V1:
There will be some miscellaneous packetss appearing on the receiving port, and setting up command "set promisc all off" to forbidden packets
V2:
conflict with patch:[dts] [PATCH V2] tests/pmdrss_hash:change hard code
Signed-off-by: yaobing <bingx.y.yao@intel.com>
---
| 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py index dd22f91..283a545 100644
--- a/tests/TestSuite_pmdrss_hash.py
+++ b/tests/TestSuite_pmdrss_hash.py
@@ -484,6 +484,7 @@ class TestPmdrssHash(TestCase):
for iptype, rsstype in iptypes.items():
self.dut.send_expect("set verbose 8", "testpmd> ")
self.dut.send_expect("set fwd rxonly", "testpmd> ")
+ self.dut.send_expect("set promisc all off", "testpmd> ")
self.dut.send_expect(
"set nbcore %d" % (queue + 1), "testpmd> ")
@@ -521,6 +522,7 @@ class TestPmdrssHash(TestCase):
for iptype, rsstype in iptypes.items():
self.dut.send_expect("set verbose 8", "testpmd> ")
self.dut.send_expect("set fwd rxonly", "testpmd> ")
+ self.dut.send_expect("set promisc all off", "testpmd> ")
self.dut.send_expect(
"set nbcore %d" % (queue + 1), "testpmd> ")
@@ -566,6 +568,7 @@ class TestPmdrssHash(TestCase):
self.logger.info("***********************%s rss test********************************" % iptype)
self.dut.send_expect("set verbose 8", "testpmd> ")
self.dut.send_expect("set fwd rxonly", "testpmd> ")
+ self.dut.send_expect("set promisc all off", "testpmd> ")
self.dut.send_expect(
"set nbcore %d" % (queue + 1), "testpmd> ")
@@ -604,6 +607,7 @@ class TestPmdrssHash(TestCase):
for iptype, rsstype in iptypes.items():
self.dut.send_expect("set verbose 8", "testpmd> ")
self.dut.send_expect("set fwd rxonly", "testpmd> ")
+ self.dut.send_expect("set promisc all off", "testpmd> ")
self.dut.send_expect(
"set nbcore %d" % (queue + 1), "testpmd> ")
@@ -634,6 +638,7 @@ class TestPmdrssHash(TestCase):
"NIC Unsupported: " + str(self.nic))
self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i" % (self.target, self.coremask, self.dut.get_memory_channels()), "testpmd> ", 120)
+ self.dut.send_expect("set promisc all off", "testpmd> ")
out = self.dut.send_expect("create bonded device 3 0", "testpmd> ", 30)
bond_device_id = int(re.search("port \d+", out).group().split(" ")[-1].strip())
--
2.17.2
next prev parent reply other threads:[~2019-03-25 5:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-25 2:29 yaobing
2019-03-25 5:13 ` Zhu, WenhuiX [this message]
2019-04-02 20:57 ` Tu, Lijuan
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=E08767FB2CE10642B6780736EAC070F604927797@shsmsx102.ccr.corp.intel.com \
--to=wenhuix.zhu@intel.com \
--cc=bingx.y.yao@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).