* [dts] [PATCH V1 1/2] tests/vf_pf_reset: modify case to support ice nic
@ 2022-08-01 15:40 Jiale Song
2022-08-01 15:40 ` [dts] [PATCH V1 2/2] test_plans/vf_pf_reset: " Jiale Song
0 siblings, 1 reply; 3+ messages in thread
From: Jiale Song @ 2022-08-01 15:40 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
ice nic support test_vlan_tx_restore, need turn off spoofchk.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
conf/test_case_checklist.json | 3 +--
tests/TestSuite_vf_pf_reset.py | 8 +++++++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json
index 5d166cb2..f4e53236 100644
--- a/conf/test_case_checklist.json
+++ b/conf/test_case_checklist.json
@@ -3768,8 +3768,7 @@
"ALL"
],
"NIC": [
- "ICE_25G-E810C_SFP",
- "ICE_100G-E810C_QSFP"
+ ""
],
"Target": [
"ALL"
diff --git a/tests/TestSuite_vf_pf_reset.py b/tests/TestSuite_vf_pf_reset.py
index 424ce56c..6a9b5969 100644
--- a/tests/TestSuite_vf_pf_reset.py
+++ b/tests/TestSuite_vf_pf_reset.py
@@ -201,7 +201,8 @@ class TestVfPfReset(TestCase):
tx_port="",
vm=False,
):
- inst = self.tester.tcpdump_sniff_packets(tester_intf)
+ filter = [{"layer": "ether", "config": {"dst": "not ff:ff:ff:ff:ff:ff"}}]
+ inst = self.tester.tcpdump_sniff_packets(tester_intf, filters=filter)
if vlan:
out = self.send_packet(
vf_mac, num=count, vlan_id=vlan, tx_port=tx_port, vm=vm
@@ -946,6 +947,11 @@ class TestVfPfReset(TestCase):
"""
vlan tx restore
"""
+ # ice nic need set tx vf spoofchk off
+ if self.kdriver == "ice":
+ self.dut.send_expect(
+ "ip link set dev {} vf 1 spoofchk off".format(self.host_intf_0), "# "
+ )
# Set mac
self.ip_link_set(
host_intf=self.host_intf_0,
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1 2/2] test_plans/vf_pf_reset: modify case to support ice nic
2022-08-01 15:40 [dts] [PATCH V1 1/2] tests/vf_pf_reset: modify case to support ice nic Jiale Song
@ 2022-08-01 15:40 ` Jiale Song
2022-08-25 3:56 ` lijuan.tu
0 siblings, 1 reply; 3+ messages in thread
From: Jiale Song @ 2022-08-01 15:40 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
ice nic support test_vlan_tx_restore, need turn off spoofchk.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/vf_pf_reset_test_plan.rst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test_plans/vf_pf_reset_test_plan.rst b/test_plans/vf_pf_reset_test_plan.rst
index 31ca7238..35fdc149 100644
--- a/test_plans/vf_pf_reset_test_plan.rst
+++ b/test_plans/vf_pf_reset_test_plan.rst
@@ -396,6 +396,10 @@ Test Case 6: vlan rx restore -- create one vf on each pf
Test Case 7: vlan tx restore
============================
+.. note::
+
+ ice nic need set dut tx vf port spoofchk off: ip link set dev {pf_interface} vf {tx_vf} spoofchk off
+
1. Execute the step1-step3 of test case 1
2. Run testpmd::
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1 2/2] test_plans/vf_pf_reset: modify case to support ice nic
2022-08-01 15:40 ` [dts] [PATCH V1 2/2] test_plans/vf_pf_reset: " Jiale Song
@ 2022-08-25 3:56 ` lijuan.tu
0 siblings, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-08-25 3:56 UTC (permalink / raw)
To: dts, Jiale Song; +Cc: Jiale Song
On Mon, 1 Aug 2022 15:40:53 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> ice nic support test_vlan_tx_restore, need turn off spoofchk.
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-25 3:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 15:40 [dts] [PATCH V1 1/2] tests/vf_pf_reset: modify case to support ice nic Jiale Song
2022-08-01 15:40 ` [dts] [PATCH V1 2/2] test_plans/vf_pf_reset: " Jiale Song
2022-08-25 3:56 ` lijuan.tu
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).