test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Huang, ZhiminX" <zhiminx.huang@intel.com>,
	"dts@dpdk.org" <dts@dpdk.org>
Cc: "Huang, ZhiminX" <zhiminx.huang@intel.com>
Subject: RE: [dts] [PATCH V1] framework/crb:add check link status public method
Date: Wed, 12 Jan 2022 05:56:00 +0000	[thread overview]
Message-ID: <1e0ec2a8fbd644d793ea718e34a2d319@intel.com> (raw)
In-Reply-To: <20220105195613.15561-1-zhiminx.huang@intel.com>



> -----Original Message-----
> From: Zhimin Huang <zhiminx.huang@intel.com>
> Sent: 2022年1月6日 3:56
> To: dts@dpdk.org
> Cc: Huang, ZhiminX <zhiminx.huang@intel.com>
> Subject: [dts] [PATCH V1] framework/crb:add check link status public method
> 
> when we meet testpmd or app start but link is not up.
> we can loop up the interface to ensure link.
> 
> Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
> ---
>  framework/crb.py | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/framework/crb.py b/framework/crb.py index bd4f565d..22af9ad3
> 100755
> --- a/framework/crb.py
> +++ b/framework/crb.py
> @@ -907,3 +907,17 @@ class Crb(object):
>          else:
>              self.logger.info("NIC %s may be not find %s" % (intf, flag))
>              return False
> +
> +    def check_interfaces_link(self, intf, timeout=15):

It only accept 1 interface, so the function name should be " check_interface_link "


      reply	other threads:[~2022-01-12  5:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 19:56 Zhimin Huang
2022-01-12  5:56 ` Tu, Lijuan [this message]

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=1e0ec2a8fbd644d793ea718e34a2d319@intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=zhiminx.huang@intel.com \
    /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).