[dts] [PATCH V1] tests/pmdrssreta:updated the rx-offloads for foxville_nic

Tu, Lijuan lijuan.tu at intel.com
Wed Mar 10 07:02:47 CET 2021


> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Chen Lingli
> Sent: 2021年3月6日 1:45
> To: dts at dpdk.org
> Cc: Chen, LingliX <linglix.chen at intel.com>
> Subject: [dts] [PATCH V1] tests/pmdrssreta:updated the rx-offloads for
> foxville_nic
> 
> 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)

What does the offload mean ?

> +                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