[dts] [PATCH V2] tests/pmdrss_hash:forbidden packet
Tu, Lijuan
lijuan.tu at intel.com
Tue Apr 2 22:57:09 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yaobing
> Sent: Sunday, March 24, 2019 7:29 PM
> To: dts at dpdk.org
> Cc: Yao, BingX Y <bingx.y.yao at 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 at intel.com>
> ---
> tests/TestSuite_pmdrss_hash.py | 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
More information about the dts
mailing list