test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V1 4/9] tests/cvl_dcf_switch_filter: update case code for driver change
Date: Wed, 20 Oct 2021 16:06:56 +0800	[thread overview]
Message-ID: <1634717221-221075-4-git-send-email-songx.jiale@intel.com> (raw)
In-Reply-To: <1634717221-221075-1-git-send-email-songx.jiale@intel.com>

Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
 tests/TestSuite_cvl_dcf_switch_filter.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/TestSuite_cvl_dcf_switch_filter.py b/tests/TestSuite_cvl_dcf_switch_filter.py
index a73db42..fa028a4 100755
--- a/tests/TestSuite_cvl_dcf_switch_filter.py
+++ b/tests/TestSuite_cvl_dcf_switch_filter.py
@@ -1044,7 +1044,7 @@ class CVLDCFSwitchFilterTest(TestCase):
         #get PF interface name
         self.pf0_intf = self.dut.ports_info[self.used_dut_port_0]['intf']
         out = self.dut.send_expect('ethtool -i %s' % self.pf0_intf, '#')
-        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable on'.format(self.pf0_intf), '#')
+        self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.pf0_intf, "# ")
         #generate 4 VFs on PF
         self.dut.generate_sriov_vfs_by_port(self.used_dut_port_0, 4, driver=driver)
         self.sriov_vfs_port_0 = self.dut.ports_info[self.used_dut_port_0]['vfs_port']
@@ -1881,5 +1881,4 @@ class CVLDCFSwitchFilterTest(TestCase):
         """
         Run after each test suite.
         """
-        self.dut.send_expect('ethtool --set-priv-flags {} vf-vlan-prune-disable off'.format(self.pf0_intf), '#')
         self.dut.kill_all()
-- 
2.17.1


  parent reply	other threads:[~2021-10-20  7:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-20  8:06 [dts] [PATCH V1 1/9] tests/cvl_dcf_flow_priority: " Jiale Song
2021-10-20  8:06 ` [dts] [PATCH V1 2/9] tests/cvl_qinq: " Jiale Song
2021-10-20  8:06 ` [dts] [PATCH V1 3/9] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: " Jiale Song
2021-10-20  8:06 ` Jiale Song [this message]
2021-10-20  8:06 ` [dts] [PATCH V1 5/9] tests/cvl_dcf_switch_filter_pppoe: " Jiale Song
2021-10-20  8:06 ` [dts] [PATCH V1 6/9] tests/cvl_vf_support_multicast_address: " Jiale Song
2021-10-20  8:06 ` [dts] [PATCH V1 7/9] tests/iavf_flexible_descriptor: " Jiale Song
2021-10-20  8:07 ` [dts] [PATCH V1 8/9] tests/kernelpf_iavf: " Jiale Song
2021-10-20  8:07 ` [dts] [PATCH V1 9/9] tests/l2tp_esp_coverage: " Jiale Song
2021-10-25  9:09   ` 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=1634717221-221075-4-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).