[dts] [dts 1/2] tests/TestSuite_userspace_ethtool:add foxville
Chen Linglix
linglix.chen at intel.com
Wed Sep 30 08:46:43 CEST 2020
Signed-off-by: Chen Linglix <linglix.chen at 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
More information about the dts
mailing list