From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Mo, YufengX" <yufengx.mo@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>,
"Ma, LihongX" <lihongx.ma@intel.com>
Cc: "Mo, YufengX" <yufengx.mo@intel.com>
Subject: Re: [dts] [PATCH V1 1/2] test/iavf: python3 support
Date: Thu, 13 Feb 2020 10:31:02 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC6989@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200213062816.80145-2-yufengx.mo@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Thursday, February 13, 2020 2:28 PM
> To: dts@dpdk.org; Ma, LihongX <lihongx.ma@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 1/2] test/iavf: python3 support
>
>
> python3 support.
>
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
> tests/TestSuite_iavf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py index
> d7b1104..dedabbd 100644
> --- a/tests/TestSuite_iavf.py
> +++ b/tests/TestSuite_iavf.py
> @@ -696,7 +696,7 @@ class TestIavf(TestCase):
> if (loading_size <= 800):
> self.verify(rx_stats == tx_stats and int(tx_outlist[0]) == loading_size,
> "the packet segmentation incorrect, %s" % tx_outlist)
> else:
> - num = loading_size/800
> + num = loading_size // 800
> for i in range(num):
> self.verify(tx_outlist != [], "the packet segmentation
> incorrect, %s" % tx_outlist)
> self.verify(int(tx_outlist[i]) == 800, "the packet segmentation
> incorrect, %s" % tx_outlist)
> --
> 2.21.0
next prev parent reply other threads:[~2020-02-13 10:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 6:28 [dts] [PATCH V1 0/2] tests: " yufengmx
2020-02-13 6:28 ` [dts] [PATCH V1 1/2] test/iavf: " yufengmx
2020-02-13 10:31 ` Tu, Lijuan [this message]
2020-02-13 6:28 ` [dts] [PATCH V1 2/2] test/vxlan_sample: " yufengmx
2020-02-13 10:31 ` Tu, Lijuan
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=8CE3E05A3F976642AAB0F4675D0AD20E0BBC6989@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=lihongx.ma@intel.com \
--cc=yufengx.mo@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).