[dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and allmulti
Tu, Lijuan
lijuan.tu at intel.com
Wed May 6 05:27:59 CEST 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Zeng Xiaoxiao
> Sent: Thursday, April 30, 2020 11:06 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and
> allmulti
>
> *. default use io mode, set fwd mac.
>
> Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
> ---
> tests/TestSuite_shutdown_api.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/TestSuite_shutdown_api.py
> b/tests/TestSuite_shutdown_api.py index 181a385..a2f508a 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -354,6 +354,7 @@ class TestShutdownApi(TestCase):
> self.pmdout.start_testpmd("Default", "--portmask=%s --port-
> topology=loop" % portmask, socket = self.ports_socket)
>
> self.dut.send_expect("port stop all", "testpmd> ", 100)
> + self.dut.send_expect("set fwd mac", "testpmd>")
> self.dut.send_expect("set promisc all off", "testpmd> ")
> self.dut.send_expect("port start all", "testpmd> ", 100)
> self.dut.send_expect("show config rxtx", "testpmd> ") @@ -391,6
> +392,7 @@ class TestShutdownApi(TestCase):
>
> self.dut.send_expect("set promisc all off", "testpmd> ")
> self.dut.send_expect("set allmulti all off", "testpmd> ")
> + self.dut.send_expect("set fwd mac", "testpmd>")
> self.dut.send_expect("start", "testpmd> ")
>
> self.check_forwarding(ports)
> --
> 2.17.1
More information about the dts
mailing list