[dts] [PATCH V1]tests/tso:fix the error of receiving large packets

Tu, Lijuan lijuan.tu at intel.com
Mon Apr 27 09:51:13 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of hanyingya
> Sent: Sunday, April 26, 2020 3:29 PM
> To: dts at dpdk.org
> Cc: Han, YingyaX <yingyax.han at 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 at 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



More information about the dts mailing list