From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Jiang, YuX" <yux.jiang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Jiang, YuX" <yux.jiang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3
Date: Tue, 12 May 2020 07:33:08 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC2A359@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1588913651-106666-1-git-send-email-yux.jiang@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiang, YuX
> Sent: Friday, May 8, 2020 12:54 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3
>
> From: "Jiang, YuX" <yux.jiang@intel.com>
>
> Specify byte type in py3
>
> Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
> ---
> tests/TestSuite_link_flowctrl.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
> index ed89162..ee190d0 100644
> --- a/tests/TestSuite_link_flowctrl.py
> +++ b/tests/TestSuite_link_flowctrl.py
> @@ -52,7 +52,7 @@ class TestLinkFlowctrl(TestCase):
> pause_frame_control = "\\x00\\xFF"
> pause_frame_paddign = "\\x00" * 42
>
> - pause_frame = '[Ether(src="%s",dst="%s",type=%s)/("%s%s%s")]'
> + pause_frame = '[Ether(src="%s",dst="%s",type=%s)/(b"%s%s%s")]'
>
> frames_to_sent = 12
>
> --
> 2.7.4
prev parent reply other threads:[~2020-05-12 7:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 4:54 Jiang, YuX
2020-05-08 5:07 ` Jiang, YuX
2020-05-12 7:33 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BC2A359@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=yux.jiang@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).