[dts] [PATCH V1]tests/shutdown_api: set fwd mode in promisc and allmulti

Zeng, XiaoxiaoX xiaoxiaox.zeng at intel.com
Thu Apr 30 08:23:01 CEST 2020


Tested-by: : Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>


Best regards,
Zeng,xiaoxiao


> -----Original Message-----
> From: Zeng, XiaoxiaoX
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestShutdownApi.log
Type: application/octet-stream
Size: 68330 bytes
Desc: TestShutdownApi.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200430/0f905475/attachment.obj>


More information about the dts mailing list