test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Sun, QinX" <qinx.sun@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Sun, QinX" <qinx.sun@intel.com>
Subject: Re: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan
Date: Tue, 2 Mar 2021 01:28:20 +0000	[thread overview]
Message-ID: <10b924349f7547ccbd8830bd129a646a@intel.com> (raw)
In-Reply-To: <20210222182620.7817-1-qinx.sun@intel.com>

> Signed-off-by: sunqin <qinx.sun@intel.com>
> ---
>  tests/TestSuite_iavf_flexible_descriptor.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_iavf_flexible_descriptor.py
> b/tests/TestSuite_iavf_flexible_descriptor.py
> index 69f38bf6..58dd850a 100644
> --- a/tests/TestSuite_iavf_flexible_descriptor.py
> +++ b/tests/TestSuite_iavf_flexible_descriptor.py
> @@ -79,10 +79,11 @@ class TestIavfFlexibleDescriptor(TestCase,
> FlexibleRxdBase):
>              netdev.bind_driver(driver=self.kdriver)
>          # set vf assign method and vf driver
>          vf_driver = 'vfio-pci'
> +        pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
> +        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable
> on'.format(pf0_intf),'#')

Why add this setting ?

>          # generate 2 VFs on PF
>          self.dut.generate_sriov_vfs_by_port(
>              used_dut_port, 1, driver=self.kdriver)
> -        pf0_intf = self.dut.ports_info[self.dut_ports[dut_index]]['intf']
>          vf_mac = "00:11:22:33:44:55"
>          self.dut.send_expect(
>              'ip link set {} vf 0 mac {}'.format(pf0_intf, vf_mac), '#')
> --
> 2.17.1


      parent reply	other threads:[~2021-03-02  1:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 18:26 sunqin
2021-02-22 10:02 ` Sun, QinX
2021-02-22 10:16   ` Zhao, HaiyangX
2021-03-02  1:28 ` Tu, Lijuan [this message]

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=10b924349f7547ccbd8830bd129a646a@intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=qinx.sun@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).