[dts] [PATCH V1] tests/pmdrssreta:updated the rx-offloads for foxville_nic
Chen Lingli
linglix.chen at intel.com
Fri Mar 5 18:44:44 CET 2021
From: ChenLingli <linglix.chen at intel.com>
updated the rx-offloads for foxville_nic
Signed-off-by: ChenLingli <linglix.chen at intel.com>
---
tests/TestSuite_pmdrssreta.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 4dd3a5a5..09dd2f55 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -215,8 +215,12 @@ class TestPmdrssreta(TestCase):
self.pmdout.start_testpmd(
"all", "--rxq=%d --txq=%d --rx-offloads=0x00080000 " % (queue, queue), socket=self.ports_socket)
else:
- self.pmdout.start_testpmd(
- "all", "--mbcache=128 --rxq=%d --txq=%d --rx-offloads=0x00080000" % (queue, queue), socket=self.ports_socket)
+ if self.nic == 'foxville':
+ self.pmdout.start_testpmd(
+ "all", "--mbcache=128 --rxq=%d --txq=%d --rx-offloads=0x00032a0f" % (queue, queue), socket=self.ports_socket)
+ else:
+ self.pmdout.start_testpmd(
+ "all", "--mbcache=128 --rxq=%d --txq=%d --rx-offloads=0x00080000" % (queue, queue), socket=self.ports_socket)
for iptype, rsstype in list(iptypes.items()):
self.dut.send_expect("set verbose 8", "testpmd> ")
--
2.25.1
More information about the dts
mailing list