From: Weiyuan Li <weiyuanx.li@intel.com>
To: dts@dpdk.org
Cc: Weiyuan Li <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1 1/2] test_plans/kernelpf_iavf: remove duplicate cases
Date: Wed, 4 Jan 2023 16:32:37 +0800 [thread overview]
Message-ID: <20230104083238.13296-1-weiyuanx.li@intel.com> (raw)
Case kernelpf_iavf/vf_mac_filter and vf_macfilter/kernel_2pf_2vf_1vm_mac_add_filter duplicate remove this test case from kernelpf_iavf.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
test_plans/kernelpf_iavf_test_plan.rst | 54 --------------------------
1 file changed, 54 deletions(-)
diff --git a/test_plans/kernelpf_iavf_test_plan.rst b/test_plans/kernelpf_iavf_test_plan.rst
index c26aebd4..7af79f1b 100644
--- a/test_plans/kernelpf_iavf_test_plan.rst
+++ b/test_plans/kernelpf_iavf_test_plan.rst
@@ -69,60 +69,6 @@ Set txonly forward, start testpmd
Check tester could receive the packets from application generated
-
-Test case: VF MAC filter
-========================
-Disable promisc mode, add a new MAC to VF0 and then start testpmd::
-
- testpmd> set promisc all off
- testpmd> mac_addr add 0 00:11:22:33:44:55
- testpmd> set fwd mac
- testpmd> start
-
-Use scapy to send 100 random packets with current VF0's MAC, verify the
-packets can be received and forwarded by the VF::
-
- p=Ether(dst="00:01:23:45:67:89")/IP()/Raw(load='X'*30)
-
-Use scapy to send 100 random packets with new added VF0's MAC, verify the
-packets can be received and forwarded by the VF::
-
- p=Ether(dst="00:11:22:33:44:55")/IP()/Raw(load='X'*30)
-
-Use scapy to send 100 random packets with a wrong MAC to VF0, verify the
-packets can't be received by the VF.
-
-Remove the MAC 00:11:22:33:44:55::
-
- testpmd> mac_addr remove 0 00:11:22:33:44:55
-
-Use scapy to send 100 random packets with removed VF0's MAC, verify the
-packets can't be received and forwarded by the VF::
-
- p=Ether(dst="00:11:22:33:44:55")/IP()/Raw(load='X'*30)
-
-Set the default mac address to other mac, check the mac address has be changed
-to new set mac::
-
- testpmd> mac_addr set 0 00:01:23:45:67:11
- testpmd> show port info 0
-
-Use scapy to send 100 random packets with original VF0's MAC, verify the
-packets can't be received and forwarded by the VF::
-
- p=Ether(dst="00:01:23:45:67:89")/IP()/Raw(load='X'*30)
-
-Use scapy to send 100 random packets with new set VF0's MAC, verify the
-packets can be received and forwarded by the VF::
-
- p=Ether(dst="00:01:23:45:67:11")/IP()/Raw(load='X'*30)
-
-Reset to original mac address
-
-Note::
- Not set VF MAC from kernel PF for this case, if set, will print
- "not permitted error" when add new MAC for VF.
-
Test case: VF promisc
=====================
Enable kernel trust mode::
--
2.27.0
next reply other threads:[~2023-01-04 8:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 8:32 Weiyuan Li [this message]
2023-01-04 8:32 ` [dts][PATCH V1 2/2] tests/kernelpf_iavf: " Weiyuan Li
2023-01-05 14:28 ` lijuan.tu
2023-01-06 2:12 ` Peng, Yuan
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=20230104083238.13296-1-weiyuanx.li@intel.com \
--to=weiyuanx.li@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).