test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command
  2021-03-04 16:42 [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command xiewei
@ 2021-03-04  8:18 ` Xie, WeiX
  2021-03-10  5:58 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2021-03-04  8:18 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

> -----Original Message-----
> From: Xie, WeiX
> Sent: Friday, March 5, 2021 12:42 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [PATCH V1] tests/sriov_kvm: replace legacy filter command

Tested-by: Xie Wei <weix.xie@intel.com>

[-- Attachment #2: TestSriovKvm.log --]
[-- Type: application/octet-stream, Size: 51038 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command
@ 2021-03-04 16:42 xiewei
  2021-03-04  8:18 ` Xie, WeiX
  2021-03-10  5:58 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: xiewei @ 2021-03-04 16:42 UTC (permalink / raw)
  To: dts; +Cc: xiewei

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command
  2021-03-04 16:42 [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command xiewei
  2021-03-04  8:18 ` Xie, WeiX
@ 2021-03-10  5:58 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-03-10  5:58 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

> replace legacy filter cmd with generic flow cmd.
> 
> Signed-off-by: xiewei <weix.xie@intel.com>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-10  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 16:42 [dts] [PATCH V1] tests/sriov_kvm: replace legacy filter command xiewei
2021-03-04  8:18 ` Xie, WeiX
2021-03-10  5:58 ` Tu, Lijuan

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).