* [dts] [PATCH V1]tests/tso:fix the error of receiving large packets
@ 2020-04-26 7:29 hanyingya
2020-04-26 8:33 ` Han, YingyaX
2020-04-27 7:51 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: hanyingya @ 2020-04-26 7:29 UTC (permalink / raw)
To: dts; +Cc: hanyingya
Fix the error that it's unable to receive the frame size above 1500.
Signed-off-by: hanyingya <yingyax.han@intel.com>
---
tests/TestSuite_tso.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py
index 51c0961..eaafd9a 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -407,7 +407,7 @@ class TestTSO(TestCase):
else:
queues = 1
- command_line = "./%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)
+ command_line = "./%s/app/testpmd -c %s -n %d %s -- -i --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=%s --max-pkt-len=%s --txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32 " % (self.target, self.coreMask, self.dut.get_memory_channels(), self.blacklist, self.portMask, TSO_MTU)
info = "Executing PMD using %s\n" % test_cycle['cores']
self.logger.info(info)
self.rst_report(info, annex=True)
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]tests/tso:fix the error of receiving large packets
2020-04-26 7:29 [dts] [PATCH V1]tests/tso:fix the error of receiving large packets hanyingya
@ 2020-04-26 8:33 ` Han, YingyaX
2020-04-27 7:51 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Han, YingyaX @ 2020-04-26 8:33 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]
Tested-by: Han,YingyaX <yingyax.han@intel.com>
BRs,
Yingya
-----Original Message-----
From: Han, YingyaX <yingyax.han@intel.com>
Sent: Sunday, April 26, 2020 3:29 PM
To: dts@dpdk.org
Cc: Han, YingyaX <yingyax.han@intel.com>
Subject: [dts][PATCH V1]tests/tso:fix the error of receiving large packets
Fix the error that it's unable to receive the frame size above 1500.
Signed-off-by: hanyingya <yingyax.han@intel.com>
---
tests/TestSuite_tso.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index 51c0961..eaafd9a 100644
--- a/tests/TestSuite_tso.py
+++ b/tests/TestSuite_tso.py
@@ -407,7 +407,7 @@ class TestTSO(TestCase):
else:
queues = 1
- command_line = "./%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)
+ command_line = "./%s/app/testpmd -c %s -n %d %s -- -i
+ --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128
+ --portmask=%s --max-pkt-len=%s --txpt=36 --txht=0 --txwt=0
+ --txfreet=32 --txrst=32 " % (self.target, self.coreMask,
+ self.dut.get_memory_channels(), self.blacklist, self.portMask,
+ TSO_MTU)
info = "Executing PMD using %s\n" % test_cycle['cores']
self.logger.info(info)
self.rst_report(info, annex=True)
--
2.17.1
[-- Attachment #2: TestTSO.log --]
[-- Type: application/octet-stream, Size: 126825 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1]tests/tso:fix the error of receiving large packets
2020-04-26 7:29 [dts] [PATCH V1]tests/tso:fix the error of receiving large packets hanyingya
2020-04-26 8:33 ` Han, YingyaX
@ 2020-04-27 7:51 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-04-27 7:51 UTC (permalink / raw)
To: Han, YingyaX, dts; +Cc: Han, YingyaX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of hanyingya
> Sent: Sunday, April 26, 2020 3:29 PM
> To: dts@dpdk.org
> Cc: Han, YingyaX <yingyax.han@intel.com>
> Subject: [dts] [PATCH V1]tests/tso:fix the error of receiving large packets
>
> Fix the error that it's unable to receive the frame size above 1500.
>
> Signed-off-by: hanyingya <yingyax.han@intel.com>
> ---
> tests/TestSuite_tso.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_tso.py b/tests/TestSuite_tso.py index
> 51c0961..eaafd9a 100644
> --- a/tests/TestSuite_tso.py
> +++ b/tests/TestSuite_tso.py
> @@ -407,7 +407,7 @@ class TestTSO(TestCase):
> else:
> queues = 1
>
> - command_line = "./%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)
> + command_line = "./%s/app/testpmd -c %s -n %d %s -- -i
> + --rxd=512 --txd=512 --burst=32 --rxfreet=64 --mbcache=128
> + --portmask=%s --max-pkt-len=%s --txpt=36 --txht=0 --txwt=0
> + --txfreet=32 --txrst=32 " % (self.target, self.coreMask,
> + self.dut.get_memory_channels(), self.blacklist, self.portMask,
> + TSO_MTU)
> info = "Executing PMD using %s\n" % test_cycle['cores']
> self.logger.info(info)
> self.rst_report(info, annex=True)
> --
> 2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-27 7:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 7:29 [dts] [PATCH V1]tests/tso:fix the error of receiving large packets hanyingya
2020-04-26 8:33 ` Han, YingyaX
2020-04-27 7:51 ` Tu, Lijuan
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).