From: "Ma, LihongX" <lihongx.ma@intel.com>
To: "Peng, ZhihongX" <zhihongx.peng@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Cc: "Peng, ZhihongX" <zhihongx.peng@intel.com>
Subject: Re: [dts] [PATCH V2] Modify the clv offset code
Date: Mon, 21 Oct 2019 02:30:13 +0000 [thread overview]
Message-ID: <BE1E572D0441E34284F1F8B7AC28F1970BB149ED@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20191021102450.22197-1-zhihongx.peng@intel.com>
Hi, zhihong
This patch will apply failed, because you base dts is not right.
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Zhihong
Sent: Monday, October 21, 2019 6:25 PM
To: dts@dpdk.org
Cc: Peng, ZhihongX <zhihongx.peng@intel.com>
Subject: [dts] [PATCH V2] Modify the clv offset code
Signed-off-by: Peng Zhihong <zhihongx.peng@intel.com>
---
tests/TestSuite_userspace_ethtool.py | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index bdbbea3..5898511 100644
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -546,10 +546,16 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
mtus = [1519, 2048]
mtu_threshold = 2022
offset = 0
- ice_eth_overhead = 8
+
if self.nic in ['powerville', 'springville']:
mtu_threshold = 2026
offset = 4
+ elif self.nic in ['columbiaville_25g', 'columbiaville_100g']:
+ #jira DPDK-16219
+ offset = 8
+ else:
+ pass
+
for index in range(len(self.ports)):
port = self.ports[index]
# change mtu
@@ -573,10 +579,7 @@ 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")
- if self.nic in ['columbiaville_25g', 'columbiaville_100g']:
- pkt = Packet(pkt_type='UDP', pkt_len=mtu + ice_eth_overhead + 1 + HEADER_SIZE['eth'] + offset)
- else:
- pkt = Packet(pkt_type='UDP', pkt_len=mtu + 1 + HEADER_SIZE['eth'] + offset)
+ 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.17.1
next prev parent reply other threads:[~2019-10-21 2:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-21 10:24 Peng Zhihong
2019-10-21 2:30 ` Ma, LihongX [this message]
2019-10-21 11:21 Peng Zhihong
2019-10-22 9:51 ` Tu, Lijuan
2019-10-22 9:56 ` Peng, ZhihongX
2019-10-22 9:59 ` Peng, ZhihongX
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=BE1E572D0441E34284F1F8B7AC28F1970BB149ED@SHSMSX101.ccr.corp.intel.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
--cc=zhihongx.peng@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).