From: sunqin <qinx.sun@intel.com>
To: dts@dpdk.org
Cc: sunqin <qinx.sun@intel.com>
Subject: [dts] [PATCH V1] tests/iavf_flexible_descriptor: add private flag for vf vlan
Date: Mon, 22 Feb 2021 18:26:20 +0000 [thread overview]
Message-ID: <20210222182620.7817-1-qinx.sun@intel.com> (raw)
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),'#')
# 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
next reply other threads:[~2021-02-22 9:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-22 18:26 sunqin [this message]
2021-02-22 10:02 ` Sun, QinX
2021-02-22 10:16 ` Zhao, HaiyangX
2021-03-02 1:28 ` Tu, Lijuan
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=20210222182620.7817-1-qinx.sun@intel.com \
--to=qinx.sun@intel.com \
--cc=dts@dpdk.org \
/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).