From: Xiang An <xiangx.an@intel.com>
To: dts@dpdk.org
Cc: xiangx.an@intel.com
Subject: [dts] [PATCH V2 3/4] tests/l3fwdacl: modify code to adapt avx512
Date: Thu, 4 Nov 2021 14:51:38 +0800 [thread overview]
Message-ID: <1636008699-16970-3-git-send-email-xiangx.an@intel.com> (raw)
In-Reply-To: <1636008699-16970-1-git-send-email-xiangx.an@intel.com>
Modify code to adapt rxmod avx512.
Signed-off-by: Xiang An <xiangx.an@intel.com>
---
tests/TestSuite_l3fwdacl.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py
index 65c46b0..b812192 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -40,6 +40,7 @@ import time
import framework.packet as packet
import framework.utils as utils
from framework.test_case import TestCase
+from framework.settings import load_global_setting, DPDK_RXMODE_SETTING
class TestL3fwdacl(TestCase):
@@ -638,13 +639,12 @@ class TestL3fwdacl(TestCase):
cores = self.get_core_list()
self.verify(cores is not None, "Insufficient cores for speed testing")
- self.eal_para = self.dut.create_eal_parameters(cores=self.get_core_list())
+ self.eal_para = self.dut.create_eal_parameters(cores=self.get_core_list(), other_eal_param='force-max-simd-bitwidth')
self.core_mask = utils.create_mask(cores)
print("Core mask: %s" % self.core_mask)
if self.dut.dpdk_version >= '20.11.0':
- self.eal_para += " --force-max-simd-bitwidth=0"
-
+ self.eal_para += " --force-max-simd-bitwidth=0"
valid_ports = [port for port in ports if self.tester.get_local_port(port) != -1]
self.verify(
len(valid_ports) >= 2, "Insufficient active dut_ports for speed testing")
--
1.8.3.1
next prev parent reply other threads:[~2021-11-04 6:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 6:51 [dts] [PATCH V2 1/4] tests/kernelpf_iavf: " Xiang An
2021-11-04 6:51 ` [dts] [PATCH V2 2/4] tests/vf_vlan: " Xiang An
2021-11-05 12:31 ` Tu, Lijuan
2021-11-04 6:51 ` Xiang An [this message]
2021-11-05 13:24 ` [dts] [PATCH V2 3/4] tests/l3fwdacl: " Tu, Lijuan
2021-11-04 6:51 ` [dts] [PATCH V2 4/4] tests/unit_tests_eal: " Xiang An
2021-11-05 13:22 ` 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=1636008699-16970-3-git-send-email-xiangx.an@intel.com \
--to=xiangx.an@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).