From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1 8/9] tests/kernelpf_iavf: update case code for driver change
Date: Wed, 20 Oct 2021 16:18:52 +0800 [thread overview]
Message-ID: <1634717932-226147-1-git-send-email-songx.jiale@intel.com> (raw)
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 6a858fc..7b3d891 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -140,6 +140,8 @@ class TestKernelpfIavf(TestCase):
# bind to default driver
self.bind_nic_driver(self.dut_ports, driver="")
self.used_dut_port = self.dut_ports[0]
+ if self.nic.startswith('columbiaville'):
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.host_intf, "# ")
self.dut.generate_sriov_vfs_by_port(
self.used_dut_port, 1, driver=driver)
self.sriov_vfs_port = self.dut.ports_info[
@@ -1036,3 +1038,5 @@ class TestKernelpfIavf(TestCase):
if self.env_done:
self.destroy_vm_env()
+ if self.nic.startswith('columbiaville'):
+ self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.host_intf, "# ")
--
2.17.1
next reply other threads:[~2021-10-20 8:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 8:18 Jiale Song [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-20 8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: " Jiale Song
2021-10-20 8:07 ` [dts] [PATCH V1 8/9] tests/kernelpf_iavf: " Jiale Song
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=1634717932-226147-1-git-send-email-songx.jiale@intel.com \
--to=songx.jiale@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).