test suite reviews and discussions
 help / color / mirror / Atom feed
From: Chen Linglix <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: Chen Linglix <linglix.chen@intel.com>
Subject: [dts] [dts 1/2] tests/TestSuite_userspace_ethtool:add foxville
Date: Wed, 30 Sep 2020 14:46:43 +0800	[thread overview]
Message-ID: <20200930064644.22944-2-linglix.chen@intel.com> (raw)
In-Reply-To: <20200930064644.22944-1-linglix.chen@intel.com>

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_userspace_ethtool.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py
index 213a6283..68dace33 100644
--- a/tests/TestSuite_userspace_ethtool.py
+++ b/tests/TestSuite_userspace_ethtool.py
@@ -585,7 +585,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
         mtus = [1519, 2048]
         mtu_threshold = 2022
         offset = 0
-        if self.nic in ['powerville', 'springville']:
+        if self.nic in ['powerville', 'springville', 'foxville']:
             mtu_threshold = 2026
             offset = 4
         # RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + ICE_VLAN_TAG_SIZE * 2
@@ -605,7 +605,7 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):
 
                 # The mtu threshold is 2022,When it is greater than 2022, the open/stop port is required.
                 if mtu > mtu_threshold:
-                    if self.nic in ['powerville', 'springville']:
+                    if self.nic in ['powerville', 'springville', 'foxville']:
                         mtu = mtu_threshold
                     self.dut.send_expect("stop %s" % index, "EthApp>")
                     self.dut.send_expect("mtu %d %d" % (index, mtu), "EthApp>")
-- 
2.17.1


  reply	other threads:[~2020-09-30  6:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  6:46 [dts] [PATCH V1 0/2] add support NIC Chen Linglix
2020-09-30  6:46 ` Chen Linglix [this message]
2020-09-30  6:46 ` [dts] [dts 2/2] tests/TestSuite_inline_ipsec:add support NIC twinpond Chen Linglix
2020-09-30  6:57 ` [dts] [PATCH V1 0/2] add support NIC Chen, LingliX
2020-10-13  2:23 ` 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=20200930064644.22944-2-linglix.chen@intel.com \
    --to=linglix.chen@intel.com \
    --cc=dts@dpdk.org \
    /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).