[dts] [PATCH v1 2/3] tests: reset "tx-offloads" to defualt
Tu, LijuanX A
lijuanx.a.tu at intel.com
Thu Jan 25 08:10:20 CET 2018
Sorry for duplicate email.
-----Original Message-----
From: Tu, LijuanX A
Sent: Thursday, January 25, 2018 11:44 PM
To: dts at dpdk.org
Cc: Tu, LijuanX A <lijuanx.a.tu at intel.com>
Subject: [dts][PATCH v1 2/3] tests: reset "tx-offloads" to defualt
No specific tx offloads need to be set.
remove the option ,use dpdk default value.
Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
---
tests/TestSuite_fortville_rss_granularity_config.py | 12 ++++++------
tests/TestSuite_ipgre.py | 4 ++--
tests/TestSuite_nvgre.py | 8 ++++----
tests/TestSuite_pmdrss_hash.py | 2 +-
tests/TestSuite_qinq_filter.py | 16 ++++++++--------
tests/TestSuite_sriov_kvm.py | 2 +-
tests/TestSuite_tso.py | 6 +++---
tests/TestSuite_uni_pkt.py | 2 +-
tests/TestSuite_vf_offload.py | 4 ++--
tests/TestSuite_vxlan.py | 20 ++++++++++----------
10 files changed, 38 insertions(+), 38 deletions(-)
diff --git a/tests/TestSuite_fortville_rss_granularity_config.py b/tests/TestSuite_fortville_rss_granularity_config.py
index c86a20f..58ae0ef 100644
--- a/tests/TestSuite_fortville_rss_granularity_config.py
+++ b/tests/TestSuite_fortville_rss_granularity_config.py
@@ -202,7 +202,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
# test with different rss queues
for queue in testQueues:
self.dut.send_expect(
- "./%s/app/testpmd -c fffff -n %d -- -i --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d --tx-offloads=0x8fff" %
+ "./%s/app/testpmd -c fffff -n %d -- -i
+ --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d" %
(self.target, self.dut.get_memory_channels(), queue, queue), "testpmd> ", 120)
self.dut.send_expect("set verbose 8", "testpmd> ") @@ -278,7 +278,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
# test with different rss queues
for queue in testQueues:
self.dut.send_expect(
- "./%s/app/testpmd -c fffff -n %d -- -i --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d --tx-offloads=0x8fff" %
+ "./%s/app/testpmd -c fffff -n %d -- -i
+ --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d" %
(self.target, self.dut.get_memory_channels(), queue, queue), "testpmd> ", 120)
self.dut.send_expect("set verbose 8", "testpmd> ") @@ -355,7 +355,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
# test with different rss queues
for queue in testQueues:
self.dut.send_expect(
- "./%s/app/testpmd -c fffff -n %d -- -i --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d --tx-offloads=0x8fff" %
+ "./%s/app/testpmd -c fffff -n %d -- -i
+ --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d" %
(self.target, self.dut.get_memory_channels(), queue, queue), "testpmd> ", 120)
self.dut.send_expect("set verbose 8", "testpmd> ") @@ -432,7 +432,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
# test with different rss queues
for queue in testQueues:
self.dut.send_expect(
- "./%s/app/testpmd -c fffff -n %d -- -i --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d --tx-offloads=0x8fff" %
+ "./%s/app/testpmd -c fffff -n %d -- -i
+ --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d" %
(self.target, self.dut.get_memory_channels(), queue, queue), "testpmd> ", 120)
self.dut.send_expect("set verbose 8", "testpmd> ") @@ -509,7 +509,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
# test with different rss queues
for queue in testQueues:
self.dut.send_expect(
- "./%s/app/testpmd -c fffff -n %d -- -i --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d --tx-offloads=0x8fff" %
+ "./%s/app/testpmd -c fffff -n %d -- -i
+ --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d" %
(self.target, self.dut.get_memory_channels(), queue, queue), "testpmd> ", 120)
self.dut.send_expect("set verbose 8", "testpmd> ") @@ -570,7 +570,7 @@ class TestFortvilleRssGranularityConfig(TestCase):
# test with different rss queues
for queue in testQueues:
self.dut.send_expect(
- "./%s/app/testpmd -c fffff -n %d -- -i --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d --tx-offloads=0x8fff" %
+ "./%s/app/testpmd -c fffff -n %d -- -i
+ --coremask=0xffffe --portmask=0x3 --rxq=%d --txq=%d" %
(self.target, self.dut.get_memory_channels(), queue, queue), "testpmd> ", 120)
self.dut.send_expect("set verbose 8", "testpmd> ") diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index c1d052e..91f9469 100644
--- a/tests/TestSuite_ipgre.py
+++ b/tests/TestSuite_ipgre.py
@@ -263,7 +263,7 @@ class TestIpgre(TestCase):
inner_mac = "10:00:00:00:00:00"
# Start testpmd with multi queues
- #testpmd_cmd = "./%s/app/testpmd -c ff -n 3 -- -i --rxq=4 --txq=4 --tx-offloads=0x8fff" % self.target
+ #testpmd_cmd = "./%s/app/testpmd -c ff -n 3 -- -i --rxq=4
+ --txq=4" % self.target
testpmd_cmd = "./%s/app/testpmd -c ff -n 3 -- -i --enable-rx-cksum --rxq=4 --txq=4" % self.target
self.dut.send_expect(testpmd_cmd, "testpmd>", 20)
self.dut.send_expect("set fwd rxonly", "testpmd>") @@ -307,7 +307,7 @@ class TestIpgre(TestCase):
Send packet with wrong IP/TCP/UDP/SCTP checksum and check forwarded packet checksum
"""
# Start testpmd and enable rxonly forwarding mode
- testpmd_cmd = "./%s/app/testpmd -c ff -n 3 -- -i --enable-rx-cksum --tx-offloads=0x8fff --port-topology=loop" % self.target
+ testpmd_cmd = "./%s/app/testpmd -c ff -n 3 -- -i
+ --enable-rx-cksum --port-topology=loop" % self.target
self.dut.send_expect(testpmd_cmd, "testpmd>", 20)
self.dut.send_expect("set verbose 1", "testpmd>")
self.dut.send_expect("set fwd csum", "testpmd>") diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py index 4cb3e8f..d64c3cb 100644
--- a/tests/TestSuite_nvgre.py
+++ b/tests/TestSuite_nvgre.py
@@ -438,7 +438,7 @@ class TestNvgre(TestCase):
"""
send nvgre packet and check whether testpmd detect the correct packet type
"""
- out = self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s --tx-offloads=0x8fff"
+ out = self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s"
% (self.target, self.coremask, self.dut.get_memory_channels(), self.portmask), "testpmd>", 30)
out = self.dut.send_expect("set fwd rxonly", "testpmd>", 10)
self.dut.send_expect("set verbose 1", "testpmd>", 10) @@ -467,7 +467,7 @@ class TestNvgre(TestCase):
"""
send nvgre packet and check whether receive packet in assigned queue
"""
- self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s --tx-offloads=0x8fff"
+ self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s"
% (self.target, self.coremask, self.dut.get_memory_channels(), self.portmask), "testpmd>", 30)
self.dut.send_expect("set fwd rxonly", "testpmd>", 10)
self.dut.send_expect("set verbose 1", "testpmd>", 10) @@ -543,7 +543,7 @@ class TestNvgre(TestCase):
self.logger.info("chksums_ref:" + str(chksums_default))
# start testpmd with 2queue/1port
- out = self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s --enable-rx-cksum --tx-offloads=0x8fff"
+ out = self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s --enable-rx-cksum"
% (self.target, self.coremask, self.dut.get_memory_channels(), self.portmask), "testpmd>", 30)
# disable vlan filter
self.dut.send_expect('vlan set filter off %d' % self.dut_rx_port, "testpmd") @@ -664,7 +664,7 @@ class TestNvgre(TestCase):
self.nvgre_filter(filter_type="imac", remove=True)
config = NvgreTestConfig(self)
# config.outer_mac_dst = self.dut_port_mac
- self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s --tx-offloads=0x8fff"
+ self.dut.send_expect("./%s/app/testpmd -c %s -n %d -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=%s"
% (self.target, self.coremask, self.dut.get_memory_channels(), self.portmask), "testpmd>", 30)
out = self.dut.send_expect("tunnel_filter add %d %s %s %s %d nvgre %s %d %d"
% (self.dut_rx_port, config.outer_mac_dst, self.invalid_mac, config.inner_ip_dst, vlan_id, diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py index 227caaf..78e4075 100644
--- a/tests/TestSuite_pmdrss_hash.py
+++ b/tests/TestSuite_pmdrss_hash.py
@@ -655,7 +655,7 @@ class TestPmdrssHash(TestCase):
def test_dynamic_rss_bond_config(self):
# setup testpmd and finish bond config
- self.dut.send_expect("./%s/app/testpmd -c f -n 4 -- -i --tx-offloads=0x8fff" % self.target, "testpmd> ", 120)
+ self.dut.send_expect("./%s/app/testpmd -c f -n 4 -- -i" %
+ self.target, "testpmd> ", 120)
out = self.dut.send_expect("create bonded device 3 0", "testpmd> ", 30)
bond_device_id = int(re.search("port \d+", out).group().split(" ")[-1].strip())
diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index ad3e7ea..3f9c1ac 100644
--- a/tests/TestSuite_qinq_filter.py
+++ b/tests/TestSuite_qinq_filter.py
@@ -147,7 +147,7 @@ class TestQinqFilter(TestCase):
self.dut.send_expect(r'./%s/app/testpmd -c %s -n 4 -- -i \
--portmask=%s --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss' % (self.target, self.coreMask, self.portMask),
+ --rxq=4 --txq=4 --disable-rss' %
+ (self.target, self.coreMask, self.portMask),
"testpmd> ")
self.dut.send_expect("vlan set qinq on %s" % dutRxPortId, "testpmd> ")
self.dut.send_expect("set fwd rxonly", "testpmd> ") @@ -167,7 +167,7 @@ class TestQinqFilter(TestCase):
"""
self.dut.send_expect(r'./%s/app/testpmd -c %s -n 4 -- -i \
--portmask=%s --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss' % (self.target, self.coreMask, self.portMask),
+ --rxq=4 --txq=4 --disable-rss' %
+ (self.target, self.coreMask, self.portMask),
"testpmd> ")
self.dut.send_expect("vlan set qinq on %s" % dutRxPortId, "testpmd> ")
self.dut.send_expect("set fwd rxonly", "testpmd> ") @@ -203,7 +203,7 @@ class TestQinqFilter(TestCase):
self.dut.send_expect(r'./%s/app/testpmd -c %s -n 4 \
--socket-mem=1024,1024 --file-prefix=pf -w %s -- -i --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss'
+ --rxq=4 --txq=4 --disable-rss'
% (self.target, self.coreMask, self.dut.ports_info[dutRxPortId]['pci']),
"testpmd> ")
self.dut.send_expect("vlan set qinq on %s" % dutRxPortId, "testpmd> ") @@ -220,13 +220,13 @@ class TestQinqFilter(TestCase):
vf0_session.send_expect(r'./%s/app/testpmd -c %s -n 4 \
--socket-mem=1024,1024 --file-prefix=vf0 -w %s -- -i --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss'
+ --rxq=4 --txq=4 --disable-rss'
% (self.target, self.coreMask, vf_list[0]),
"testpmd> ")
vf1_session.send_expect(r'./%s/app/testpmd -c %s -n 4 \
--socket-mem=1024,1024 --file-prefix=vf1 -w %s -- -i --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss'
+ --rxq=4 --txq=4 --disable-rss'
% (self.target, self.coreMask, vf_list[1]),
"testpmd>")
for session_name in [vf0_session, vf1_session]:
@@ -272,7 +272,7 @@ class TestQinqFilter(TestCase):
self.dut.send_expect(r'./%s/app/testpmd -c %s -n 4 \
--socket-mem=1024,1024 --file-prefix=pf -w %s -- -i --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss'
+ --rxq=4 --txq=4 --disable-rss'
% (self.target, self.coreMask, self.dut.ports_info[dutRxPortId]['pci']),
"testpmd> ")
self.dut.send_expect("vlan set qinq on %s" % dutRxPortId, "testpmd> ") @@ -292,13 +292,13 @@ class TestQinqFilter(TestCase):
vf0_session.send_expect(r'./%s/app/testpmd -c %s -n 4 \
--socket-mem=1024,1024 --file-prefix=vf0 -w %s -- -i --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss'
+ --rxq=4 --txq=4 --disable-rss'
% (self.target, self.coreMask, vf_list[0]),
"testpmd> ")
vf1_session.send_expect(r'./%s/app/testpmd -c %s -n 4 \
--socket-mem=1024,1024 --file-prefix=vf1 -w %s -- -i --port-topology=loop \
- --rxq=4 --txq=4 --tx-offloads=0x8fff --disable-rss'
+ --rxq=4 --txq=4 --disable-rss'
% (self.target, self.coreMask, vf_list[1]),
"testpmd>")
for session_name in [vf0_session, vf1_session]:
diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py index bcf4ed8..ae97bef 100644
--- a/tests/TestSuite_sriov_kvm.py
+++ b/tests/TestSuite_sriov_kvm.py
@@ -350,7 +350,7 @@ class TestSriovKvm(TestCase):
eal_param = '-b %(vf0)s -b %(vf1)s' % {'vf0': self.sriov_vfs_port[0].pci,
'vf1': self.sriov_vfs_port[1].pci}
self.host_testpmd.start_testpmd(
- "1S/2C/2T", "--rxq=4 --txq=4 --tx-offloads=0x8fff", eal_param=eal_param)
+ "1S/2C/2T", "--rxq=4 --txq=4", eal_param=eal_param)
self.host_testpmd.execute_cmd('set fwd rxonly')
self.host_testpmd.execute_cmd('start')
diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index 25b37a3..0a9d66c 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -157,7 +157,7 @@ class TestTSO(TestCase):
self.tester.send_expect("ethtool -K %s rx off tx off tso off gso off gro off lro off" % tx_interface, "# ")
self.tester.send_expect("ip l set %s up" % tx_interface, "# ")
- cmd = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 --tx-offloads=0x8fff " % (self.target, self.coreMask, self.dut.get_memory_channels(), self.blacklist, self.portMask)
+ cmd = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512
+ --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s
+ --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 " % (self.target,
+ self.coreMask, self.dut.get_memory_channels(), self.blacklist,
+ self.portMask)
self.dut.send_expect(cmd, "testpmd> ", 120)
self.dut.send_expect("set verbose 1", "testpmd> ", 120)
self.dut.send_expect("csum set ip hw %d" % self.dut_ports[0], "testpmd> ", 120) @@ -223,7 +223,7 @@ class TestTSO(TestCase):
self.tester.send_expect("ethtool -K %s rx off tx off tso off gso off gro off lro off" % tx_interface, "# ")
self.tester.send_expect("ip l set %s up" % tx_interface, "# ")
- cmd = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 --tx-offloads=0x8fff " % (self.target, self.coreMask, self.dut.get_memory_channels(), self.blacklist, self.portMask)
+ cmd = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512
+ --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s
+ --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 " % (self.target,
+ self.coreMask, self.dut.get_memory_channels(), self.blacklist,
+ self.portMask)
self.dut.send_expect(cmd, "testpmd> ", 120)
self.dut.send_expect("set verbose 1", "testpmd> ", 120)
self.dut.send_expect("csum set ip hw %d" % self.dut_ports[0], "testpmd> ", 120) @@ -287,7 +287,7 @@ class TestTSO(TestCase):
else:
queues = 1
- command_line = "./%s/app/testpmd -c %s -n %d %s -- -i --coremask=%s --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 --tx-offloads=0x8fff " % (self.target, self.all_cores_mask, self.dut.get_memory_channels(), self.blacklist, self.coreMask, self.portMask)
+ command_line = "./%s/app/testpmd -c %s -n %d %s -- -i
+ --coremask=%s --rxd=512 --txd=512 --burst=32 --rxfreet=64
+ --mbcache=128 --portmask=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32
+ --txrst=32 " % (self.target, self.all_cores_mask,
+ self.dut.get_memory_channels(), self.blacklist, self.coreMask,
+ self.portMask)
info = "Executing PMD using %s\n" % test_cycle['cores']
self.logger.info(info)
diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index 945a51e..e11b482 100644
--- a/tests/TestSuite_uni_pkt.py
+++ b/tests/TestSuite_uni_pkt.py
@@ -64,7 +64,7 @@ class TestUniPacket(TestCase):
tester_port = self.tester.get_local_port(self.dut_port)
self.tester_iface = self.tester.get_interface(tester_port)
self.dut.send_expect(
- "./%s/app/testpmd -c f -n 4 -- -i --tx-offloads=0x8fff" % self.target, "testpmd>", 20)
+ "./%s/app/testpmd -c f -n 4 -- -i" % self.target,
+ "testpmd>", 20)
self.dut.send_expect("set fwd rxonly", "testpmd>")
self.dut.send_expect("set verbose 1", "testpmd>")
self.dut.send_expect("start", "testpmd>") diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py index 020207c..2dfc424 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -206,7 +206,7 @@ class TestVfOffload(TestCase):
verify forwarded packets have correct checksum
"""
self.vm0_testpmd.start_testpmd(VM_CORES_MASK, "--portmask=%s " %
- (self.portMask) + "--disable-hw-vlan --enable-rx-cksum " + "--tx-offloads=0x8fff " +
+ (self.portMask) +
+ "--disable-hw-vlan --enable-rx-cksum " + "" +
"--port-topology=loop")
self.vm0_testpmd.execute_cmd('set fwd csum')
@@ -348,7 +348,7 @@ class TestVfOffload(TestCase):
self.portMask = utils.create_mask([self.vm0_dut_ports[0]])
self.vm0_testpmd.start_testpmd(VM_CORES_MASK, "--portmask=%s " %
(self.portMask) + "--enable-rx-cksum " +
- "--tx-offloads=0x8fff " +
+ "" +
"--port-topology=loop")
mac = self.vm0_testpmd.get_port_mac(0) diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index fe24b7e..2e971d1 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -547,7 +547,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --disable-rss --rxq=4 --txq=4" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': self.coremask,
'CHANNEL': self.dut.get_memory_channels(), @@ -597,7 +597,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --disable-rss --rxq=4 --txq=4" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': self.coremask,
'CHANNEL': self.dut.get_memory_channels(), @@ -644,7 +644,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
# start testpmd with 2queue/1port
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --portmask=%(PORT)s " + \
- "--tx-offloads=0x8fff --enable-rx-cksum"
+ "--enable-rx-cksum"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': self.coremask,
'CHANNEL': self.dut.get_memory_channels(), @@ -717,7 +717,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
# start testpmd with 2queue/1port
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --portmask=%(PORT)s " + \
- "--tx-offloads=0x8fff --enable-rx-cksum"
+ "--enable-rx-cksum"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': self.coremask,
'CHANNEL': self.dut.get_memory_channels(), @@ -792,7 +792,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
"""
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --disable-rss --rxq=4 --txq=4" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': self.coremask,
'CHANNEL': self.dut.get_memory_channels(), @@ -833,7 +833,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --disable-rss --rxq=4 --txq=4" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': self.coremask,
'CHANNEL': self.dut.get_memory_channels(), @@ -962,7 +962,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --disable-rss --rxq=2 --txq=2" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
for perf_config in self.tunnel_perf:
tun_filter = perf_config['tunnel_filter'] @@ -973,7 +973,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
if tun_filter == "None" and recv_queue == "Multi":
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --rss-udp --rxq=2 --txq=2" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': core_mask, @@ -1074,11 +1074,11 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
if recv_queue == 'Multi':
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --disable-rss --rxq=2 --txq=2" + \
- " --nb-cores=4 --portmask=%(PORT)s --tx-offloads=0x8fff"
+ " --nb-cores=4 --portmask=%(PORT)s"
else:
pmd_temp = "./%(TARGET)s/app/testpmd -c %(COREMASK)s -n " + \
"%(CHANNEL)d -- -i --nb-cores=2 --portmask=%(PORT)s" + \
- " --tx-offloads=0x8fff"
+ ""
pmd_cmd = pmd_temp % {'TARGET': self.target,
'COREMASK': core_mask,
--
1.8.3.1
More information about the dts
mailing list