From: xiewei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: xiewei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command
Date: Fri, 5 Mar 2021 00:42:18 +0800 [thread overview]
Message-ID: <20210304164218.2874-1-weix.xie@intel.com> (raw)
replace legacy filter cmd with generic flow cmd.
Signed-off-by: xiewei <weix.xie@intel.com>
---
tests/TestSuite_sriov_kvm.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
index 79a10f81..1a0e3a53 100644
--- a/tests/TestSuite_sriov_kvm.py
+++ b/tests/TestSuite_sriov_kvm.py
@@ -933,10 +933,7 @@ class TestSriovKvm(TestCase):
self.setup_2vm_prerequisite_flag = 0
for vf_mac in ["00:11:22:33:44:55", "00:55:44:33:22:11"]:
- if self.nic.startswith('niantic') or self.nic.startswith('sage'):
- set_mac_cmd = "mac_addr add port %d vf %d %s"
- elif self.nic.startswith('fortville') or self.nic.startswith('fortpark') or self.nic.startswith('carlsville'):
- set_mac_cmd = "set port %d vf %d %s exact-mac-vlan on"
+ set_mac_cmd = "mac_addr add port %d vf %d %s"
self.host_testpmd.execute_cmd(set_mac_cmd % (port_id_0, vf_num, vf_mac))
vm0_start_stats = self.vm0_testpmd.get_pmd_stats(port_id_0)
--
2.17.1
next reply other threads:[~2021-03-04 8:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 16:42 xiewei [this message]
2021-03-04 8:18 ` Xie, WeiX
2021-03-10 5:58 ` 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=20210304164218.2874-1-weix.xie@intel.com \
--to=weix.xie@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).