[dts] [PATCH V1] tests/TestSuite_userspace_ethtool.py:Fvl and cvl do not check the nic status

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 22 07:37:52 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Peng Zhihong
> Sent: Friday, November 22, 2019 1:38 PM
> To: dts at dpdk.org
> Cc: Peng, ZhihongX <zhihongx.peng at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_userspace_ethtool.py:Fvl and cvl do
> not check the nic status
> 
> tests/TestSuite_userspace_ethtool.py:Fvl and cvl do not check the nic status
> 
> Signed-off-by: Peng Zhihong <zhihongx.peng at intel.com>
> ---
>  tests/TestSuite_userspace_ethtool.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_userspace_ethtool.py
> b/tests/TestSuite_userspace_ethtool.py
> index 6e19888..e9b6ccf 100644
> --- a/tests/TestSuite_userspace_ethtool.py
> +++ b/tests/TestSuite_userspace_ethtool.py
> @@ -259,7 +259,7 @@ class TestUserspaceEthtool(TestCase,
> IxiaPacketGenerator):
>          # only detect physical link disconnect status
>          verify_pass = True
>          verify_msg = ''
> -        if self.nic.startswith("fortville") == False or
> self.nic.startswith("columbiaville"):
> +        if self.nic.startswith("fortville") == False and
> self.nic.startswith("columbiaville") == False:
>              # check link status dump function
>              for port in self.ports:
>                  tester_port = self.tester.get_local_port(port)
> --
> 2.17.1



More information about the dts mailing list