test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Ma, LihongX" <lihongx.ma@intel.com>
To: "Zhang, XiX" <xix.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, XiX" <xix.zhang@intel.com>
Subject: Re: [dts] [PATCH V2] tests/TestSuite_qinq_filter:insmod igb_uio create	vf and add no_vec_eal_params
Date: Thu, 29 Oct 2020 08:05:03 +0000	[thread overview]
Message-ID: <BN8PR11MB3715AFCBA5B6E8852F329B999E140@BN8PR11MB3715.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1603784425-8460-1-git-send-email-xix.zhang@intel.com>


> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of xizhan4x
> Sent: Tuesday, October 27, 2020 3:40 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V2] tests/TestSuite_qinq_filter:insmod igb_uio create
> vf and add no_vec_eal_params
> 
> v1:insmod igb_uio create vf and add no_vec_eal_params v2:update EAL
> parameter force-max-simd-bitwidth=64  notes
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>
> ---
>  tests/TestSuite_qinq_filter.py | 13 ++++++-------
>  1 file changed, 6 insertions(+), 7 deletions(-)
> 
> diff --git a/tests/TestSuite_qinq_filter.py
> b/tests/TestSuite_qinq_filter.py index 91a2d7a..0d90627 100644
> -
> -        self.dut.send_expect(r'%s -c %s -n 4 -- -i \
> +        #add a EAL parameter --force-max-simd-bitwidth=64,it disable all
> vector code paths.
> +        no_vec_eal_params='--force-max-simd-bitwidth=64'
> +        self.dut.send_expect(r'%s -c %s -n 4 %s -- -i \
>                                 --portmask=%s --port-topology=loop \
> -                               --rxq=4 --txq=4  --disable-rss' %
> (self.path, self.coreMask, self.portMask),
> +                               --rxq=4 --txq=4  --disable-rss' %
> + (self.path, self.coreMask, no_vec_eal_params, self.portMask),
>                                 "testpmd> ", 30)

I think all the cases in the suite will tested on no-vector path, but there is only one case add this parameter, could you check it?

>          """
>          qinq filter packet received by assign VF queues
>          """
> +        self.dut.setup_modules(self.target,'igb_uio',None)
>          self.config_vfs(dutRxPortId, 2)
>          vf_list = self.dut.ports_info[dutRxPortId]['sriov_vfs_pci']

If it is needed setup module of igb_uio, it is better add to the place where need it.
Eg: before self.dut.generate_sriov_vfs_by_port(port_id, vfs, 'igb_uio')

Regards,
Ma,lihong

  parent reply	other threads:[~2020-10-29  8:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-27  7:40 xizhan4x
2020-10-27  7:39 ` Zhang, XiX
2020-10-29  8:05 ` Ma, LihongX [this message]
2020-11-03  2:20   ` Zhang, XiX

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=BN8PR11MB3715AFCBA5B6E8852F329B999E140@BN8PR11MB3715.namprd11.prod.outlook.com \
    --to=lihongx.ma@intel.com \
    --cc=dts@dpdk.org \
    --cc=xix.zhang@intel.com \
    /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).