From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "usurekha@marvell.com" <usurekha@marvell.com>,
"dts@dpdk.org" <dts@dpdk.org>
Cc: "pvukkisala@marvell.com" <pvukkisala@marvell.com>
Subject: Re: [dts] [PATCH] TestSuite_userspace_ethtool.py:Modified packet length for cavium_a063
Date: Fri, 10 Jan 2020 07:29:47 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBA54E0@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1578632761-5151-1-git-send-email-usurekha@marvell.com>
applied
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> usurekha@marvell.com
> Sent: Friday, January 10, 2020 1:06 PM
> To: dts@dpdk.org
> Cc: pvukkisala@marvell.com; usurekha <usurekha@marvell.com>
> Subject: [dts] [PATCH] TestSuite_userspace_ethtool.py:Modified packet
> length for cavium_a063
>
> From: usurekha <usurekha@marvell.com>
>
> Modified to required packet length for cavium_a063
>
> Signed-off-by: usurekha <usurekha@marvell.com>
> ---
> tests/TestSuite_userspace_ethtool.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_userspace_ethtool.py
> b/tests/TestSuite_userspace_ethtool.py
> index 248d1d1..53e37d2 100644
> --- a/tests/TestSuite_userspace_ethtool.py
> +++ b/tests/TestSuite_userspace_ethtool.py
> @@ -594,7 +594,10 @@ class TestUserspaceEthtool(TestCase,
> IxiaPacketGenerator):
> pkt.send_pkt(self.tester, tx_port=intf, count=4)
> rx_pkts, _ = self.strip_portstats(index)
> self.verify(rx_pkts == ori_rx_pkts + 4, "Packet match mtu not
> forwarded as expected")
> - pkt = Packet(pkt_type='UDP', pkt_len=mtu + 1 + HEADER_SIZE['eth']
> + offset)
> + if (self.nic in ["cavium_a063","cavium_a064"]):
> + pkt = Packet(pkt_type='UDP', pkt_len=mtu + 9 +
> HEADER_SIZE['eth'] + offset)
> + else:
> + pkt = Packet(pkt_type='UDP', pkt_len=mtu + 1 +
> HEADER_SIZE['eth'] + offset)
> pkt.send_pkt(self.tester, tx_port=intf, count=4)
> rx_pkts_over, _ = self.strip_portstats(index)
> self.verify(rx_pkts == rx_pkts_over, "Packet over mtu should not be
> forwarded")
> --
> 2.7.4
prev parent reply other threads:[~2020-01-10 7:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 5:06 usurekha
2020-01-10 7:29 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BBA54E0@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=pvukkisala@marvell.com \
--cc=usurekha@marvell.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).